Hi I have one Jsp page and i want to call that jsp page in my another jsp page. for example i have includefile.jsp page
<html>
<body>
<b><font color='red'> Hello World</font></b><br>
<b><font color='red'> HTML file is included in JSP page<font></b>
</body>
</html>
and i have include.jsp page where i want to call the first jsp
<html>
<body>
<%@ include file='includedFile.jsp' %>
</body>
</html>
but this code is not working. I will really appreciate if someone can help me out with this.
In your include.jsp page
<html>
<body>
<form action = "includeFile.jsp">
<input type="submit" value="open other jsp">
</form>
</body>
</html>
**make sure to place both JSP files in same folder.