I think you'll have to use language="java" attribute...and then specify the
path of the package for the server that is running. I.e. when the server is
started up it'll have to load this package. In JWS you'll have to configure
the admin to load this package while starting up. Refer to thw JWS
documentation to find out how to do that!
Vinod
Vishwa
<[EMAIL PROTECTED] To: [EMAIL PROTECTED]
P.COM> cc:
Sent by: A Subject: Re: Import problem
mailing list
about Java Server
Pages
specification and
reference
<JSP-INTEREST@JAV
A.SUN.COM>
5/04/00 11:13 PM
Please respond to
A mailing list
about Java Server
Pages
specification and
reference
Hi,
Thanks for your reply.
util package is my own package, as it is not yet released like
com.something.util, i have named it as just util.
Thanks
vishwa
Ritesh Sinha wrote:
>
> I think you need to specify java.util.* there.
> like:
>
> <%@page import="java.util.*" %>
> <%jsp:usebean id="props" class="PropertyFileBean" %>
> <%jsp:setProperty name="props" property="FileName" param="df" %>
>
> HTH,
> ritesh sinha
>
> Vishwa <[EMAIL PROTECTED]> on 05/04/2000 10:24:36 PM
>
> Please respond to A mailing list about Java Server Pages specification
and
> reference <[EMAIL PROTECTED]>
>
> To: [EMAIL PROTECTED]
> cc: (bcc: Sinha Ritesh-SWD-ITIL-UB/Itilmail)
>
> Subject: Import problem
>
> Hello all,
>
> I have to import a package 'util.*' in my jsp. I have coded the import
> like this
>
> <%@page import="util.*" %>
> <%jsp:usebean id="props" class="PropertyFileBean" %>
> <%jsp:setProperty name="props" property="FileName" param="df" %>
>
> But I am getting an error that the JSP engine is not able to locate the
> package, where should i copy the package to. ?. Or how should i set the
> classpath.
>
> I am using javawebserver2.0.
>
> Regards,
> vishwa
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets