File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doublt in pg 384- Request scope is not request object?

 
harinath chakrapani
Ranch Hand
Posts: 40
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the difference between request scope and request object?


What doies this example mean--




please help me..

Thanks in advance!!!
 
Amol Fuke
Ranch Hand
Posts: 129
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
requestScope is the EL implicit object and whereas request is the instance of HttpServletRequest.requestScope in EL is the implicit map of attribute and its values where as request object can do lot more functions other than this.

This example mean that :

object p will taken from request scope and getName() method will be invoked on that object.

Thanks ,
Amol
 
Jan Sterk
Ranch Hand
Posts: 139
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
${foo.person.name}
will not work btw. You have to use the brackets because of the dot in the identifier.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic