• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

classpath for servlets and struts

 
Vickey singh Verma
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic