tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JStanc...@vinu.edu
Subject RE: Servlet mappings?
Date Thu, 04 Sep 2003 04:25:35 GMT
Seems strange that there wouldn't be the option to do this. Is there any 
way to write your own default servlet?


Thank You,

Justin A. Stanczak
Web Manager
Shake Learning Resource Center
Vincennes University
(812)888-5813




"Mike Cherichetti \(Renegade Internet\)" <mike@renegadeinternet.com>
09/03/2003 08:11 PM
Please respond to "Tomcat Users List"

 
        To:     "Tomcat Users List" <tomcat-user@jakarta.apache.org>
        cc: 
        Subject:        RE: Servlet mappings?


I don't think this can be done with mappings.  You can put an index.jsp 
file
with only a forward/redirect call in it to transfer control to your 
servlet.
I've done this before, seems to work quite well.

Mike

-----Original Message-----
From: JStanczak@vinu.edu [mailto:JStanczak@vinu.edu]
Sent: Wednesday, September 03, 2003 8:55 PM
To: tomcat-user@jakarta.apache.org
Subject: Servlet mappings?


I have a web app with multiple servlets. I would like one of those
servlets to handle all requests to http://mywebserver/. Basically I want
it to do the same thing as the welcome-file in the web.xml. How can I do
this?


Thank You,

Justin A. Stanczak
Web Manager
Shake Learning Resource Center
Vincennes University
(812)888-5813




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message