azaveri7
azaveri7

Reputation: 899

difficulty in deploying struts 2 application

I am a beginner with struts2 and I have few struts2 projects downloaded from a website, but they all are created as simple java projects and not as web-projects, so I am unable to deploy them on my Tomcat or JBoss AS server through Eclipse.

How can simple java projects be deployed on a Java EE server?

Upvotes: 0

Views: 252

Answers (2)

azaveri7
azaveri7

Reputation: 899

I created a structure similar to the one shown on website and manually added all the files required and it worked.

Upvotes: 0

Umesh Awasthi
Umesh Awasthi

Reputation: 23587

Your best bet is download sample applications from Struts2 official sites and deploy them on any of the server of your choice. Those sample application comes with all required dependencies as well will give you idea about structuring of S2 application as well flow and configurations

Upvotes: 2

Related Questions