WebSeal and jsp content updated by Ajax

Posted by lior chaga on Server Fault See other posts from Server Fault or by lior chaga
Published on 2010-05-06T12:59:20Z Indexed on 2010/05/06 13:08 UTC
Read the original article Hit count: 589

Filed under:
|

Hey,

I have a problem running an application on environment with WebSeal. It is a web application with Java server that contains many parts that are replcaed within the page according to user input. For instance - a form called Outer.jsp may contain a form:options combo-box (by spring-forms), that uppon selection of an option, a certain Div is updated with a content produced by a jsp and fetched by an Ajax call (the ajax impementation in the client is done by Prototype JavaScript framework 1.5.1.2).

Let's call the content fetched by ajax - Inner.jsp So Outer.jsp is fetching Inner.jsp, which in turn uses js functions in files included by the Outer.jsp.

This, I think, is where my problem starts - Inner.jsp is not familiar with any of the functions included in Outer.jsp. And so, almost any operation performed by Inner.jsp is failing miserably. Needless to say - this works perfect when running on environment without WebSeal.

Note that the scripting is enabled in WebSeal junction (with the -J option). I also see that the content returned by the Ajax call includes a document.cookie added by WebSeal (not sure it matters to this problem)

Can anyone assist?

Thanks! Lior

© Server Fault or respective owner

Related posts about AJAX

Related posts about jsp