Hi Vishwa

Vishwa wrote:

> 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 guess you need to  need to set language attribute of page directive to java
somethin like <%@ page language="java" %>
or maybe try importing the package as
<%@ page import="java.util.*" %>

Cheers
Abhishek

>
> 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

Reply via email to