Igor, You're right! This 302 depends on server or server configuration. For
example tomcat just sets cookie without redirect.

I guess the correct question will be - how to generate url without sessionId
from WebResource?

I'm trying to generate url to an application page from a .csv file. If I
request .csv file from a browser that doesn't support cookies then links in
this file are generated with jsessionid.

String url = RequestCycle.get().urlFor(AnnouncementViewPage.class,
pageParams).toString();
String absoluteUrl = RequestUtils.toAbsolutePath(url);



On Wed, Jul 29, 2009 at 6:50 PM, Igor Vaynberg <igor.vaynb...@gmail.com>wrote:

> doesnt look like that url is even handled by wicket....
>
> -igor
>
> On Tue, Jul 28, 2009 at 12:16 AM, Gatos<ega...@gmail.com> wrote:
> > When I try to request a resource using url
> http://domain.com/resource.csv
> > then I get 302 to http://domain.com/resource.csv;jsessionid=joiadfadsfad
> > and all generated links it csv file with 'jsessionid' parameter.
> >
> > How to use resource without sessionid?
> >
> > Thank you
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to