The moose likes JSP and the fly likes jsp:useBean id not clear Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "jsp:useBean id not clear" Watch "jsp:useBean id not clear" New topic
Author

jsp:useBean id not clear

Harikrishna Gorrepati
Ranch Hand

Joined: Sep 23, 2010
Posts: 422
Hi, I am not clear how <jsp:useBean> id is working. Here is the complete working code. Can you please explain me how id portion from each file is communicating ?

MurachPage303.jsp



AddToEmailListServlet.java



User.java


MurachPage305.jsp


web.xml





OCPJP 6.0-81% | Preparing for OCWCD
http://www.certpal.com/blogs/cert-articles | http://sites.google.com/site/mostlyjava/scwcd |
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56191
    
  13

The id is the name by which the scoped variable is being bound into the session.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: jsp:useBean id not clear
 
Similar Threads
Using Java Bean in JSP to show database record
database best practice
Simple jsp form
JavaMail won't send mail
error occuring while use jsp