The ChartImgTag class (corresponding to the
<cewolf:img> tag manually appends a semicolon, the
SESSIONID_KEY and the session ID to the img URL. This
causes the url to break when using IIS as a web server,
since it cannot handle the semicolon. My app works
just fine by storing the JSESSIONID in a cookie.
According to the J2EE docs, response.encodeURL() will
put the JSESSIONID into the URL if it needs to.
There's a javadoc comment on the function that reads:
To enable further server side scriptings on JSP output
the session ID is always encoded into the image URL
even if cookies are enabled on the client side.
I'm not sure what "further server side scriptings on
JSP output" is supposed to mean.
I've modified my local copy of cewolf to just comment
out lines 143-147 in ChartImgTag.java, and everything
works beautifully, using the cookie.
Logged In: YES
user_id=805618
Will look into it.
Logged In: YES
user_id=574032
With "further server side scriptings on
JSP output" (bad Englisch indeed, sorry) was meant that
Cewolf can be used outside a servlet container.
The special requirments arised from the JasperReports
project who wanted to use Cewolf for reports and do not have
a cooky mechnism.
We should make this configurable as an attribute in the img tag.
Regards,
Guido
Logged In: YES
user_id=987953
I encountered another problem due to the presence of
jsession id in the url:
We are in a load balanced environment where an apache server
load balances on 2 Oracle Application Servers.
The presence of this parameter breaks the load balancer and
a switch occurs on the rendering.
I removed the code in lines 143-147 and it worked fine, so
I'm waiting impatiently your patch.
Logged In: YES
user_id=987953
I joined a correction to this bug in the patches with id
1345158.