|
-
Jan 30th, 2007, 05:42 PM
#1
[RESOLVED] Jstl / Mvc
I am required to write a small JSP application for an assignment as university. I am familiar with Java and have done a little reading on he JSP specification so here is what I plan to do:
- All output will be produced using a set of JSTL pages and templates.
- Input via the POST method will be handled by servlets - upon successfully carrying out the request, it will be despatched to a JSTL page where the result will be rendered (I would prefer to dispatch the request via an HHTTP redirect).
- Although it looks as though JSTL's are compiled into servlets and an instance of each servlet is kept within memory, I will make the connection to the SQL database on a per request basis. If JDBC has a thread safe way of maintaining a connection within the servlet instance I'd love to know

Are there any problems are bad practices I am using here or any refinements I can make to the way I am doing it?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|