Compiling a java servlet at dos prompt that uses a precompiled class
Posted on 2004-04-06
Hi there, im creating an online shop. I have made a product class (product bean) that is instanced every time the user wants to add a product to their cart. I have created a ShoppingServlet that handles the add, delete, view cart etc business logic therefore i use the product class in this servlet. Eventhough the Product class is in the same directory as the ShoppingServlet the compiler does not resolve the symbol Product in (Product p = ...).
I have tried using a package, including it in the classpath but still no luck. I must have a config prob somewhere but iv checked couple of times.
May be u can help me?