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

Reply via email to