Jul 21st, 2010, 04:24 PM
Forward or Include in Maplet?
Sending user's request is done by the forward method. It worth mentioning that the include method operates like include tag and the forward method operates like forward tag in JSP. The only difference between them is that they send the URL to the receiver.
you can use Forward whenever you are going to another maplete/servlet/JSP.
which Resp.jsp is my response jsp .
Another important thing is when you are not willing the user would be able to see the URL parameter's after invocation the forward method, you can use the include method. This method includes the next page or the next Maplet. Of course it should be noted that if you use out.print() before or after include, the result of out.print command will be shown next to the include content.
Tags for this Thread