Hello.
My name is Antonio, I'm beginning with Struts2 and this is my first post.
Where should store struts.xml if I need to use an action as a welcome file?
In example "Hello World" (maven):
http://struts.apache.org/development/2.x/docs/hello-world-using-struts-2.html
I have to move struts.xm
It's not possible at the moment. It's a feature that I would like to have
too.
On Fri, May 31, 2013 at 1:17 PM, Antonio Sánchez wrote:
> Hello.
>
> My name is Antonio, I'm beginning with Struts2 and this is my first post.
>
> Where should store struts.xml if I need to use an action as a welcome
Sorry, second link is this:
http://struts.apache.org/development/2.x/docs/crud-demo-i.html
El 31/05/13 20:17, Antonio Sánchez escribió:
Hello.
My name is Antonio, I'm beginning with Struts2 and this is my first post.
Where should store struts.xml if I need to use an action as a welcome
file?
Is it in JIRA as feature request?
I guess I can still redirect "index.jsp" to "index.action", although it
is not elegant, in my opinion.
Newbies are then confused because the code in the examples are using
this feature (index.action in welcome-files), but they don't work. A
warning would hel
2013/5/31 Antonio Sánchez :
> I have to move struts.xml (originally inside resources folder) inside maven
> 'main' folder to make it work and avoid
>
> HTTP 404 - There is no Action mapped for namespace [/] and action name
> [] associated with context path [/Hello_World_Struts2_Mvn].
>
> but th
In my experience most containers rely on the existence of the file
specified in the , but don't directly use it. Because of
this, if you define your welcome file as:
index.jsp
Then create a dummy (or even 0 byte length) index.jsp file, your container
will actually go through the normal proce
6 matches
Mail list logo