wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 12675
    
    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

Java Resources at www.wbrogden.com
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
 
Similar Threads
Is there any way to get Servlet Init Parameter using EL?
How can I change the sdk version of Websphere 4 if I already install it
javascript, servlets and SVG
Capturing Form Data
Export in Excel