• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where do set my attribute?

 
Ram kanana
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here i am using data search page which is normally a static page. When this page goes to the Controller(normally servlet) it will redirect to jsp page when the data is valid and show the result.

My question is where do i put(either in servlet or jsp) set attributes(normally search detail) to Java bean class.
 
Buvana Ramkumar
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Want a clearer Statement
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64832
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally, the servlet will place the data into request scope for retrieval by the JSP.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic