This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes setting classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "setting classpath" Watch "setting classpath" New topic
Author

setting classpath

rajaraman navaneethan
Ranch Hand

Joined: Feb 26, 2005
Posts: 86
hi friends,
I am very new to struts.i have just started to develop my first app using struts.i am not able to compile the form and action.i get the error that the package org.apache.struts.action.*, does not exist.
please guide me as how i should set the class path to compile the form and action.also give me a link which wud guide me to build the properties file.

regards,
Raja
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Raja,
If you are compiling at the command line, you can use the -cp option of javac. If you are using an IDE, post which one.

I'm not sure what you mean by build the properties file.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
rajaraman navaneethan
Ranch Hand

Joined: Feb 26, 2005
Posts: 86
hi Jeanne,
thanks for your reply.i have compiled my classes now.i meant the Message Resource Bundle by Properties file,where the declarations for the errors are given.
please guide me as how i should deploy my application.i am not using any IDE.i am using only notepad.
i had zipped my app folder to create a WAR and dropped it in the webapps folder of Tomcat,but i get the error HTTP 404-Resource not found.
please guide me as how i shud deploy the app.

regards,
Raja
 
 
subject: setting classpath