I am trying to build a JSP page that contains a DIV which can be dynamically updated via AJAX whenever a navigation tab is selected. For this, I am using Struts 18.104.22.168 with included dojo plugin.
In my JSP head element, I have the following:
Here is the DIV element defined on the same JSP:
Inside Struts.xml, here is what I have defined for QueueView action (note that there are no special parameters being set for struts.xml):
Here is the action class for QueueView:
Can somebody help point me in the right direction?
After working through some example tonight at home, I'm not having any problems getting Ajax to work on Tomcat 6. I'm using WebSphere 6.1 at work and it has been producing odd system log messages. I think my problem has something to do with Websphere, I'll follow up tomorrow.
It definitely looks like an issue with WebSphere 22.214.171.124. I set "com.ibm.ws.webcontainer.invokefilterscompatibility" to true in the container settings, but that didn't produce any results. I'm also seeing the following after every request:
This thread describes the same problem with the strange log message, but it doesn't address non-functional Ajax functionality: