If a servlet is not thread safe, then does that mean that all objects created and referenced during the servlet lifecycle are not thread safe? Maybe I\'m not quite getting this, but in Web application
I have never connected to a database in java before. May I know if I should go about accessing a derby database with servlet?
When defining a function for the JSP expression language, is there a way to specify that the functio开发者_开发问答n requires one of the implicit objects (such as pageContext)?
How can I retrieve and display ima开发者_运维知识库ges from a database in a JSP page?Let\'s see in steps what should happen:
I\'m just getting started on JavaServer Faces and it looks very attractive. However I\'d like to use my own servlets in the same web application as JSF.
While serving flash based training material users peroidically experience a HttpSession session timeout.Currently the inactivity timeout is set to default (30mins).
I have a question on code开发者_如何学JAVA reuse in JSP. I have a JSP page example.jsp that issues a call to a database and gets the results. I have a java class HelperClass.java that accepts a record
I read over this post, which is similar to my issue, but had no luck solving the problem: Basically I used to have the following servlet-mapping in my web.xml:
Hi have you seen anything really use开发者_运维知识库ful extending HttpServletResponseWrapper/HttpServletRequestWrapper orServletRequestWrapper/ ServletResponseWrapper in production environment?
I know that I can use HttpServletRequest.getParameter() to get the URL parameter values. Is there an equivalent me开发者_运维问答thod with which I can set/replace the value?No, there is not.