Perfect.
This worked.

Thanks
sumeet 


-----Original Message-----
From: Tamilselvan R [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 31, 2006 12:43 AM
To: Tomcat Users List
Subject: Re: How can I create/configure a jsp servlet without a .jsp
extension

Hi Sumeet Keswani,
                                We can configure the JSP files in
web.xml as
like we do for servlets.
Syntax is explained in the following link

http://edocs.bea.com/wls/docs70/webapp/components.html#145275

Hope this solves your problem. :)



On 5/31/06, Giorgio Clavelli <[EMAIL PROTECTED]> wrote:
>
> 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]
> >
> >
>
>


-- 
Regards
Tamilselvan R
More About Me
http://www.freewebs.com/tamilselvan_guru

---------------------------------------------------------------------
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