• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regarding jsp:forward

 
ram gaurav
Ranch Hand
Posts: 208
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

what does the following line means :

<jsp:forward page="/main.jsp" />


Note that if any data has already been returned to a client, the jsp:forward element will fail with an IllegalStateException.


Here what we mean from "if any data has been returned to a client"..

Thanks
Regards
Gaurav
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the page output is buffered and the buffer was flushed, or if the page is unbuffered and anything was written to the output, then an IllegalStateException will occur.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!