How can I set a cookie in JSP?-java-tech-interview29032012
response. setHeader(”Set-Cookie”, “cookie string”); To give the response-object to a bean, write a method setResponse (HttpServletResponse response) - to the bean, and in jsp-file:<% bean. setResponse (response); %>
No comments:
Post a Comment
for more info Visit
Technical forum for question and answer related your jobs please visit
sarkari naukri forum