Originally posted by Sahil Singh:
And on the "nextpage"...
String test = (String)request.getAttribute("Param");
or there is a better way...
** Is it necessary for the JSP1 to pass thru an Action class to go to JSP2.....???
A good workman is known by his tools.
I understand that u put it in a map with key and value pair...but what is the relationship with a <bean: define> or is it <bean: write>???
Originally posted by Sahil Singh:
Supposing i have 2 (or more..) parameter valuse like for ex:-
String A = "Jan";
String B = "Feb";
...
the next step would be ...
HashMap myMap = HashMap();
hm.put("A",A);
hm.put("B",B);
session.setAttribute ("myMap", myMap);
...
<html:link action="/inquiry" name="myMap" transaction="true" scope="session">
<bean:write name="inquiryHdrRow" property="subject"/>
</html:link>
---- and the on the next JSP...
String test = request.getParameter("A");..???
Originally posted by Amit Shanker:
You may also want to try out something like the below code snippet for forwarding :-)
<html>
<head>
<meta http-equiv="Refresh" content="0; url=http://www.hotmail.com">
</head>
<body>
</body>
</html>