www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Xi <ming...@hotmail.com>
Subject general/7372: when I getValue() from session at test2.jsp that i put at other jsp, then exception happen,
Date Wed, 07 Mar 2001 18:32:37 GMT

>Number:         7372
>Category:       general
>Synopsis:       when I  getValue() from session at test2.jsp that i put at other jsp,
then exception happen,
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Mar 07 10:40:05 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     ming_xi@hotmail.com
>Release:        1.3.6
>Organization:
apache
>Environment:
Linux, Apache Jserv1.1.2,
>Description:
when I  getValue("myclass") from session at test2.jsp that i putValue("myclass",myclass) at
other jsp and myclass built by myself, then below exception happen. but if putValue() and
getValue() both at same jsp, it is work. Also when I put and get native class(such as String,etc)
to the session, it also no exception happen.


Exception: java.lang.ClassCastException: report.Test
java.lang.ClassCastException: report.Test
	at jsp._test2_2ejsp._jspService(_test2_2ejsp.java:52)
	at org.gjt.jsp.HttpJspPageImpl.service(HttpJspPageImpl.java:75)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:310)
	at org.gjt.jsp.JspServlet$Page.process(JspServlet.java:991)
	at org.gjt.jsp.JspServlet.xservice(JspServlet.java:608)
	at org.gjt.jsp.JspServlet.service(JspServlet.java:500)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:310)
	at org.apache.jserv.JServConnection.processRequest(JServConnection.java:317)
	at org.apache.jserv.JServConnection.run(JServConnection.java:188)
	at java.lang.Thread.run(Thread.java)

GNUJSP: Please report to Administrator. No JSP error page registered.

>How-To-Repeat:

>Fix:
The same project is work properly at JRun3.0, It should be some error at my configration file
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message