DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2003
    Posts
    3

    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

  2. #2
    Join Date
    Mar 2003
    Posts
    834
    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:-)

  3. #3
    Join Date
    Oct 2003
    Posts
    3
    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?

  4. #4
    Join Date
    Oct 2003
    Posts
    3
    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?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links