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 {
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
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-
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:
]]
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
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
6 matches
Mail list logo