Skip to Content
0
Former Member
May 19, 2008 at 06:52 AM

Request object problem

10 Views

Hi All

In the UmLogonPage.jsp, I am calling my abstractportalcomponent on submit action like this (form method= post):

ACTION="http://myserver.com:50600/irj/servlet/prt/portal/prtroot/com.mylogon.portal.runtime.mylogon.mylogontest"

When I get the control in the doContent method, I am not able to access the username and password using the request object. When I display the values using request.getParameter("j_user") and request.getParameter("j_password"), both are 'null'.

I can pass the parameters with the URL this way:

ACTION="http://myserver.com:50600/irj/servlet/prt/portal/prtroot/com.mylogon.portal.runtime.mylogon.mylogontest?j_user=...&j_password=..."

and im able to access them in the doContent methos, but do not want to do it because they would be visible to the user.

Why am I not being able to access the request object?

What could be the issue?

Thanks

J