Here is my scenario :

 

http://localhost:8080/jetspeed/portals/default-page.psml
<http://localhost:8080/jetspeed/portals/default-page.psml>    carries a
log-in portlet. Once, the user enters the userID and password and clicks on
the sign-in button, I want the same default-page to reopen without the login
portlet.

How can I do that ? Here is my JSP page I use in the Login portlet:

 

<%@ page session="false" %>

<%@ taglib uri="http://java.sun.com/portlet"; prefix="portlet" %>

<portlet:defineObjects/>

 

 

<form action = "http://localhost:8080/jetspeed/portal/default-page.psml";>

      <table>

 

      <tr>

            <td><font size="2" face="Verdana">User ID :</font></td>

            <td><input type="text" id="text_userID" value=""></td>

      </tr>

      <tr>

            <td><font size="2" face="Verdana">Password :</font></td>

            <td><input type="text" id="text_pass" value=""></td>

            

      </tr> 

      <tr>

            <td/>

            <td>

                        <input type="submit" value="Signin">


            </td>

      </tr>

      

</table>

</form>

 

I would really appreciate if someone can help me out with this.

 

Thanks in advance,

Piyush

 

Reply via email to