Hello Zahid.
It should be possible to deploy a Struts 2 application on most Java
application servers that exist these days. I believe that Struts 2.5.x needs
an application server supporting a minimum of Servlet API 2.4 / JSP API 2.0.
Most application servers released in the past 10-15 years should provide those
API levels.
Application servers have their own configuration quirks, so you may need
to play around a little, depending on both the application and the application
server. Tomcat and TomEE are usually good starting points to try a basic
Struts 2 deployment out, or compare against.
If you are looking at a particular Java application server, you can try
deploying the Struts 2 Showcase Webapps on a testing instance and see how
things go. If the showcase works, it is a good indicator that Struts 2
applications can probably run on that application server.
Hope that helps.
On 2020/05/29 11:39:21, Zahid Rahman <[email protected]> wrote:
> Hi,
>
> > No, you create a web app with it ..
> Just checking. Thanks
>
> I downloaded struts-examples-master.zip
> I am opening one app at a time in eclipse to get to know the features while
> following following
> https://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html
>
> So for example I open message-resource
> while following the documents for Exception Handling.
> I have to say the documents *perfect*.
> No wonder there is no user-mailing traffic.!
>
> I also read in one of the archetype configuration files {I can't find it
> right now otherwise I give you precise details }
> *" # workaround for weblogic.*
> param.request = No "
>
> From that my understanding is that Struts2 can run on freeware app servers
> like tomcat and Wildfly
> and commercialware ones like weblogic and websphere.
> Do I understand that correctly ?
>
> Are there any other application servers ?
>
> Backbutton.co.uk
> ¯\_(ツ)_/¯
> ♡۶Java♡۶RMI ♡۶
>
>
> On Fri, 29 May 2020 at 02:58, Dave Newton <[email protected]> wrote:
>
> > No, you create a web app with it. The S2 archtypes *are* runnable, or you
> > can create a web app in the typical way, or you can follow a tutorial,
> > including the minimal one at
> >
> > https://struts.apache.org/getting-started/how-to-create-a-struts2-web-application.html
> > .
> >
> >
> > On Thu, May 28, 2020 at 21:51 Zahid Rahman <[email protected]> wrote:
> >
> > > Hi,
> > > I git cloned https://github.com/apache/struts this.
> > > then I ran ./mvnw clean package install.
> > >
> > > is there a struts equivalent *./mvnw spring-boot:run* to run it ?
> > > I tried ./mvnw jetty:run then didn't work.
> > >
> > >
> > > Backbutton.co.uk
> > > ¯\_(ツ)_/¯
> > > <http://www.backbutton.co.uk>
> > >
> > --
> > em: [email protected]
> > mo: 908-380-8699
> > tw: @dave_newton <https://twitter.com/dave_newton>
> > li: dave-newton <https://www.linkedin.com/in/dave-newton/>
> > gh: davelnewton <https://github.com/davelnewton>
> > so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
> > bl[0]: Bucky Bits <http://buckybits.blogspot.com/>
> > bl[1]: Maker's End Blog <https://blog.makersend.com>
> > sk: davelnewton_skype
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]