My struts.xml:
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;#60;action name=StoreLawDraft
class=lol.action.admin.StoreLawAction#62;
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp; #60;result
name=success#62;/admin/processlaw.jsp#60;/result#62;
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;#60;result
Sorry, but I can't read it, could you just send it as simple text?
Regards
--
Lukasz
http://www.lenart.org.pl/
2008/7/17 holod [EMAIL PROTECTED]:
My struts.xml:
nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;#60;action name=StoreLawDraft
class=lol.action.admin.StoreLawAction#62;
Stacktrace:
[17.07.08 11:20:18:239 MSD] 0066 SystemOut O #PrepareLawDraftAction
RESULT = success
[17.07.08 11:20:18:255 MSD] 0066 ServletWrappe E SRVE0068E:
Необрабатываемая исключительная ситуация сгенерирована в одном из служебных
методов сервлета: /admin/processlaw2.jsp.
name of the action in struts.xml, so you should put # in there.
It should be:
you shouldn't put # in there.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Lukasz Lenart wrote:
name of the action in struts.xml, so you should put # in there.
It should be:
you shouldn't put # in there.
Regards
--
Lukasz
http://www.lenart.org.pl/
-
To unsubscribe, e-mail: [EMAIL
I've fixed that already, the same exception. Seems like i've understood the
problem: I don't have jars which work with struts tags.
That it looks like, missing constructor
HttpRequestParametersHashModel(HttpServletRequest)
Regards
--
Lukasz
http://www.lenart.org.pl/
Finally, I found a error.
I've got freemaker.jar and freemaker-2.x.x.jar in classpath.
freemaker.jar is used by other app, freemaker-2.x.x is used by struts2 app.
So, the first freemaker.jar was on duty to provide classes.
Now, I've removed ald version of freemaker, and this terrible exception
My task is:
1. Action PrepareLawDraft has private field LawDraft lawDraft ; it has
public getter and setter.
This action fills LawDraft object fields.
2.On ActionSupport.SUCCESS I go to processlaw.jsp
On this jsp I want to output some fields of LawDraft and allow user to
modify
3.Then user
s:form action=# method=post
action is not the action attribute for particular form, but it's the
name of the action in struts.xml, so you should put # in there.
Could you post the whole stack trace?
Regards
--
Lukasz
http://www.lenart.org.pl/
9 matches
Mail list logo