How to compile java source file in struts

Showing Answers 1 - 9 of 9 Answers

himadri.sg

  • Jan 18th, 2007
 

In struts, the .tld & .jar files are given. Now what youhave to write is xml, JSP, Servlet & Java Beans files out of which you haveto compile Servlets & Java Beans at their respective positions (orpackages) or you can compile outside and put the .class files to the particularpositions inside WEB-INF folder before creating the .war file. But if you areusing any IDE (like eclipse), it may compile the Java files automatically.

Hope it will help you out...

  Was this answer useful?  Yes

venkat SS

  • Jan 19th, 2007
 

Hi,

   it would be a better way to choose the eclipse IDE and add an ant build file which will do all compilation. It also helps to create a war, jar, ear file for future deployment.

  Was this answer useful?  Yes

Himadri Ganguly

  • Jan 20th, 2007
 

Yes,
I think venkat is true.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions