JBoss Community

Re: How to manage all the requests?

created by Peter Johnson in Beginner's Corner - View the full discussion

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.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

Start a new discussion in Beginner's Corner at Community