two view layer pages communicate each other directly.
|
|
|
Question / Problem
|
1.) while we r using <html:link> tag, we just go for direct flow where two view layer pages communicate each other directly.
<html:link page="Login.jsp">Login</html:link>
|
Solution
|
1.) while we r using <html:link> tag, we just go for direct flow where two view layer pages communicate each other directly.
<html:link page="Login.jsp">Login</html:link> ...........................................................................................................................................
2.) but, this should not happen...so we need to go for alternative where applying Struts 1.x MVC
//link to invoke an action <html:link action="login">Login</html:link> ..... .... ..... //struts-config.xml //action which simply forwords to a jsp page <action path="/login" type="org.apache.struts.actions.ForwordAction" parameter="/Login.jsp"/>
-------------------------------------------------------------------------------------
plz don't forgot to vote for my solution
|
Applies to |
|
Servlet
,JSP
|
Rank It |
|