• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

need a program for Java Bean and JSP

 
Jatin sachdev
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need a full fledged program of Jsp using java bean.
Do tell where i have to place the class file of that java bean.
I am using Net beans 6.9

i know java bean i.e private fields,getter,setter,and default constructor

I want to use this where property is *(asterik) and my request parameters match with the private fields of Java Bean.
<jsp:setProperty beanName="" property="*">

where I have to store the class file in netbeans and also tel the package thing concerned with it
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JavaBean class would go in the same place that servlet code would go.
 
Jatin sachdev
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
classes folder in web-inf???
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64618
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
WEB-INF, not web-inf. Case counts.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic