• Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaBean Request  RSS feed

 
Servo Alvo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,


Can you please give an example of usage of <useBean> for a Javabean with Request scope ?

Thanks in advance!

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66152
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Servo Alvo
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I really couldn´t get the difference between request and page scope....

Yes, I´ve already read both defitions...Maybe an example would clarify things...

Thanks again!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66152
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Page scope exists only within a JSP. Request scope traverses all resource executed in a particular request. It is frequently used to hold data created in a servlet controller and forwarded to a JSP page.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!