Well, it was simple - I didn't restart apache after making the mapping
changes in JRun.
It is now working fine after restarting apache.

-----Original Message-----
From: Richard Cammarano
Sent: Friday, June 02, 2000 1:04 PM
To: Richard Cammarano; JSP-INTEREST
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


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

Reply via email to