-
error in this tutorial : javaboutique.internet.com/tutorials/Struts
javaboutique.internet.com/tutorials/Struts
hi! this is my first time programming in struts. i've read the tutorial and followed everything in it but when i try to compile my 2 classes...one of them generates an error message :
symbol : class SubmitForm
location: class hansen.playground.SubmitAction
SubmitForm f = (SubmitForm) form; // get the form bean
^
SubmitAction.java:13: cannot resolve symbol
symbol : class SubmitForm
location: class hansen.playground.SubmitAction
SubmitForm f = (SubmitForm) form; // get the form bean
^
2 errors
what did i do wrong? pls help
-
Have you managed to get any of the struts code to work so far? Have you downloaded the struts framework? Have you updated your CLASSPATH?
ArchAngel.
O:-)
-
this is my classpath :
export CLASSPATH=/usr/java/j2sdk1.4.2/jre/lib/rt.jar:/usr/java/j2sdk1.4.2/lib/tools.jar:/usr/local/jakarta-tomcat-4.1.24-LE-jdk14/common/lib/servlet.jar:/root/jakarta-struts/lib/struts.jar
as for getting the struts code to work so far, i don't get what u exactly mean but i followed everything written in the tutorial.
i downloaded and the edited struts-blank, created my own project.
so can u help me pls?
-
pls disregard my previous problems because it is already working.
my problem now is that in the submit.do page this error appears (see below):
No action instance for path /submit could be created
can anybody tell what this has to do with my code?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks