site root going straight to a .do

2003-06-30 Thread Simon Kelly
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

Re: site root going straight to a .do

2003-06-30 Thread Johan
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

Re: site root going straight to a .do

2003-06-30 Thread Simon Kelly
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

Re: site root going straight to a .do

2003-06-30 Thread Prashanth.S
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

Re: site root going straight to a .do

2003-06-30 Thread Simon Kelly
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.

Re: site root going straight to a .do

2003-06-30 Thread Affan Qureshi
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,

Re: site root going straight to a .do

2003-06-30 Thread Simon Kelly
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

Re: site root going straight to a .do

2003-06-30 Thread Prashanth.S
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, > > > >

Re: site root going straight to a .do

2003-06-30 Thread Simon Kelly
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

Re: site root going straight to a .do

2003-06-30 Thread K.C. Baltz
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.

Re: site root going straight to a .do

2003-06-30 Thread Mark McBride
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

RE: site root going straight to a .do

2003-06-30 Thread Giampiero De Ciantis
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

RE: site root going straight to a .do

2003-06-30 Thread Steve Raeburn
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

RE: site root going straight to a .do

2003-06-30 Thread Steve Raeburn
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

RE: site root going straight to a .do

2003-06-30 Thread Mark McBride
'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

RE: site root going straight to a .do

2003-06-30 Thread Steve Raeburn
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

Re: site root going straight to a .do

2003-06-30 Thread Jason Lea
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

RE: site root going straight to a .do

2003-06-30 Thread Steve Raeburn
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-

RE: site root going straight to a .do

2003-06-30 Thread Mark McBride
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

Re: site root going straight to a .do

2003-06-30 Thread Shashank Dixit
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