Hi all,
Sorry about the subject line, it's the best I can do in one sentance.
What I'm trying to do, is set up the wecome file, so that instead of having
to go via a html or jsp page, I can go straight to an action class! Any
ideas?
If someone types in htt://our.site.com/ourapp then it should go
In the default blank struts there is an index.html (or jsp) that
forwards to a global welcome. But your welcome to forward it to your
start action.
Johan
Simon Kelly wrote:
Hi all,
Sorry about the subject line, it's the best I can do in one sentance.
What I'm trying to do, is set up the wecom
Ok.
Thanks for that.
Cheers
Simon
- Original Message -
From: "Johan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, June 30, 2003 5:10 PM
Subject: Re: site root going straight to a .do
> In the default blank st
Hi simon kelly,
I dont know why do u want to do that
If u would still need to do that, in the struts-config.xml
>
type="...GetEventChangeAction"
..
..
..
Than i think it will directly go to the action and displays the result which is
evaluated in the action class.{i.e,success or f
AIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, June 30, 2003 3:20 PM
Subject: Re: site root going straight to a .do
> Hi simon kelly,
> I dont know why do u want to do that
> If u would still need to do that, in the struts-config.
Have you tried configuring the in web.xml. I guess you
can do all this there.
Affan
"Simon Kelly" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> Sorry about the subject line, it's the best I can do in one sentance.
>
> What I'm trying to do, is set up the wecome file,
Yep. Done it!
Should have posted to say it's all working ok.
My bad ;-)
Cheers
Simon
- Original Message -
From: "Affan Qureshi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 30, 2003 3:00 PM
Subject: Re: site root going straight
Sent: Monday, June 30, 2003 3:00 PM
Subject: Re: site root going straight to a .do
> Have you tried configuring the in web.xml. I guess you
> can do all this there.
>
> Affan
>
> "Simon Kelly" wrote in message
> news:[EMAIL PROTECTED]
> > Hi all,
> >
> >
Simon
- Original Message -
From: "Prashanth.S" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, June 30, 2003 4:19 PM
Subject: Re: site root going straight to a .do
> Hi kelly
> How did u accomplished ur requireme
My understanding is that the webapp spec requires that files in the
welcome-file-list be actual files, not servlets, because it has to test
for their existence to decide which welcome file to use. So,
"/index.do" won't work.
K.C.
Affan Qureshi wrote:
Have you tried configuring the in web.
I've placed a blank index.do under my webapp and everything works great! I
believe the web container first checks for the existence of the file before
submitting the request. If file = true request is submitted and struts
magic begins =)
-Mark
At 09:13 AM 6/30/2003 -0700, you wrote:
My understa
2003 12:14 PM
To: Struts Users Mailing List
Subject: Re: site root going straight to a .do
My understanding is that the webapp spec requires that files in the
welcome-file-list be actual files, not servlets, because it has to test
for their existence to decide which welcome file to use
at this is slated to be changed in a later release of the
servlet spec (I'm not sure if it made it into 2.4).
Steve
> -Original Message-
> From: Mark McBride [mailto:[EMAIL PROTECTED]
> Sent: June 30, 2003 9:25 AM
> To: Struts Users Mailing List
> Subject: Re: site root g
FYI doesn't work in Tomcat 5 either.
Steve
> -Original Message-
> From: Steve Raeburn [mailto:[EMAIL PROTECTED]
> Sent: June 30, 2003 1:42 PM
> To: Struts Users Mailing List
> Subject: RE: site root going straight to a .do
>
>
> I'd be interested to s
'm not sure if it made it into 2.4).
Steve
> -Original Message-
> From: Mark McBride [mailto:[EMAIL PROTECTED]
> Sent: June 30, 2003 9:25 AM
> To: Struts Users Mailing List
> Subject: Re: site root going straight to a .do
>
>
> I've placed a blank index.do unde
Ah! I understand, the empty file fools resin into think it exists.
I'll try it out.
Steve
> -Original Message-
> From: Mark McBride [mailto:[EMAIL PROTECTED]
> Sent: June 30, 2003 1:51 PM
> To: Struts Users Mailing List
> Subject: RE: site root going straight to a .d
I have used a filter instead of specifying a welcome file:
WelcomeFilter
/
This mapping works under Tomcat 4.1.24. My WelcomeFilter then forwards
to my Homepage.do action.
I did this because I wanted to hide all of my .jsp files under /WEB-INF
and compile them before deployment. Com
ilto:[EMAIL PROTECTED]
> Sent: June 30, 2003 2:06 PM
> To: Struts Users Mailing List
> Subject: RE: site root going straight to a .do
>
>
> Ah! I understand, the empty file fools resin into think it exists.
> I'll try it out.
>
> Steve
>
> > -Original Message-
omes along later and tries to edit the file.
Steve
> -Original Message-
> From: Steve Raeburn [mailto:[EMAIL PROTECTED]
> Sent: June 30, 2003 2:06 PM
> To: Struts Users Mailing List
> Subject: RE: site root going straight to a .do
>
>
> Ah! I understand, the em
redirects control to the action.
Hope this helps
Shashank
- Original Message -
From: Simon Kelly
To: Struts Users Mailing List
Sent: Monday, June 30, 2003 6:16 PM
Subject: site root going straight to a .do
Hi all,
Sorry about the subject line, it's the best I can do i
20 matches
Mail list logo