Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Basic questions about struts

 
Frank Sikuluzu
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
New to Struts. Two questions ---

1) besides strut-config.xml, do I still need a) web.xml and b) the .xml file that's specific to the web container (usually required for that container vendor)?

2) is Struts supported by Macromedia Jrun and Silver Stream ?
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. Since struts nothing more than a framework that runs on top of a J2EE web application, a struts web application must have everything any other J2EE Web application has. The answer is yes, you do need a web.xml file, and whatever other xml files are required by the J2EE application server you're running your application on. Not only that, but the web.xml must have some very specific configuration information in it for Struts to run properly. My advice is to begin any new Struts application with the materials in the struts-blank.war file that is provided with the download. Then examine the entries in the web.xml file, and you will see what I mean.

2. To my knowledge, a struts web application will run on any J2EE application server that conforms to J2EE 1.3 or above.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic