Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass parameter to an dynamically included JSP page?

 
Kshitija Nandpure
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
How to pass parameter to an dynamically included JSP page?
<jsp:include page="MenuJSP.jsp">
<jsp aram name="emp_no" value="<%=emp_no %>" />
</jsp:include>
emp_no is a request parameter which is retrived in Scriplet but it gives following error
"Cannot resolve symbol emp_no"
how to overcome this error ?
 
Nathaniel Stoddard
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had a nice response for you, but my Microsoft scroll-mouse goes crazy every once in a while and starts scrolling up and down randomly at about 100 million miles an hour. So, well ... your post didn't make it. I'm sorry.
<%= request.getParameter("emp_no") %> should work for you though.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic