Skip to Content
Former Member
Jul 22, 2009 at 01:07 PM

custom logon - ErrorBean - error.getMessage() is null??


Hi All,

I am working on a custom login page.

I have imported >> created a new JSPDynpage component with jsp file: 'showlogon.jsp' (copied umlogonpage.jsp and made changes according to our requirements)

The login works fine!!

But, there is no message being displayed when user authentication fails.

<div class="urMessageArea">
    <% if ( error.getMessage() != null ) { %>
    <!-- display error message if there is one -->
        <div class="urMsgBarErr">						
            <span class="urMsgBarImgError"><img height="12" width="12" src="<%=webpath%>css/common/1x1.gif"></span>
            <span class="urTxtStd" tabindex="0">
    <% }else{%>
    <% }%>

The out come of above code is always=


I have jsp:useBean to access ErrorBean:

<jsp:useBean id="error" class="" scope='request'/>

I don't know why the value of error.getMessage() is null...

In the folder -> dist\PORTAL-INF\lib --> In addition to the jars and umelogonbase.jar, I also added --> which has ErrorBean class

Has anyone encountered such a scenario? I'd really appreciate any inputs.. Thanks,



Edited by: SK on Jul 22, 2009 6:38 PM