logo       

Re: JSPs in non root directory can't see a class in WEBINF/classes: msg#00063

text.xml.resin.user

Subject: Re: JSPs in non root directory can't see a class in WEBINF/classes

Christophe Pythoud wrote:

Hi,

I'm new to Resin and I'm stuck with a problem I can't figure out.

I'm using version 3.0.6.

Let's say I have a class called IntranetCalendar (in WEBINF/classes) and I use a scriplet in a JSP page like <% IntranetCalendar cal = new IntranetCalendar(); %>

Your classes must always be in a package. So "class IntranetCalendar" isn't a valid class. That's more strictly enforced in JDK 1.5 and in the upcoming Resin 3.0.7 release.

-- Scott




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise