• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Attribute Problem

 
Chaminda Amarasinghe
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

Is there any way to get all attributes in a specific scope like request.

We can get all paramerters, headers and cookies too. But I want to get all the attributes of a request. is this possible ?

Thanks all?
 
arun shanmugam kumar
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use getAttributeNames() method of the corresponding request object.
It gives an enumeration of all the request attributes attached to that particular request . Consult the servlet API doc in your tomcat directories for further details.
 
Chaminda Amarasinghe
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank friend...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic