Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jspinlcude  RSS feed

 
senthil narayan
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsp
<html>
<body>
<jsp:include page="One.jsp">
...
In one.jsp
<%response.sendRedirect()%>
It gives me error saying response not found or not an object.
I have a inluded the necessary servlet package in the jsp that inlcudes this file.
Is that the JSP concept like we cannot use response object in included file.
Thanks
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, with the jsp:include, the included file cannot contain JSP. It includes time at request time.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!