You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Tom Kat <to...@yahoo.com> on 2000/03/14 01:54:03 UTC

what is "jserv-servlet" in httpd.conf

>>>#################### All jsp files will go to
tomcat >>>####################
>>>#ApJServMount default /root
>>>ApJServMount default C:/test/

>>>AddType test/jsp .jsp
>>>AddHandler jserv-servlet .jsp

IN the above configuration what is "jserv-servlet".
Where can I find this handler?

When i try to invoke .jsp from Apache, it gives
"Internal Server Error" 

PLease help.

Thanks
--Tom Kat.
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Re: what is "jserv-servlet" in httpd.conf

Posted by Gal Shachor <sh...@il.ibm.com>.

> 
> >>>#################### All jsp files will go to
> tomcat >>>####################
> >>>#ApJServMount default /root
> >>>ApJServMount default C:/test/
> 

Why did you comment the 
#ApJServMount default /root
and placed ApJServMount default C:/test/ ?

You should keep the ApJServMount default /root

> >>>AddType test/jsp .jsp
> >>>AddHandler jserv-servlet .jsp
> 
> IN the above configuration what is "jserv-servlet".
> Where can I find this handler?
> 
Each apache module can export handlers, handlers are function that can
serve a certain request (say, execute a servlet/CGI or return a page).

mod_jserv is the one exporting a handler named "jserv-servlet".

Look into tomcat.conf for a sample apache configuration.

> When i try to invoke .jsp from Apache, it gives
> "Internal Server Error"
> 

And what happens when you try to invoke a servlet? So far this is
probably due to the ApJServMount default C:/test/ that you have.

	Gal Shachor