[jboss-user] [Beginner's Corner] - Re: How to manage all the requests?

Peter Johnson do-not-reply at jboss.com
Mon Apr 2 09:42:17 EDT 2012


Peter Johnson [https://community.jboss.org/people/peterj] created the discussion

"Re: How to manage all the requests?"

To view the discussion, visit: https://community.jboss.org/message/727754#727754

--------------------------------------------------------------
One thing you could do is have your servlet package all of the data into one or more javabeans which you then pass to a JSP, which uses the Expression Language and JSTL to access the data in the javabean(s) and builds the page to display. Search the web for "mvc jstl tutorial", you should get a few hits. Here are some (they are fairly basic, but they should give you an idea):
 http://www.jansipke.nl/model-view-controller-mvc-with-jsp-and-jstl/ http://www.jansipke.nl/model-view-controller-mvc-with-jsp-and-jstl/
 http://www.raistudies.com/c-jstl/cout-example-to-print-value-of-attribute-any-scope/ http://www.raistudies.com/c-jstl/cout-example-to-print-value-of-attribute-any-scope/

If you need more examples, let me know.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/727754#727754]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120402/f08cfeb6/attachment.html 


More information about the jboss-user mailing list