Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Servlet as Welcome File doesn't work

SH Solutions

2003-12-01

Replies:

Hello.

I'm using tomcat 4.1.29 on debian and I have the following problem:
I need to get "/" handled by my Servlet "myPackage.Root", but I do not want
to change the mapping of ordinary files.
Just as a welcome file would, but welcome-file does not apply to servlets,
right?

My solutions so far is to map "/" to my servlet an map any other folder with
distinct context's, what surely is'nt what it was meant to be.

I did search the web and the usenet for a long time, since I assumed not to
be the first to run into this problem. But I didn't find anything.
Be aware that I did not enable the jsp-servlet, since I am not using jsps at
all.

If anyone can help me, I would appreciate it very much.

Thanks,

Steffen


PS: No native English speaker here - sorry.


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.