Interview Question: How do I install Struts?

By: Ash Printer Friendly Format    

Question:How do I install Struts?

Answer:

To develop applications with Struts, you can usually just add the Struts JAR file to your Java development environment. You can then start using the Struts classes as part of your own application. A blank Struts application (in the webapps directory, open struts-blank.war) is provided, which you can just copy to get a quick-start on your own brainchild.

Since the full source code for Struts is available, we also provide complete instructions for compiling your own Struts JAR from scratch. (This is actually easier than it looks!) Your Struts application can usually be deployed using a standard WAR file. In most cases, you simply deposit the WAR file on your application server, and it is installed automatically. If not, step-by-step installation instructions for various servlet containers are available.

 

 

 

 



Most Viewed Articles (in Interview )

What is similarities/difference between an Abstract class and Interface?

Interview Question: What is the difference between EAR, JAR and WAR file?

Interview Question: Why it is called Struts?

Interview Question: What is the difference between ejbCreate() and ejbPostCreate?

What is J2EE?

What is difference between Java Bean and Enterprise Java Bean?

What is Collection API?

What is the difference between jsp:include page and @ include file?

Interview Question: Can i map more than one table in a CMP?

Question: Difference between forward and sendRedirect in JSP?

Question: What is a Hidden Comment in JSP?

Differentiate between .ear, .jar and .war files.

What do you understand by JTA and JTS?

Interview Question: How is the MVC design pattern used in Struts framework?

Interview Question: Who makes the Struts?

Latest Articles (in Interview)

Comment on this tutorial