This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Include one jsp into another at runtime

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a situation like this:

I have a list of categories, I want to implement a print functionality where the page displays the data for each of the selected categories.

Each category data rests in a jsp page. I want a jsp page, which includes all these jsp pages at runtime. The individual jsp pages expect parameters in them. If i use jsp:include, how do i send these parameters?

How do i do this?
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the <jsp aram> tags



cheers,
ram.
 
Adeel Ansari
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sure that its not a servlet question. Please move it to JSP forum mates.
 
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the tag name is <jsp:param>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic