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.

 

 

 

 

Ask a Question



Most Viewed Articles (in Interview )

What do you understand by a J2EE module?

Explain the user defined Exceptions?

What types of comments are available in the JSP?

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

Interview Question: Write code of any Action Class?

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

Interview Question: What is the difference between sessioncontext and entitycontext?

Interview Question: What is lazy loading?

Interview Question: What is the difference between Message Driven Beans and Stateless Session beans?

Question: What is a Hidden Comment in JSP?

What is J2EE?

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

What is the difference between Session Bean and Entity Bean?

Why J2EE is suitable for the development distributed multi-tiered enterprise applications?

What is the difference between JTS and JTA?

Latest Articles (in Interview)

Comment on this tutorial