Bookmark Topic Watch Topic
  • New Topic

redirect url

 
kathir vel
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi all,
I gave name and address fields are empty.but the following redirection is not working.Can anyone help me?Thanks.

<c:if test="${param.name eq ' ' or param.address eq ' '}" >
<c:set var="name" value="${param.name}" scope="session"/>
<c:set var="address" value="${param.address}" scope="session"/>
<c:redirect url="pizza.jsp">
<c:if test="${param.name eq ' ' }">
<c aram name="name" value="missing"/>
</c:if>
<c:if test="${param.address eq ' ' }">
<c aram name="address" value="missing"/>
</c:if>
</c:redirect>
</c:if>
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not crosspost the same question in different forums. Continue in the original thread. Thank you.
[ August 08, 2007: Message edited by: Christophe Verre ]
 
    Bookmark Topic Watch Topic
  • New Topic