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
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
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 struts there is an index.html (or jsp
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
action path=/welcome.jspthis is important
type=...GetEventChangeAction
..
..
..
/action
Than i think it will directly go to the action and displays the result which is
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.xml
action path=/welcome.jspthis is important
type
Have you tried configuring the welcome-file-list 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
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 to a .do
Have you tried configuring
: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,
Sorry about the subject line, it's the best I can do in one sentance.
What I'm
- 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 requirements..pls let us know..
Thanks
Prashanth
Simon
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
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
: June 30, 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
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 going straight to a .do
I've placed a blank
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 see what you've put in your WEB.XML file
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 going straight to a .do
I've placed a blank index.do under my
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 .do
This is my entry
I have used a filter instead of specifying a welcome file:
filter-mapping
filter-nameWelcomeFilter/filter-name
url-pattern//url-pattern
/filter-mapping
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
]
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-
From: Mark McBride [mailto:[EMAIL PROTECTED]
Sent: June 30
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 empty file fools resin into think it exists.
I'll
then
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 in one
20 matches
Mail list logo