Tanks for the tip. That solve the problem, even if that's not very elegant according to the good practice in JSP : avoid scriptlet.

Carl

Scott Rowell wrote:
Here's what I did.

In the jsp, code:
<%
                sortURL = response.encodeURL("youDotDoHere.do");
%>

Now on your table tag use requestURI="<%=sortURL%>"

Hope this helps

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Marc
Begot
Sent: Tuesday, February 17, 2004 8:40 AM
To: [EMAIL PROTECTED]
Subject: [displaytag-user] href with no cookies


Hi,


Sorry if this question has already been answersed on this list, I've looked on the archive but found nothing yet.

I'm using display tag with struts and cookies disabled. Here is my jsp :

<display:table name="agences" sort="list" requestURI="entity.do" pagesize="15" defaultsort="2" >
<display:column property="code" title="code" sortable="true" headerClass="sortable" />
<display:column property="name" title="nom" sortable="true" headerClass="sortable" href="entity.do" paramId="id" paramProperty="id"
/>
<display:column title="action" href="entityDel.do" paramId="id" paramProperty="id">supprimer</display:column>
</display:table>


Evrything is ok if I enable cookies, but with cookies disabled, the link

generated by href and requestURI doesn't contain the ";jsessionId=".

Is there a solution for this issue ?

Thanks for your help,

Carl






------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user


------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user




------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ displaytag-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to