I have a question about JSP. I have a JSP like follows:
/* content.jsp locates http://localhost:8080/Si/content.jsp */
...
<jsp:useBean id="sysuser" class="Simis.SysUser" scope="session" />
...
<form name="thisforms" method="POST" action="/Si/servlet/myservlet">
 ...
<input type="submit" value="ok">

When I click ok button,this JSP come into Servlet "myservlet",myservlet is follows:
/* mycontent is locates different directory with content.jsp */
 ...
 public void doPost(...)
{
  ...
  
getServletConfig().getServletContext().getRequestDispatcher("/content.jsp").forward(request,
 response);
}

In myservlet,I deal some thing and come into JSP "content.jsp" again,and I found raise 
some errors:some picture in "content.jsp" are lost!
My question is how to store attribute "<jsp:useBean id="sysuser" class="Simis.SysUser" 
scope="session" />" in Servlet "myservlet" and when myservlet comes into JSP 
"content.jsp" again, how to restore attribute "<jsp:useBean id="sysuser" 
class="Simis.SysUser" scope="session" />"?

Thanks in advance!

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Reply via email to