Hello Friends, A confusion -- I have come across two different ways of ending the jsp tags <jsp:forward page="msg.jsp"/> why is it not <jsp:forward page="msg.jsp"> </jsp:forward> Is there any rule about how to end tags or either way is ok..... Thanks, Nidhi
Enrico Mannarino
Ranch Hand
Joined: Dec 14, 2001
Posts: 133
posted
0
Hi, if there is nothing bewteen the start and end both are ok, otherwise not. <jsp:forward page="msg.jsp"/> OK <jsp:forward page="msg.jsp"> </jsp:forward> OK <jsp:forward page="msg.jsp"> bla bla bl </jsp:forward> OK <jsp:forward page="msg.jsp" bla bla /> NOK Hope it helps! /Enrico