Struts 2.2.1 appends “.action” suffix to name?

This is the default extension (and should be in 2.1.8.1 too).

This is the default extension (and should be in 2.1.8.1 too). You can change it in your struts.xml.

This has not changed, AFAIK. Be sure to understand the difference between the "struts action" and the "action attribute of a HTML FORM" element Typically, to render a FORM tag in Struts2 you'd use a (Struts2) form tag - its action attribute corresponds to the name of a Struts2 action, which corresponds to a url without the suffix (by default '. Action', but you can change it) So, the Struts2 tag would typically produce the HTML output.

Cannot see th logic. Two different versions of struts produce different HTML(!) code. So I don't mix the action and form of HTML, but get some side effect with new suffix.

– Dewfy Oct 14 '10 at 19:03 "Two different versions of struts produce different HTML(!) code. " No, they don't -AFAIK. Show us an example if you found otherwise.

– leonbloy Oct 14 '10 at 20:58 read attentively my question. I have provided the example. The source of project wasn't changed, only version of struts.

– Dewfy Oct 15 '10 at 8:19 you didn't provided the code of the jsp that produced that html, nor the relevant configuration sections (struts.action. Extension ) – leonbloy Oct 15 '10 at 13:49 And a more fundamental thing: you say "We don't use suffix ". Action" for naming" .

So what suffix do you use in your urls? An empty one? That must be configured somewhere.(if not, ".

Action" is the default) – leonbloy Oct 15 '10 at 13:51.

I have a similiar problem when change to struts-2.2.1 from struts-2.1. 8.1. Struts-2.2.1 will add the ". Action" extension automatically for redirectAction result. This is very annoying.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions