logo       

Re: Velocity Struts tool examples: msg#00152

jakarta.velocity.user

Subject: Re: Velocity Struts tool examples

Padmanabha said:
> I was trying to get the examples working for velocity-struts tool
> subproject. I am not finding the address1.do address2.do (all .do
files).
> I couldn't find instructions to generate them as well. I would
appreciate
> if any one can shed some light on this problem.

how are you deploying the application? after you've checked out the
project, you should be able to run the example.struts target. that
will create a velstruts.war file in the examples directory. you
should be able to just copy that file into Tomcat's webapp directory
(or whatever is comparable for your application server), point your
browser to http://localhost:8080/velstruts/ and have it "just work."

further, there actually are no "*.do" files. ".do" is mapped in the
web.xml to Struts' ActionServlet which will then forward the request
to the action class specified for that mapping "address1" or
"address2" in the struts-config.xml. That's simply how Struts works.

Nathan Bubna


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise