• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Basic questions about struts

 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic