Hello,
I use servlets for some times now without any problem.
I've used them on a NT Box with Apache + Jserv then now with only Tomcat
(JSWDK web server)
I've a lot of problems with JSP.
Problem # 1
===========
I've never had problems with servlets (in the worse case, during
development the servlet crashes and the error messages are displayed in
NT/DOS box.
If I modify a jsp file and make a mistake, the JVM crashes (Dr Watson..)
except if before trying the jsp file I delete all previously produced
JSP-servlets (in my Work directory.
This is not a big problem for me because I use it in a experimental limited
intranet, but what this show is that it very easy to crash the whole JVM
with a servlet under current implementation.
This could be a problem in a mixed team organization (developers working
with designers) because if inadvertently a designer changes something in
the JSP code.. he can crash the whole stuff. That strange considering Java
security model.
Does any body have a list of "don't" to ensure server protection when using
jsp files ?
Problem # 2
===========
When using a connection poll class and preparedstatement (and a lot of
statements) a code that runs perfectly well in a servlet fails in a JSP file
Does somebody have some recommendations when using preparedstatements with
JSP ?
Thanks in advance
+------------------------------------------------+
| Luc Saint-Elie |
| Development and marketing manager |
| Pictoris - Paris - France |
| http://www.pictoris.com |
| email : [EMAIL PROTECTED] |
+------------------------------------------------+
| Java Server Side Open Source technologies |
| http://www.interpasnet.com/JSS |
+------------------------------------------------+
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html