You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Pawson, David" <Da...@rnib.org.uk> on 2005/03/23 12:20:36 UTC
jsp imports
Tomcat 5.0.28
In my index.jsp file I have
<%@ page import="sessionData"%>
<%
sessionData s = new sessionData();
s.clrSession(session, "index.jsp");
%>
And I get the error,
Cannot resolve symbol 'sessionData'.
It is not in a package.
What syntax must I use to locate the class please?
Or is it required to be packaged?
Regards DaveP.
**** snip here *****
Re: jsp imports
Posted by Darek Czarkowski <dc...@infinitesource.ca>.
I am not sure if this is relevant but, is session data a full name of
the package?
I would expect to see something like com.packagename.sessionData
DarekC
On Wed, 2005-03-23 at 03:20, Pawson, David wrote:
> Tomcat 5.0.28
>
> In my index.jsp file I have
>
> <%@ page import="sessionData"%>
> <%
> sessionData s = new sessionData();
> s.clrSession(session, "index.jsp");
>
> %>
>
> And I get the error,
> Cannot resolve symbol 'sessionData'.
>
> It is not in a package.
>
> What syntax must I use to locate the class please?
> Or is it required to be packaged?
>
>
> Regards DaveP.
>
> **** snip here *****
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: jsp imports
Posted by Tim Funk <fu...@joedog.org>.
It must be in a package.
-Tim
Pawson, David wrote:
> Tomcat 5.0.28
>
> In my index.jsp file I have
>
> <%@ page import="sessionData"%>
> <%
> sessionData s = new sessionData();
> s.clrSession(session, "index.jsp");
>
> %>
>
> And I get the error,
> Cannot resolve symbol 'sessionData'.
>
> It is not in a package.
>
> What syntax must I use to locate the class please?
> Or is it required to be packaged?
>
>
> Regards DaveP.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org