File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts 2 application on Linux ( Ubuntu 11.x) platform through command prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 application on Linux ( Ubuntu 11.x) platform through command prompt" Watch "Struts 2 application on Linux ( Ubuntu 11.x) platform through command prompt" New topic
Author

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

Takshay Patel
Greenhorn

Joined: Nov 08, 2011
Posts: 4

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

Joined: Aug 01, 2007
Posts: 485

WEB-INF/lib


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Takshay Patel
Greenhorn

Joined: Nov 08, 2011
Posts: 4

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..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts 2 application on Linux ( Ubuntu 11.x) platform through command prompt
 
Similar Threads
WSCompile error
Open a command prompt using Runtime.getRuntime().exec() and run a jar file
compiling ActionForm,ActionClass from command prompt,
weblogic.Deployer (Windows to Linux)
Cannot link to session EJB on Windows