According to the documentation if you use href, the value passed will be unchanged. It looks like you should use action=userlogin_display
and the property and name attributes to set the action parameter.

-Richard

Mon Cab wrote:
I have a jsp page called link test (included below), However, the url
for *Login Link* is not being rewritten to include the jsessionid. Cookies are disabled on my browser, and jsessionid is being generated
for form submissions, but not for links.

Am I missing something here? Pleae help.


<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>


<html>

<head><title>Title</title></head>

<body>

<table>
  <tr>
     <td>         
        <html:link href="userLogin_display.do?action=login">
          *Login Link*
        </html:link>
        </td>
   <tr>
</table>

</body>

</html>



This is rendering as:

<html>

<head><title>Title</title>

   <script language='javascript'
src='http://127.0.0.1:3005/js.cgi?caw&r=15006'></script>

</head>

<body>

<table>
  <tr>
        <td>
          <a href="userLogin_display.do?action=login">*Login Link*</a>

        </td>
   <tr>
</table>

</body>

</html>

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to