Hi,

I'm sure this is easy:

I'm using the JSWDK 1.0 from Sun. Is there a way to map all HTTP posts or gets
within a web application to one JSP (i.e. main.jsp). I could just specify
main.jsp in the action of the form in each JSP, but then I can't do anything
with the URI.

I've put main.jsp in the servlets directory (after all, it is basically a
servlet) and I've tried amending the properties file with the following, but
none seem to work:
     /main = main.jsp
     /main/* = main.jsp

The action in the form is
     /servlet/main/newLogin.

Each time I get 404 - file found.

Any help would be greatly appreciated.

Patrick.

Tertio Limited  -  One Angel Square,   Torrens Street,   London  EC1V 1NY
Tel: +44 (0)171 843 4000 Fax: +44 (0)171 843 4001 Web http://www.tertio.com
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of Tertio Ltd.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to