Made a typo in my previous email .. heres the corrected email:

I get the following error in tomcat:

java.lang.ClassCastException
at org.apache.jsp.EditOffering_jsp._jspService(EditOffering_jsp.java:129)


I looked at EditOffering_jsp.java and it has this at line 129:

locationHelper = (com.wavesinmotion.cw.classes.jsphelpers.LocationHelper) pageContext.getAttribute("locationHelper", PageContext.SESSION_SCOPE);

which in the corresponding .jsp page is:

<jsp:useBean id="locationHelper" class="com.wavesinmotion.cw.classes.jsphelpers.LocationHelper" scope="session">
<jsp:setProperty name="locationHelper"
property="dbReader"
value="<%= session.getAttribute("DBREADER")%>" />
<jsp:setProperty name="locationHelper"
property="dbWriter"
value="<%= session.getAttribute("DBWRITER")%>" />
</jsp:useBean>


Does anybody have any idea as to why i am getting this class cast exception ?

Thanks.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to