I have a question about the velstruts.war file. I found the file an
deployed it. I looked at the source files and the velocity templates.
The only thing I can't find is where they define the stuff like "title"
or "intro" from the first application template. If someone could tell
me where that is located that would be great. If it exists.
Paul
Shinobu Kawai wrote:
Hi Paul,
I am using Struts 1.1 and Velocity tools 1.1
OK, that part's good.
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.
According to your original post, you haven't defined "InfoAction" in
your struts-config.xml. Check out the Struts user guide on how do add
new actions.
http://struts.apache.org/userGuide/index.html
Also you might want to check out the velstruts.war for an example of
how you can use Struts and Velocity together.
Best regards,
-- Shinobu
--
Shinobu Kawai <[EMAIL PROTECTED]>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]