Two Laptop Bag*
The moose likes Struts and the fly likes HI Friends Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "HI Friends" Watch "HI Friends" New topic
Author

HI Friends

sanil sanil
Greenhorn

Joined: Feb 26, 2004
Posts: 1
I am not able to compile Java file ...
I am just a beginner in sturts ... Please let me know why this error is happening ...
i've set the classpath
C:\opt\tomcat\webapps\mom\WEB-INF\classes>SET CLASSPATH=%CLASSPATH%;E:\jakarta-s
truts-1.1\jakarta-struts-1.1\lib\struts.jar;
C:\opt\tomcat\webapps\mom\WEB-INF\classes>javac *.java
SubmitForm.java:6: cannot resolve symbol
symbol : class ActionForm
location: class hansen.playground.SubmitForm
public final class SubmitForm extends ActionForm {
^
1 error

Kindly Reply me at sandoo4925@hotmail.com
Billybob Marshall
Ranch Hand

Joined: Jan 27, 2004
Posts: 202
And did you remember to:
import [package].ActionForm;
?

Kindly Reply me at sandoo4925@hotmail.com

No, that's not the way it's done.
[ February 26, 2004: Message edited by: Billybob Marshall ]
 
Consider Paul's rocket mass heater.
 
subject: HI Friends
 
Similar Threads
struts
Problem with LoginAction.java
problem with struts
compilation error
classpath setting rightly. But strange problem