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

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

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 struts there is an index.html (or jsp

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 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

Re: site root going straight to a .do

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

Re: site root going straight to a .do

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

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 to a .do Have you tried configuring

Re: site root going straight to a .do

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

Re: site root going straight to a .do

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

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

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

RE: site root going straight to a .do

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

RE: site root going straight to a .do

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

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 see what you've put in your WEB.XML file

RE: site root going straight to a .do

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

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 .do This is my entry

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: 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

RE: site root going straight to a .do

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

RE: site root going straight to a .do

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

Re: site root going straight to a .do

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