Hi

Create a directory cart in the clases directory and
then put your classes file in the cart directory.

and restart your web server. it should work now.

Which web server you are using?

Regards
Deepak

http://www.geocities.com/deepak_38




--- Ruaidhr� Fernandes <[EMAIL PROTECTED]>
wrote:
> Hi all,
> I want to write a few classes for my shopping cart.
> I will have a Item.java,Billing.java,Shipping.java
> and
> a ShoppingCart.java.
> I have a main DisplayShoppingCart.jsp file that will
> use those classes.
> Can someone tell me how to create a package
> containing
> all my class files and where to put this package so
> the jsp file knows where to get them.
>
> Also do I have to change my classpath?
>
> I tried creating a subfolder in the folder which
> contains my jsp files and naing it cart. I placed
> all
> my class files in there and used the :
>
> <%@ page import="cart.*"%> but It did'nt work.
>
> What am i doing wrong?
> Should I be putting my class files in the
> WEB-Inf/classes folder?
>
> Any help would be appreciated.
> Thanks Rui
>
>
> =====
> "If a rabbit's foot is so lucky,..... what happened
> to the rabbit?"
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - buy the things you want at great
> prices
> http://auctions.yahoo.com/
>
>
===========================================================================
> 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://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


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

===========================================================================
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://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