top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to install Struts?

+2 votes
873 views

I've been looking for documentation on how to install it but I have not found it, all i found is how to start working with it, but nothing on how to install it,

This is what I have:

Apache 2.4
Tomcat 7

All I know is that Struts is made on Java technology, so I guess it should be a Java webapp that can be accessed from any other in your server, but other than that I don't know what to do.

I downloaded it and noticed there is an app folder with a few .war files, so what do I do with them?

posted Nov 30, 2013 by Jai Prakash

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

3 Answers

+2 votes

From Tomcat Manager Application

Last textfield is "Select WAR file to upload" 
upload $STRUTS2_HOME/apps/showcase.war
start showcase
Pingback if you see any errors
answer Dec 1, 2013 by Bob Wise
+1 vote

War you downloaded is a sample application showing how we can use struts2 is a webapplication.

To correct you struts2 is not a web application itself but yes made up on servlet tech to develop web applications.

In download distribution you will find number of jars files which can be used to develop your web application and few of them are required to build struts2 powered web application while others are optional and depedends if you want to use those features.

Just deploy that war in your tomcat and than see about folder structure also you will find what all jars are required to have a struts2 enabled application.

My suggestion is to have a look at mvc as its based on mvc and a little about web applications and servlets

answer Nov 30, 2013 by Mandeep Sehgal
+1 vote

You can start with struts blank war file that comes with Struts distribution. It will be really a good start for you.

answer Dec 1, 2013 by Amit Parthsarthi
Similar Questions
0 votes

Installed Fedora 26 on recommendation of a Scribus developer. Installed about 30 packages per his advice.

But when I try to compile a program the machine can't find C++. So what is the package I need to install to compile C++ programs?.

Another question. On Slackware (yes I am one of those) I can use kdm to get to a window function ( I preferXFCE). How do I set up a window manager in Fedora and how do I access it?

0 votes

I have an Ubuntu VDI image (created through Virtual box) in one laptop and want to install Ubuntu on bare metal using this VDI image.
Is it possible ?

+3 votes

I designed a new file system and mounted it to a self created folder at /sdcard/mytest/. Now I want to check the Android Apps performance on this new file system.So I need to install some apk file to this folder, /sdcard/mytest/, not /sdcard/

Is there any way to install the apk using some command lines and designate the installation location?

+1 vote

I'd like to install ALL Python packages on my machine. Even if it takes up 4-5GB, or more, I'd like to get everything, and then use it when I need it. Now, I'd like to import packages, like numpy and pandas, but nothing will install. I figure, if I can just install everything, I can simply use it when I need it, and if I don't need it, then I just won't use it.

I know R offers this as an option. I figure Python must allow it too.

Any idea how to grab everything?

+2 votes

How to create create WINDOWS7 installation CD from recovery partition of laptop to install another laptop?

Any suggestions?

...