• Post Reply Bookmark Topic Watch Topic
  • New Topic

Unterminated <c:redirect> in jsp file

 
Kishor Joshi
Ranch Hand
Posts: 674
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there

this is my jsp code


and I am getting unterminated <c:redirect> error where is mistake?

Thanks
 
Vijay Chandran
Ranch Hand
Posts: 186
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a syntax error:

The url attribute of c:redirect should be a valid simple java.lang.String. c:redirect is like sendRedirect() of HttpServletResponse API

For Example:


The c:url tag is used to add encoding rules to the URL with c:param. This is equivalent to response.encodeURL()

Thanks,
Vijay
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!