File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes JSP and Beans ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP and Beans ??" Watch "JSP and Beans ??" New topic

JSP and Beans ??

Badal Kotecha
Ranch Hand

Joined: Sep 06, 2000
Posts: 42
How do I call a bean from JSP?
I am using JWS and BDK1.1
Where should I place my bean (in which folder) so that it should be accessible to my JSP and do I need to make a jar for it or simply class file will work (Bean has only one class) ?
Plz write in detail...
Thanking in advance
Brett Knapik
Ranch Hand

Joined: Oct 15, 2000
Posts: 255
<%@ directive { import= "package.class" } %> imports a bean or similar i believe

I wish there was a button on my monitor to turn up the intellegince.
Theres a button called 'brightness' but it doesn't work
[This message has been edited by Brett Knapik (edited October 20, 2000).]

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."
hanumanth reddy
Ranch Hand

Joined: Jun 12, 2000
Posts: 118
there will be a directory called classes place all ur bean it in
so that they are availbale to call from jsp

<a href="" target="_blank" rel="nofollow"></a><br /> 'Add Job To Life'
I agree. Here's the link:
subject: JSP and Beans ??
It's not a secret anymore!