Bugs item #915522, was opened at 2004-03-13 11:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=915522&group_id=73068

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ralf Hauser (ralfhauser)
Assigned to: Nobody/Anonymous (nobody)
Summary: JasperException: Unable to load MyDecorator.class

Initial Comment:
- Tried to adapt the org.displaytag.sample.TotalWrapper
and got the below stack trace.
- checked my war - the .class file is in there!
- Even added test method
        public static void isClassThere() {
                log.debug("class is there!");
                System.out.println("sys: class is there!");
        }
 and called it in my jsp one line before my display
tags start:
<<
<% 
com.privasphere.privalope.util.BillTotals.isClassThere();
 %>
>>
As to be expected, nicely got
<<DEBUG [Thread-5] (BillTotals.java:30) - class is there!
sys: class is there!>> in my catalina.out

What am I doing wrong?

http://sourceforge.net/mailarchive/message.php?msg_id=7054216
doesn&#039;t really seem to be the same.

If there is the need to tell displaytag to add to the
path, please document this in 
http://displaytag.sourceforge.net/tagreference.html.

Any help would be highly appreciated!

    Ralf

<<org.apache.jasper.JasperException: Unable to load
com.privasphere.privalope.util.BillTotals
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:254)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
        at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
...
root cause

javax.servlet.ServletException: Unable to load
com.privasphere.privalope.util.BillTotals
        at
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:533)
        at
org.apache.jsp.showBillingLog_en_jsp._jspService(showBillingLog_en_jsp.java:556)
        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
        at
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>

Excerpt out of my jsp
/usr/local/tomcat/work/myapp-Standalone/mydom.com/_/showBillingLog_en_jsp.java
 :
<<...
     
_jspx_th_display_table_0.setRequestURI(response.encodeURL("showBillingLog_en.jsp"));
      _jspx_th_display_table_0.setSort("list");
     
_jspx_th_display_table_0.setDecorator("com.privasphere.privalope.util.BillTotals");
      int _jspx_eval_display_table_0 =
_jspx_th_display_table_0.doStartTag();
      if (_jspx_eval_display_table_0 !=
javax.servlet.jsp.tagext.Tag.SKIP_BODY)...>>

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=536613&aid=915522&group_id=73068


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel

Reply via email to