Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP and Beans ??

 
Badal Kotecha
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Badal..
 
Brett Knapik
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<%@ 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).]
 
hanumanth reddy
Ranch Hand
Posts: 118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there will be a directory called classes place all ur bean it in
so that they are availbale to call from jsp
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic