,
Share with your friends 

two view layer pages communicate each other directly.

0 ratings Views 185 
Author: Thanooj (Thanooj Kalathuru)  View Profile |  View other solutions by this author

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

Login to rank it

Report


Advertisement