• 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

A Design Question.

 
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Consider the following scenario. I have
1. A JSP generated HTML Page
2. A Controller Servlet
3. A Form Bean &
4. An Action Bean.
5. A result JSP
My request will go from 1 to 3 via 2.
3 will instantiate 4. 4(Action bean) would actually do some DB process and return a Vector.
5, the JSP page should get that result and iterate for view.
I should not use scriptlets in the page strictly. If i try to use <jsp:usebean >, then it instantiates a new object of 4 and i'm getting a null Vector. How can I achieve this?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic