--- shadman <[EMAIL PROTECTED]> wrote:
> but I canât seem to find any good non-Spring
> examples of passing a selection parameter into the
> Action to retrieve a specific record for display on
> another JSP.
I'm not sure what Spring has to do with this except
that the DAO/service would be injected in a different
way, yes?
> if (this.paramsMap.size() > 0) {
> if (this.paramsMap.containsKey("id")) {
> String idStr =
> CommonUtils.StrArr2Str((String[])
> this.paramsMap.get("id"));
> this.id = new Integer(idStr);
> }
> }
Just out of curiosity, why not use the type conversion
stuff and skip all this?
> I get this error message:
>
> No result defined for action
> com.att.etpi.eval.struts2.actions.DepartmentAction
> and result input.
Do you have a result defined for "input"? I didn't see
one. It would appear as though some validation
somewhere is failing hence it's trying to take you
back to the input result.
d.
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]