File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes bean - servlet communication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "bean - servlet communication" Watch "bean - servlet communication" New topic
Author

bean - servlet communication

manik kant
Greenhorn

Joined: Mar 24, 2008
Posts: 11
how to call a bean class or jar file from a servlet.(both application bean & GUI bean) as i know the procedure with JSP ie.,usebean tag.I dont find coding for that in books.Does it play a major role in real time.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12789
    
    5
I'm not sure what your problem is - you create an object of a Bean class just like you create any object. The JSP tag is just shorthand that the JSP compiler turns into code that creates a new object using your no-args constructor.
Bill

------------------
author of:
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
Please note that The Java Ranch has a naming policy, described here and "manik" is not a valid name.
Please choose one which meets the requirements.
Thanks.

Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: bean - servlet communication