Hello James,
I had the same problem and another Struts 2 developer showed me one
way to do it. (I didn't get it to work to specify the action as a
welcome-file.) The solution is almost like you did. The only
difference is how you call the action from index.jsp. I don't know if
it's more elegant bu
mez Hassan <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> Date: Thu, 21 Aug 2008 17:43:10 +0200
> To: 'Struts Users Mailing List'
> Subject: RE: Action as Welcome File
>
> Hi,
> I guess you can do that by specifying the following in web.xml:
>
>
> struts2
> /*
> REQUEST
> FORWARD
> INCLUDE
> ERROR
>
this result in an xml-error: The content of element type "filter-mapping" must
match "(filter-name,(url-pattern|servlet-name))".
> In my web.xml I have:
>
>
> index.jsp
>
>
/*
REQUEST
FORWARD
INCLUDE
ERROR
-Original Message-
From: James Neff [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2008 4:42 PM
To: Struts Users Mailing List
Subject: Re: Action as Welcome File
Felipe Lorenz wrote:
> Hi..
>
>
Felipe Lorenz wrote:
Hi..
Did you try change in web.xml file? Change from index.jsp to
your_action.action!! i dont know if it work...
Felipe.
On Thu, Aug 21, 2008 at 7:24 AM, Roger <[EMAIL PROTECTED]> wrote:
Sorry, I know that I've read about this here before, but I can't find the
thread.
Hi..
Did you try change in web.xml file? Change from index.jsp to
your_action.action!! i dont know if it work...
Felipe.
On Thu, Aug 21, 2008 at 7:24 AM, Roger <[EMAIL PROTECTED]> wrote:
> Sorry, I know that I've read about this here before, but I can't find the
> thread. Can someone point me to
Sorry, I know that I've read about this here before, but I can't find the
thread. Can someone point me to how to configure an action as the "welcome"
file?
Regards
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comm
Yup! I like it.
Thanks
Wiebe
-Original Message-
From: David G. Friedman [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 4:53 PM
To: Struts Users Mailing List
Subject: RE: Struts Action as Welcome File
Wiebe,
If you want any directly-web-accessible JSP to display a tile
at work with Tiles?"
Regards,
David
-Original Message-
From: Wiebe de Jong [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 5:01 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts Action as Welcome File
Would that work with Tiles?
Wiebe
-Original Mess
ginal Message-
From: Matt Bathje [mailto:[EMAIL PROTECTED] Sent: Thursday, September
23, 2004 1:51 PM
To: Struts Users Mailing List
Subject: Re: Struts Action as Welcome File
If search engine placement is a concern for your app, the home page
redirect may be a bad idea. We used this instead:
(in inde
er 23, 2004 1:51 PM
To: Struts Users Mailing List
Subject: Re: Struts Action as Welcome File
If search engine placement is a concern for your app, the home page
redirect may be a bad idea. We used this instead:
(in index.jsp):
<%@ taglib uri="/tags/struts-logic" prefix="logic
Would that work with Tiles?
Wiebe
-Original Message-
From: Matt Bathje [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 1:51 PM
To: Struts Users Mailing List
Subject: Re: Struts Action as Welcome File
If search engine placement is a concern for your app, the home page
or a more elegant solution, but it'll do.
Thanks!
Scott Mulligan
-Original Message-
From: Wiebe de Jong [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 4:23 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts Action as Welcome File
Just have your web.xml p
That worked. I was hoping for a more elegant solution, but it'll do.
Thanks!
Scott Mulligan
-Original Message-
From: Wiebe de Jong [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 23, 2004 4:23 PM
To: 'Struts Users Mailing List'
Subject: RE: Struts Action as Welc
List
Subject: Struts Action as Welcome File
I am trying to set my application's welcome file to a struts dispatch action
(login.do?method=load), but it isn't being found. Is there any reason I
can't use a dispatch action as my welcome page? Is there a better way to do
this?
I setup index.jsp as my welcome file (in web.xml) and then just have
index.jsp forward to the Action of my choice.
On Thu, 23 Sep 2004 15:36:42 -0400, Mulligan, Scott H
<[EMAIL PROTECTED]> wrote:
> I am trying to set my application's welcome file to a struts dispatch action
> (login.do?method=loa
I believe you can only do this since version 2.4 of servlet specification.
Niall
- Original Message -
From: "Mulligan, Scott H" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, September 23, 2004 8:36 PM
Subject: Str
I am trying to set my application's welcome file to a struts dispatch action
(login.do?method=load), but it isn't being found. Is there any reason I
can't use a dispatch action as my welcome page? Is there a better way to do
this?
Scott Mulligan
-
18 matches
Mail list logo