• 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

so, we don't need to code any "ActionServlet" in our app ?

 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From the struts tutorials, I found that it does NOT ask us to code any servlet in our web application, so the new web app does not include any servlet code. If that's true, it sounds bit strange, doesn't it ?
 
Ranch Hand
Posts: 354
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
not strange at all. struts is single-servlet model. you have 1 controller determining the flow of your app. you add configurations to the struts-config.xml to manage objects, files, error handlings, forwards etc. the controller reads this file and act accordingly. the meat of your requests are the request handlers, called Actions in struts. these are what you need to code. -/a
 
reply
    Bookmark Topic Watch Topic
  • New Topic