File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
PostGIS in Action
this week in the
JDBC and Relational Databases
Java Advanced Topics Training
Java in General
Problem using Struts
Joined: Apr 03, 2004
Jul 20, 2006 00:49:00
I have been battling with
since yesterday and I've deprived myself of sleep. Its now morning and the sun is shining but my problem persists.
How do you configure Apache
5.5.9 to use Struts 1.2.9?
I have downloaded the zip, no jar files, everything in the folder is in XML format. Can someone put me out my ~@#;'#;
Joined: Mar 22, 2005
Jul 20, 2006 01:26:00
The Struts binary download contains several war files in its webapps directory. For starters, put struts-documentation.war and struts-examples.war in the webapps directory of your Tomcat installation. Tomcat should then unpack those automatically, after which you can access
The download also contains the Struts jar files in the "lib" directory; which file did you download? Be sure to grab the binary version, not the source version.
[ July 20, 2006: Message edited by: Ulf Dittmer ]
Joined: Feb 15, 2005
Jul 20, 2006 09:33:00
If you use an IDE such as MyEclipse or NetBeans, check the documentation -- there is a wizard that will automatically set up a Struts application with everything in place.
If you're not using an IDE, unpack the struts-blank.war file that comes with the struts download and use that as a template for your application.
Once you're ready to deploy, it's just a matter of re-packing the war file and moving it to the appropriate directory in Tomcat.
Joined: Apr 03, 2004
Jul 21, 2006 18:46:00
Thanks for your responses, I was finally able to fix it. I want to learn more about Struts, do you know any book that might be of help?
<action-mappings> <!-- Default "Welcome" action --> <!-- Forwards to Welcome.jsp --> <action path="/Welcome" forward="/pages/Welcome.jsp"/> <action path="/DoSomething" [B]// type="com.test.DoSomething.Action" my error[/B] type="com.test.DoSomethingAction" name="useForm" scope="request" validate="true" input="/form.html"> <forward name="show_progress" path="/progress.jsp"/> </action> </action-mappings>
[ July 21, 2006: Message edited by: C. Magmanum ]
[ January 14, 2008: Message edited by: C. Magmanum ]
Joined: Apr 25, 2005
Jul 21, 2006 20:21:00
This could be good book for starting the things
[Struts Survival Guide]
Asking Smart Questions FAQ
How To Put Your Code In Code Tags
I agree. Here's the link:
subject: Problem using Struts
Unable to load tag handler class !!
Struts Error in WebSphere
connecting database through struts
The action name cannot be the same as the action suffix [Action]
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015