• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:useBean standard action and the request scope [HFSJ page 420]

 
Harry Henriques
Ranch Hand
Posts: 206
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All -

[PROBLEM SOLVED] Below is a good example of how to use the jsp:useBean standard action.

Thanks,
Harry









The employee's name is Fred
The friends who share your hobby of horse skiing are:
Fred
Pradeep
Philippe
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the question?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, the time to be using Java scriptlets in JSP is long, long past -- almost 10 years. Time to join us in 2011 and start using the JSTL and EL.
 
Harry Henriques
Ranch Hand
Posts: 206
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bear,

I'm working through the examples in Head First Servlets and JSPs. This is an example directly out of the textbook. I have to start somewhere, so I'm starting with the fundamentals.

Thanks,
Harry
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ah, ok. Just be aware that that's all historical now. New JSP code should never embed Java code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic