error in this tutorial : javaboutique.internet.com/tutorials/Struts


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: error in this tutorial : javaboutique.internet.com/tutorials/Struts

  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?

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center