Login portlet - access request or session context

"irvin.belloni" <[email protected]>
Newsgroups gmane.comp.jakarta.jetspeed.user
Message-ID <[email protected]>
I'm using jetspeed 2.2.1 and its login portlet.
When the user inputs a wrong login or password, he's being denied access and
a error message is displayed.
So far, so good.
When refreshing the page, we expect the message to disappear and the login
page to go back to its normal state. But the error message persists.

Being a jetspeed portlet i have no access to the controller, i can only
handle action via the jsp file.
To retrieve the error code, we use

<c_rt:set var="errorCode"
value="<%=((RequestContext)request.getAttribute(RequestContext.REQUEST_PORTALENV)).getSessionAttribute(LoginConstants.ERRORCODE)%>"/>

Is there any way to unset this error code from the jsp file so that when the
pasge is refreshed, we won't see the error message any more.
-- 
View this message in context: http://old.nabble.com/Login-portlet---access-request-or-session-context-tp32694770p32694770.html
Sent from the Jetspeed - User mailing list archive at Nabble.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.