Re: login test in a jsp page - any suggestions

2003-08-27 Thread Emerson Cargnin
D]> Sent: Tuesday, August 26, 2003 2:52 PM Subject: Re: login test in a jsp page - any suggestions isn't it should be better to put his verification at actions? maybe a common super action could validade it, but I think that the jsp should be the last place to put it. Ideally, the js

RE: login test in a jsp page - any suggestions

2003-08-27 Thread Yee, Richard K,,DMDCWEST
od on your forms. -Richard -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 8:03 PM To: Struts Users Mailing List Subject: Re: login test in a jsp page - any suggestions How can I set things up so people can't get to a jsp page? I

RE: login test in a jsp page - any suggestions

2003-08-27 Thread Pady Srinivasan
I would do this using Servlet Filters. Thanks -- pady [EMAIL PROTECTED] -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 11:03 PM To: Struts Users Mailing List Subject: Re: login test in a jsp page - any suggestions How can I set

Re: login test in a jsp page - any suggestions

2003-08-27 Thread David Thielen
dave - Original Message - From: "Emerson Cargnin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Tuesday, August 26, 2003 2:52 PM Subject: Re: login test in a jsp page - any suggestions > isn't it should be better to put his ve

Re: login test in a jsp page - any suggestions

2003-08-27 Thread David Thielen
on. > > These are the methods I found reading posts going back to 2001 in this > mailing list. I use this link to search the mailing list: > http://marc.theaimsgroup.com/?l=struts-user&r;=1&w;=2 > > HTH, > Cezar > > > -----Original Message- > > From: David

RE: login test in a jsp page - any suggestions

2003-08-27 Thread Cezar Nasui
mp;r;=1&w;=2 HTH, Cezar > -Original Message- > From: David Thielen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 26, 2003 4:16 PM > To: Struts-Users > Subject: login test in a jsp page - any suggestions > > Hi; > > I want to put a test in every jsp

Re: login test in a jsp page - any suggestions

2003-08-26 Thread Emerson Cargnin
isn't it should be better to put his verification at actions? maybe a common super action could validade it, but I think that the jsp should be the last place to put it. Ideally, the jsp's are not even exposed to clients, making the access the view only through actions. David Thielen wrote: Hi;

RE: login test in a jsp page - any suggestions

2003-08-26 Thread Pady Srinivasan
Why not use a servlet filter ? Thanks -- pady [EMAIL PROTECTED] -Original Message- From: David Thielen [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 4:16 PM To: Struts-Users Subject: login test in a jsp page - any suggestions Hi; I want to put a test in every jsp page

login test in a jsp page - any suggestions

2003-08-26 Thread David Thielen
Hi; I want to put a test in every jsp page to see if the user is logged in. And if not, to forward them to login.jsp. Is there any way to do this other than putting java code in my jsp? I'm hoping there is some struts system like . (Yes, I can have everything be an action that does this test an