This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes need a program for Java Bean and JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "need a program for Java Bean and JSP" Watch "need a program for Java Bean and JSP" New topic
Author

need a program for Java Bean and JSP

Jatin sachdev
Ranch Hand

Joined: Jan 21, 2010
Posts: 57
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

Joined: May 14, 2008
Posts: 5823
    
    7

The JavaBean class would go in the same place that servlet code would go.


JBoss In Action
Jatin sachdev
Ranch Hand

Joined: Jan 21, 2010
Posts: 57
classes folder in web-inf???
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61103
    
  66

WEB-INF, not web-inf. Case counts.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: need a program for Java Bean and JSP