jQuery in Action, 3rd edition
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

bean - servlet communication

manik kant

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

Joined: Mar 22, 2000
Posts: 13027
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.

author of:
Frank Carver

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.

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
It's not a secret anymore!