I am using Struts 1.1 and  Velocity tools 1.1

In my Velocity document I am setting my URL like this:

<form action="InfoAction.do" method="post">
. . .
</form>

InfoAction is the Servlet that performs the Actions on the buttons.

My webaddress comes out to be /PersonalInfo/InfoAction.do I get a 404 error page that says that Servlet action not available.

Paul

Shinobu Kawai wrote:

Hi Paul,

Here it is,  I am developing a small program  that utilizes Struts, Java
and Apache Velocity Templates.  I am trying to move from one page to
another via struts.  Every time I try to move to another page I get a
404 Error in Tomcat.  Here is my struts-conf.xml file as well as my
web.xml file.  Could someone please tell me what is wrng with it.

How are you setting the URL in your template?  The output is likely an
invalid URL.  What does the URL in your output page look like?

Also, what versions of Struts and VelocityTools are you using?  For
Struts 1.2, you should use VelocityTools 1.2, which is still under
development.  You can get nightly snapshots here:
 http://cvs.apache.org/snapshots/velocity-tools/

Best regards,
-- Shinobu

--
Shinobu Kawai <[EMAIL PROTECTED]>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to