dcsimg
weblogic 6.0 session bug.how can I resolve it?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   roy_wang
Posted On:   Friday, April 13, 2001 03:08 AM

I'm from China,glad to meet you in jGuru.com. Our team are developing a web project in weblogic 6.0 environment. For development convenience, we use weblogic auto-deploy function, but we must put our classes under the directory '/WEB-INF/classes'. In this way, when we process session, a error occured. for example: first,I put a object in session.( AClass aobject = new AClass(); session.setAttribute("aclass",aobject); ). second, I get this object from session.( AClass aobject = (AClass)session.getAttribute("aclass"); ). third,a ClassCastException occured. I think it's a bug of weblogic itself,but how can I resolve this matter?    More>>

I'm from China,glad to meet you in jGuru.com.

Our team are developing a web project in weblogic 6.0 environment. For development convenience, we use weblogic auto-deploy function, but we must put our classes under the directory '/WEB-INF/classes'.

In this way, when we process session, a error occured.
for example:
first,I put a object in session.( AClass aobject = new AClass(); session.setAttribute("aclass",aobject); ).
second, I get this object from session.( AClass aobject = (AClass)session.getAttribute("aclass"); ).
third,a ClassCastException occured.

I think it's a bug of weblogic itself,but how can I resolve this matter?

   <<Less
About | Sitemap | Contact