Hi,
Setting attributes in the request is fine .. But the other action class
can also directly be called by a JSP, in which case it will have to do
request.getParameter() , not request.getAttribute().
Of course, it can check if request.getParameter() returns null, then try
for request.getAttribut
Hi,
I really need your help and hints... I was not able to found something
related on internet.
how can i make reusable 'high-level' components? taglib seems to be useless
for such components (that already use JSP's and actions). Tiles is exactly
what i need but it does not seems to work if sub-c
hi richard,
Well, tiles are great as they allow to create and define your template
definitions in xml files that can be changed easily.
One may follow the simple jsp includes way but usually i prefer tiles.
Your problem goes into conditional tiling.
In terms of typical web applications, these con
You can set the attribute in the request as well.
String string1 = "Stuff" ;
request.setAttribute("Info", string1) ;
Then later in the other action class, just do :
String output = (String) request.getAttribute("Info") ;
Rajesh Khater wrote:
Hi,
I need to pass some parameters to another act
1 simple way
+ map = request.getParameterMap()
+ request.getSession().setAttribute("past_req_data",map);
+ redirect to next action
+ request.getSession().getAttribute("past_req_data");
+ request.getSession().removeAttribute("past_req_data");
HTH
-navjot
|-Original Message-
|From: Rajesh
Did anyone face the following problem while loading validation-rules.xml?
The following message is displayed during deployment and so I'm unable to use
validator framework:
13:08:42,913 INFO [Engine] validator: Loading validation rules file from '/WEB-
INF/validation-rules.xml'
13:08:42,923 INF
Hi,
I need to pass some parameters to another action class from my action
class. I can do it using query String. But how can I send the parameters
using HTTP POST programmatically ??
Query strings also have some maximum length and my parameter values can
get pretty lengthy.
Thanks,
Rajesh.
***
I'm evaluating a possible Struts-Tiles solution but require clarification to the Tiles
approach to page composition.
My requirement is that a potential web user could be categorised as an individual, a
small business, a corporate, etc. All categories of users have access to the same
pages but
201 - 208 of 208 matches
Mail list logo