In this article we will discuss one of the action tags, “forward action”, used in JSP with a suitable example.
In this article we will discuss one of the action tags, “forward action”, used in JSP with a suitable example.Forward action tagThe forward action tag forwards requests to another resource and it may be a JSP page, a HTML page or another type of resource. Tags are used to do a specific task. Actually action tags control the flow among the pages.There are the following two types of forward action tags:
Show.jsp
Output
ExampleIn this example, we are forwarding the request to the show.jsp page with parameters and the show.jsp page prints the parameter values.Index.jsp
Grid structure in css