Web tier: servlets, JSP, Web frameworks: How to overcome classCastException?
- Posted by: Rajendra Sharanappa
- Posted on: January 31 2001 00:36 EST
From JSP i am calling a bean, to call that bean
i need to import a package which has the necessary interfaces. When i use this page, the packages are imported and a second copy is created in the jsp engine's working dir. This in turn gives me a classcast exception. Can anyone help me to solve this problem ?
What server are you using?
if you´re using weblogic you must put the beans into the serverclasses, better in a jar file. That makes the Weblogic load the beans for any application that needed.