jso:useBean results in java.lang.InstantiationException for a class
that is in *.ear/*.war/WEB-INF/classes.
i.e. the following fails:
<jsp:useBean id="user" class="PersonalData" scope="session"/>

While this passes:
<% PersonalData pd = (PersonalData)PersonalData.class.newInstance(); %>

Looks like Jasper does a bad work generating *.java. Here is the
generated code for the tag:
  user = (PersonalData) java.beans.Beans.instantiate(this.getClass().getClassLoader(), 
"PersonalData");

This is in HEAD.

alex



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to