Re: Cannot do getRequestDispatcher("/login.jsf").forward() with JSF?

2005-11-07 Thread Francesco Consumi
Quoting Yee CN <[EMAIL PROTECTED]>: Anyway around this? I wrote a custom tag, that controls if user has got the required level to acces page, as this: The code of tag follows: public int doStartTag() throws JspException { JspWriter out = pageContext.getOut(); try {

RE: Cannot do getRequestDispatcher("/login.jsf").forward() with JSF?

2005-11-07 Thread Yee CN
PROTECTED] Sent: Tuesday, 8 November 2005 12:20 AM To: MyFaces Discussion; [EMAIL PROTECTED] Subject: RE: Cannot do getRequestDispatcher("/login.jsf").forward() with JSF?   The O'Reilly book ("JavaServer Faces") has an example of how to do automatic login page redirect

RE: Cannot do getRequestDispatcher("/login.jsf").forward() with JSF?

2005-11-07 Thread CONNER, BRENDAN \(SBCSI\)
05 4:41 AMTo: 'MyFaces Discussion'; [EMAIL PROTECTED]Subject: RE: Cannot do getRequestDispatcher("/login.jsf").forward() with JSF? I solved the problem using sendRedirect(). However forward() was apparently used successfully in http://www.javaworld.com/javaworld/jw-

Re: Cannot do getRequestDispatcher("/login.jsf").forward() with JSF?

2005-11-07 Thread Michael Ageeb
11:53 AM To: 'MyFaces Discussion' Subject: Cannot do getRequestDispatcher("/login.jsf").forward() with JSF?   Hi,   I am trying to write a very simple security filter to redirect the user to the login page if he/she is not login, something like the following:     

RE: Cannot do getRequestDispatcher("/login.jsf").forward() with JSF?

2005-11-07 Thread Yee CN
]] Sent: Monday, 7 November 2005 11:53 AM To: 'MyFaces Discussion' Subject: Cannot do getRequestDispatcher("/login.jsf").forward() with JSF?   Hi,   I am trying to write a very simple security filter to redirect the user to the login page if he/she is not login, somethin

Cannot do getRequestDispatcher("/login.jsf").forward() with JSF?

2005-11-06 Thread Yee CN
Hi,   I am trying to write a very simple security filter to redirect the user to the login page if he/she is not login, something like the following:       public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)     throw