This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 application on Linux ( Ubuntu 11.x) platform through command prompt

 
Takshay Patel
Greenhorn
Posts: 4
Java Notepad Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I am bit familiar to JAVA and i am trying to Develop Struts 2.0 application on the linux (ubuntu) platform through command prompt. I am finding problem in providing the lib path to the struts 2.0 application. As i had already developed a demo application with JSP and servlet using the same tomcat 6.0 and it works fine that mean my "CLASSPATH" variable works properly i.e. "/usr/local/tomcat/lib". But where to put the struts-core-x.x.jar file so that i can compile my java files.

If any one has step by step guide for struts 2.0 application on linux can please provide.

Thanks in advance.
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WEB-INF/lib
 
Takshay Patel
Greenhorn
Posts: 4
Java Notepad Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had already set /WEB-INF/lib path but still i am not getting reference for the ActionSupport class. I had also tried javac -cp /lib/* file.java to compile my classes but want be able to do that. if you had tried to run struts 2.0 application on linux then please guide me as i am the victim of using IDE and now i dont want to use IDE and develop application using command prompt but not getting it ...even i dont get this in any of the books..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic