File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts 2.1.6 with ajax

 
rajeevp05
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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/>.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic