[jboss-user] [JBoss Portal] - Re: User Identity modules in a Portlet?
remi_dong
do-not-reply at jboss.com
Fri Oct 5 05:07:01 EDT 2007
"remi_dong" wrote : I have other question.
| when i finish the verification the password in my Portlet, i want connect this use, so i have a JSP for send to context de auth.
| But it send me to page login.jsp.
| --------------------------------------------------------------------------------------
| <%
| String form_path="/auth/";
| String contextPath = request.getContextPath();
| String userVe =request.getAttribute("user").toString();
| String passVe =request.getAttribute("pass").toString();
| String uPath=request.getAttribute("path").toString();
| %>
| form name="form2" method="POST" action='<%=form_path+uPath%>'
| input type="hidden" name="user" value='<%=userVe%>'/
| input type="hidden" name="pass" value='<%=passVe%>'/
| /form
|
| script type="text/javascript"
| <!--
| document.form2.submit();
| //-->
| /script
| --------------------------------------------------------------------------------------
| Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091884#4091884
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091884
More information about the jboss-user
mailing list