aspose file tools*
The moose likes Struts and the fly likes Ajax tag is not working in strus2.1.6 with eclipse editor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Ajax tag is not working in strus2.1.6 with eclipse editor" Watch "Ajax tag is not working in strus2.1.6 with eclipse editor" New topic
Author

Ajax tag is not working in strus2.1.6 with eclipse editor

Sweta Chauhan
Ranch Hand

Joined: Jul 09, 2010
Posts: 53
Hi all,
I am trying to ajax tag in struts2.1.6, but whenever I run the application it's give error



The jsp page which is use the ajax tag is as follows

Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

Read this

It's for Struts 2.1.8.1, but still applies
Sweta Chauhan
Ranch Hand

Joined: Jul 09, 2010
Posts: 53
Richard Golebiowski wrote:Read this

It's for Struts 2.1.8.1, but still applies


I try to follow the procedure of above mentioned tutorial but it's not working in struts2.1.8.1 also, please help somebody. I have stacked in this problem for last 6-7 days. Actually I followed a tutorial for struts2.0.6 in eclipse ajax tags are working there but not in struts2.1.6 and struts2.1.8.
Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

OK, first thing you need to do is change your code to use the dojo taglib,

So your code should be:
Sweta Chauhan
Ranch Hand

Joined: Jul 09, 2010
Posts: 53
Richard Golebiowski wrote:OK, first thing you need to do is change your code to use the dojo taglib,

So your code should be:


I tried that but the error is same
Richard Golebiowski
Ranch Hand

Joined: May 05, 2010
Posts: 213

Are you using "struts2-dojo-plugin-2.1.6.jar"?

Do you have another tld file besides the tld file included in the jar?
Sweta Chauhan
Ranch Hand

Joined: Jul 09, 2010
Posts: 53
Richard Golebiowski wrote:Are you using "struts2-dojo-plugin-2.1.6.jar"?

Do you have another tld file besides the tld file included in the jar?


Thanks for the help, actually I was using wrong version of dojo-plugin. Now its working fine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ajax tag is not working in strus2.1.6 with eclipse editor
 
Similar Threads
Doubts In struts tree(tree attribute refers which tld file in struts)
Linking a table to s:tree
getting a selected node in a tree
How to use, struts 1-- struts-config.xml and struts 2 -- struts.xml together?
Struts2: How to use tree tag