Or, <jsp:usebean ...>, but I don't know if that works with the default package. Why don't you put the classes in a package? Although I haven't been doing this web programming stuff myself very long, that seems to be the consensus "best practices" approach, which is why I think Sun discontinued it.
anw > -----Original Message----- > From: Robert Soeding [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 23, 2007 12:51 PM > To: Tomcat Users List > Subject: Re: Accessing a class file under WEB-INF/classes from JSP > > Does > <[EMAIL PROTECTED] 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: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]