File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes classpath for servlets and struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "classpath for servlets and struts" Watch "classpath for servlets and struts" New topic
Author

classpath for servlets and struts

Vickey singh Verma
Greenhorn

Joined: Jul 11, 2008
Posts: 22
Hello dudes
Can some one tell me how to set class path permanently for compiling struts application.
It is really frustrating compiling web application with the class path again and again.
example:

and also how do I include the struts jar along with the above code.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12821
    
    5
Personally I use ANT for builds. There is a bit of a learning curve but once you get a build.xml file set up correctly for a project you no longer have to type long command lines.

Bill
Vickey singh Verma
Greenhorn

Joined: Jul 11, 2008
Posts: 22
Yes I know it is really easy to build application with help of development environment like Ant but I'm just getting started with Struts so wanted to have deep knowledge about it's working.
Fortunately I have found the solution.
You can include it as
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12821
    
    5
You will find that the command line approach gets very cumbersome as your skills advance and you start using more libraries.

Ant is NOT a development environment but build tool that gets used by development environments.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: classpath for servlets and struts