Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting classpath

 
rajaraman navaneethan
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 34378
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
rajaraman navaneethan
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic