• Post Reply Bookmark Topic Watch Topic
  • New Topic

passing object to included page through jsp:param  RSS feed

Posts: 9610
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am creating a JSP page. I want to pass an object to an included JSP page so that it can retrieve it. Currently I have made a dirty way of doing it. I add the object to the request.setAttribute and retrieve it in the JSP as request.getAttribute. It is working fine but it is less understandable and might create problems while maintenance. So how can I use jsp:param inside jsp:include to pass the object to the included JSP page and how can I retrieve the object in the included JSP page?

Any help is more than welcome...

Ankit Garg
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!