File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Trying to Learn Struts:  Errors Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Trying to Learn Struts:  Errors" Watch "Trying to Learn Struts:  Errors" New topic
Author

Trying to Learn Struts: Errors

Gregg Bolinger
Ranch Hand

Joined: Jul 11, 2001
Posts: 15230

Ok, this is going to be a very long post because I am trying to do a simple struts example found here and I am getting an error.
System:
Windows XP
Tomcat 4.1
Struts 1.0
So I will begin with some code.
web.xml

struts-config.xml

PgInput.jsp

PgDisplay.jsp

Ok, that is what I feel the relevent code for my problem. I have the code for the beans if anyone wants to see them, but they are exactly what is on the PDF I posted above.
I have the following directory structure

Files
strutsexample-strutsexample.properties, web.xml, struts-config.xml, PgDisplay.jsp, PgInput.jsp
WEB-INF - struts-template.tld, struts-logic.tld, struts-bean.tld, struts-html.tld, struts.tld, struts-form.tld
classes - My java class files
lib - struts.jar
And finally the error message

Ok, I hope that someone can point out what I did wrong.
[ May 27, 2003: Message edited by: Gregg Bolinger ]
[ May 27, 2003: Message edited by: Gregg Bolinger ]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Trying to Learn Struts: Errors
 
Similar Threads
Error using messages in Struts
Changes in Taglibs when tomcat is migrated from 3.22 to 4.1
LogonView.jsp Displays A Blank Page
JasperException: Cannot retrieve mapping for action /
Exception creating bean of class