tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajiv M" <rmadasser...@gmail.com>
Subject Re: Accessing a class file under WEB-INF/classes from JSP
Date Wed, 23 May 2007 16:56:01 GMT
No. This will again give class cannot be resolved to type error

On 5/23/07, Robert Soeding <robert.soeding@gmx.net> wrote:
> Does
> <%@page import="YourClass"%>
> work?
>
> Rajiv M wrote:
> > Seems like with JDK 1.4, Sun has enforced classes belonging to the
> > default package from being imported in JSP. Is the only way to resolve
> > the problem is to include classes under a package and then import the
> > package in JSP?
> >
> > Or is there some way in Tomcat which can cause JSP to access the class
> > files from WEB-INF/classes directory
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


-- 
~~~Truth is out there.~~~

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message