tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sumeet Keswani" <Sumeet_Kesw...@symantec.com>
Subject How can I create/configure a jsp servlet without a .jsp extension
Date Wed, 31 May 2006 03:45:45 GMT

This is a very simple question and i hope someone can give me a answer.
 
I have a file called search.jsp that does some trivial search through a
database.

I want it to be accessible as follows
http://www.domain.com/search?LookForThis  

Currently I have it working like
http://www.domain.com/search.jsp?LookForThis  

However getting rid of the .jsp extension is critical.
 
Is there a specific configuration that will make it work

Note: the closest i got was create a new dir called search and renaming
search.jsp to index.jsp. unfortunately this does not really work for me,
use of the slash breaks the client accessing this URL
http://www.domain.com/search/?LookForThis 
 
thanks


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message