Hi,
>Not at all.
>
>The mappings you list in web.xml are attempted in the order
>defined in the servlet
>api spec, section 10.1 -- basically, that means trying things in
>the following
>order. In all cases, the string being tested is that portion of
>the request URI
>that follows the context path.
>
>(1) exact match to a <url-pattern> string
> that does not have any "*" characters.
>
>(2) longest prefix matching against any
> <url-pattern> string that ends in "/*".
>
>(3) Extension matching against any
> <url-pattern> string that ends in "*.xxx"
> (like *.jsp).
>
>(4) Serve via the default servlet for this
> web application.
Thanks Craig. That did inform me more than I had hoped! ;)
When you get time...do you use getServletPath() or getRequestURI() to get
your action from a form action=""? In either case, what is the difference?
Lastly, is there a way to ALWAYS get the actual page the from is on, so that
I can forward back to that page? Right now I use getRequestURI() and it
return the /uri.do pattern, instead of the file. It does return the full
path information as to where the file is actually stored on the server, but
it doesn't return the jsp file name itself.
Thanks.
P.S. Yeah..that is neat. I have seen the "default" servlet called invoker
and mapped to /servlet/. Kewl tip.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets