aspose file tools*
The moose likes Servlets and the fly likes Tranfer Servlet To JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tranfer Servlet To JSP" Watch "Tranfer Servlet To JSP" New topic
Author

Tranfer Servlet To JSP

Navtaj Singh
Ranch Hand

Joined: Jan 30, 2001
Posts: 37
Hi!
My query is :
I have a "ShoppingCart.class" Servlet file and wish to instantiate the
ShoppingCart in a "xxx.jsp" file.Is it possible and how?
Parvinder.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
That design problem is a clear demonstration of why you should implement a "shopping cart" as a component such as a bean instead of cramming all the functions into a servlet.
Bill
Navtaj Singh
Ranch Hand

Joined: Jan 30, 2001
Posts: 37
Ok!
Now i have a relative problem.I have a "ShoppingCart.class" file in the "Classes" directory.But the "xxx.jsp" file is not able to locate the "ShoppingCart.class" file.
Please reply.
With Regards,
Navi.
Navtaj Singh
Ranch Hand

Joined: Jan 30, 2001
Posts: 37
Ahoy !
Please Answer !!
Navi
Navtaj Singh
Ranch Hand

Joined: Jan 30, 2001
Posts: 37
Its okay , i have the answer.
Thanks
Navi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tranfer Servlet To JSP