Hello There
     I have a class file wherein certain classes are defined public.

Now in jsp I have to use this class.

For instance
public  class balance
{

     public balance(String n)
           p_name = n;

     public String show()
     {
                      p_name = p_name + i;
           return p_name ;
      }
  }


  Now this balance.class is to be imported in jsp program

  Usually <% @ page import java.sql.* %>
                  <% @ include file = "funcs.jsp %>

Now the above class is to be imported. The above class is in my
subdirectory.
CLASSPATH variable is to be set or by any other means.

<jsp:useBean .........> also I tried but not properly working.

Thanks in advance
Regards
Vaishali

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to