setAttribute « API « JSP-Servlet Q&A





1. HttpServletRequest.setAttribute() converts ASCII chars    stackoverflow.com

When I call HttpServletRequest.setAttribute(name, string) the ASCII content like < of attribute string is converted to &lt;, etc. What is the workaround so that the content is not converted? I want ...

3. using req:setAttribute    coderanch.com

I have a servlet that populates a bean and sets it as a request attribute, then forwards to a frameset. I want the bean to be accessible on the JSPs that are invoked in the frames of the frameset. (Each request to populate a frame with a JSP is a new request, so the bean is not automatically available to these ...

6. setAttribute() vs. setParameter()    coderanch.com

7. setAttribute & getAttibute doubt    coderanch.com

9. getJspContext's setAttribute problem?    coderanch.com





11. Using setAttribute() in servlets.v2.2    coderanch.com

Greetings, I recently had my machine upgraded. I am running JDK1.3.1 (I was before, too). But now my version of servlets, which was 2.1 is now either 2.2 or 2.3. How can I tell? But my problem is this. I had an application that was using the HttpSession object and was using the putValue(), getValue() and getValueNames() methods. When I recompiled ...

12. servletContext. setAttribute("", hashMap ) - Not compiling    coderanch.com

Dear Folks I am facing problem that the above method is not available in servlet under JBuilder 3 version. I have included in Version Java1.3.2 and servlet.jar of Tomcat 4.0 in Jbuilder's liberary but it is still not getting response and not compiling it. Please note that i am calling servletContext.setAttribute("", hashMap )in init() method of a servlet. Even though when ...

15. getJspContext().setAttribute problem.    coderanch.com