
(5) index.jsp file for Default Module.
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> (6) index.jsp file for Admin Module. <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> This is the Admin Module File (7) index.jsp file for Register Module. <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%> This is the Regsiter Module File (8) Output:- Note:- On running the default module index.jsp file the following output will be displayed on the screen.
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html>
This is the default Module Application<br/>
Links created for own Forward action <br/>
<a href="switchAdmin.do">Admin</a><br/>
<a href="switchRegister.do">Register</a><br/>
Links created for the SwitchAcion<br/>
<a href="switchtoAdmin.do?prefix=/admin&page=/index.jsp">Admin</a><br/>
<a href="switchtoRegister.do?prefix=/regsiter&page=/index.jsp">Register</a><br/>
Links created for the html:link tag<br/>
<html:link module="/admin" page="/index.jsp">admin</html:link>
<html:link module="/register" page="/index.jsp">register</html:link>
<br/>
</html:html>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html>
<a href="/switchToRegister.do?prefix=/register&page=/index.jsp">Register</a>
</html:html>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html>
<a href="/switchToAdmin.do?prefix=/admin&page=/index.jsp">Admin</a>
</html:html>

Jsp Discussion
- - Two forms in one JSP
- - PASS VARIABLES BETWEEN 2
- - Table data
- - Unable to laod the image
- - The Ultimate Web UI Frame




