I have code in a package that I'm trying to import into a JSP using JRun on
IIS.

The class I'm trying to import is "com.cafepress.util.StringUtil".

Here is the code:

<HTML>
<BODY>
<%@ page import="com.cafepress.util.StringUtil" %>
<%
 String b = "hello";
 b = StringUtil.doubleChar('h', b);
 out.println(b);

%>
</BODY>
</HTML>

It works only if I put it in the servlets directory.  If I put it in
JRUN/classes...It can't find the code anymore.... & Jrun/classes is in the
class path in the JRun admin.  I also tried putting it at
d:\prj\java\classes & adding that to the class path...same prob.  What
gives?  Thanks for any help.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to