I'm not an expert, but considering that JSPs are basically servlets, I'm
pretty sure you should find a solution, to satisfy your requirement, by
configuring the JSP equivalent  of  a <servlet-mapping> in the web.xml of
your application.

On 5/31/06, Sumeet Keswani <[EMAIL PROTECTED]> wrote:


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to