• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Integer attributes

 
kathir vel
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can you tell me How to forward a Integer value thru request attribute from servlet to JSP view?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kathir,
if you post the same thread twice by mistake, you can remove it yourself by clicking icon, and selecting the "Delete Post" checkbox. I have removed it for you this time.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to forward a Integer value thru request attribute from servlet to JSP view?


The setAttribute method accepts Object as its parameter, so you can put the Integer as is.
 
kathir vel
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank You Christophe.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic