I believe you have to map a .do in the web server as well. When you move to
servlet 2.2/jsp 1.1, the servlet 2.2 container accepts a WAR file (or web
dir structured like one) that contains web.xml in it. In web.xml you can
configure your mappings there.


> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Steve Croft
> Sent: Monday, June 05, 2000 11:10 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Model 2 - POST from HTML form to Servlet
>
>
> How do you do map "*.do" in iWS?  I tried using "Configure Servlet Virtual
> Path Translation" and it didn't seem to work...  is it done
> through entries
> in obj.conf?
>
> Thanks for any help,
> Steve
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, June 02, 2000 10:03 AM
> Subject: Re: Model 2 - POST from HTML form to Servlet
>
>
> > I can't post from an HTML form to my controller servlet. I get the
> > error "Not Found - The requested URL "/myApp/search.do" was not found
> > on this server.
> >
> > I am using JRun2.3.3 and Apache Web Server (JSP1.0/Servlet2.1) and
> > created a suffix mapping of "*.do" for "myServlet" in JRun. I have no
> > problem forwarding to myServlet using <jsp:forward
> > page="/myApp/search.do" />. However, when I try posting to the servlet
> > using <FORM METHOD="POST" ACTION="/myApp/search.do">, I get an error. I
> > spent some time in the archives and found tons of info on forwarding in
> > Model 2, but nothing on this issue. This leads me to think I am missing
> > something simple. Has anyone encountered this?
> >
> > I appreciate any input.
> > Rich
> >
> >
> >
> > This message contains confidential information and is intended only
> > for the individual named.  If you are not the named addressee you
> > should not disseminate, distribute or copy this e-mail.  Please
> > notify the sender immediately by e-mail if you have received this
> > e-mail by mistake and delete this e-mail from your system.
> >
> > E-mail transmission cannot be guaranteed to be secure or error-free
> > as information could be intercepted, corrupted, lost, destroyed,
> > arrive late or incomplete, or contain viruses.  The sender therefore
> > does not accept liability for any errors or omissions in the contents
> > of this message which arise as a result of e-mail transmission.  If
> > verification is required please request a hard-copy version.  This
> > message is provided for informational purposes and should not be
> > construed as a solicitation or offer to buy or sell any securities or
> > related financial instruments.
> >
> >
> ==================================================================
> =========
> > 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
>
> ==================================================================
> =========
> 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
>

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

Reply via email to