File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes struts 2.1.6 with ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts 2.1.6 with ajax" Watch "struts 2.1.6 with ajax" New topic
Author

struts 2.1.6 with ajax

rajeevp05
Greenhorn

Joined: Sep 17, 2008
Posts: 1
I am trying small exmples for AJAX in struts 2.1.6. when i am giving the <s:head theme="ajax" /> tag in jsp getting the following error. Please tell me the procedure how to use AJAX in struts 2.1.6.

org.apache.jasper.JasperException: Expression parameters.parseContent is undefined on line 45, column 28 in template/ajax/head.ftl. - Class: freemarker.core.TemplateObject
File: TemplateObject.java
Method: assertNonNull
Line: 124 - freemarker/core/TemplateObject.java:124:-1

Is struts 2.1.6 is stable version?


David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

If you had given this information on struts-user I wouldn't have had to ask you to provide more.

In Struts 2.1.6, as it states in the documentation, you need to use the Dojo head tag: <sx:head/>.
 
 
subject: struts 2.1.6 with ajax