Hi,
I've tried to answer your questions below based on my interpretation of the
documentation.
On Fri, Nov 5, 2010 at 8:33 AM, maven apache wrote:
> I meet some problem when I try to learn the namespace of struts2,I am using
> struts-2.2.1.
>
> After read the docs at:
> http://struts.apache.org
In this case you could interface to ActionMapping through url tag
(http://struts.apache.org/2.2.1/docs/url.html).
2010/11/5 maven apache :
> 2010/11/5 Maurizio Cucchiara
>
>> Note that without S2 tag you will not appreciate S2 potential.
>>
> So I wonder if the web ui are built by some javascrip
2010/11/5 Maurizio Cucchiara
> Note that without S2 tag you will not appreciate S2 potential.
>
So I wonder if the web ui are built by some javascript framework for exmaple
the ext -we used to build a form by the exe library:
var form=new *Ext*.*form*.FormPanel({});
And the form are sub
Note that without S2 tag you will not appreciate S2 potential.
Furthermore they are not hard to learn (take a look at
http://struts.apache.org/2.2.1/docs/tag-reference.html)
2010/11/5 maven apache :
> :)
>
> In fact the reason I do not want to use tag now is that I do not want
> everything done by
:)
In fact the reason I do not want to use tag now is that I do not want
everything done by the framework,since I am new in struts2,so I want to
learn struts step by step,I always thought that unless we know how the
framework work we can not take the most advantage of it.
When I know the work me
Struts tags are not mandatory in order to deploy an application, but
as Li suggested make your life easier :)
2010/11/5 maven apache :
> Thanks for all your guys reply.
>
> That's to say I have no choice but using the struts tag if I decide to use
> the struts??
>
--
Maurizio Cucchiara
Thanks for all your guys reply.
That's to say I have no choice but using the struts tag if I decide to use
the struts??
2010/11/5 Li Ying
> >>
>
> This HTML code, will post your form to the RELATIVE path [space/register].
> So, the ABSOLUTE path which is requested will depend on the current
>
>>
This HTML code, will post your form to the RELATIVE path [space/register].
So, the ABSOLUTE path which is requested will depend on the current
URL of this page.
If ABSOLUTE path is not right, no doubt struts2 can not map it to a
right namespace/action.
>> I will get a 404 error if I set t
>>
Are you rendering html code by your self?
Don't do this.
Try Struts2's tag lib instead.
Example:
The tag lib will convert the namespace/action to a valid URL for you.
And then,when you submit this form, on the server side, struts2 will
map your request URL to an action.
See:
http://strut
I meet some problem when I try to learn the namespace of struts2,I am using
struts-2.2.1.
After read the docs at:
http://struts.apache.org/2.2.1/docs/namespace-configuration.html
I am confused for the following reason:
The example:
greeting.jsp
bar1.jsp
10 matches
Mail list logo