Holly, could you possibly branch the behavior based on an attribute (after the authentication)? or is this something that has to happen to actually process the login in different ways?<br><br><div class="gmail_quote">On Mon, Apr 16, 2012 at 4:31 PM, Wang, Holly <span dir="ltr">&lt;<a href="mailto:holly.wang@csun.edu">holly.wang@csun.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am asked to modify shib login.jsp page so the form with take multiple submit command. Depending on the submit button value, we send the form to different places.<br>
<br>
I did some testing, tried to add a new jsp page to handle it. But I can&#39;t find a place to define the servlet definition for the new jsp page.<br>
<br>
Does anyone has an example on the login.jsp which takes multiple submit commend?<br>
<br>
Current login.jsp form:<br>
<br>
&lt;form action=&quot;j_security_check&quot; method=&quot;post&quot; autocomplete=&quot;off&quot;&gt;<br>
&lt;input type=&quot;text&quot; id=&quot;uid&quot; name=&quot;j_username&quot; style=&quot;width:100px&quot; value=&quot;&quot;/&gt;<br>
&lt;input type=&quot;password&quot; name=&quot;j_password&quot; style=&quot;width:100px&quot;/&gt;<br>
&lt;input type=&quot;submit&quot; value=&quot;Login&quot; /&gt;<br>
&lt;/form&gt;<br>
<br>
<br>
We want it to be like following, but action lead to different places per the submit value:<br>
<br>
&lt;form action=&quot; &quot;  method=&quot;post&quot; autocomplete=&quot;off&quot;&gt;<br>
&lt;input type=&quot;text&quot; id=&quot;uid&quot; name=&quot;j_username&quot; style=&quot;width:100px&quot; value=&quot;&quot;/&gt;<br>
&lt;input type=&quot;password&quot; name=&quot;j_password&quot; style=&quot;width:100px&quot;/&gt;<br>
&lt;input type=&quot;submit&quot; value=&quot;Login&quot; /&gt;<br>
&lt;input value=&quot;moodleadmin&quot; type=&quot;submit&quot; name=&quot;moodleadmin&quot; id=&quot;moodleadmin&quot;&gt;<br>
&lt;/form&gt;<br>
<br>
thanks<br>
<br>
Holly Wang, IT Department  CSUN, <a href="tel:818-677-2031" value="+18186772031">818-677-2031</a><br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div style="margin-left:40px">Karla Borecky<br>Systems Administrator<br>ITS<br>Smith College<br>Northampton, MA 01063<br></div><br>