It's a matter of personal preferences. Mine is to move
all .jsp etc. files to a directory underneath /WEB-INF
and make use of ForwardAction instead. I found this
to be the easiest approach to enforce the 'Action
First' rule, in particular when combined with Tiles.
Of course, my 'default' start page is an Action, too
(usually named main.do, start.do or the like).

-- Chris

----- Original Message ----- 
From: "Ed Robbins" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 23, 2003 4:57 PM
Subject: Re: .do as welcome-file


> I like to do it with a filter.  I can accomplish several things with it, 
> tighter security, I prevent someone from calling any of my jsp's 
> directly and I can then have the welcome page be an action.
> 
> Ed
> 
> Mainguy, Mike wrote:
> 
> >This is actually the way I do it.
> >
> >-----Original Message-----
> >From: Menke, John [mailto:[EMAIL PROTECTED] 
> >Sent: Tuesday, September 23, 2003 9:58 AM
> >To: 'Struts Users Mailing List'
> >Subject: RE: .do as welcome-file
> >
> >
> >I guess it's all the same as long as it works.  You solution might be
> >simpler actually no web.xml configs for the servlet

-- CLIP!


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to