This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes struts using ajax Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts using ajax" Watch "struts using ajax" New topic

struts using ajax

sa sam
Ranch Hand

Joined: Mar 01, 2009
Posts: 46
Hello everyone, i need help -

there is a yellow line under the "debug" keyword(Undefined attribute name
If i change the <s:head> to <sx:head> , then the yellow line will show under
'theme' keyword.
Any solution??
David Newton

Joined: Sep 29, 2008
Posts: 12617

Perhaps checking the docs for the respective tags would help; I'm assuming you're using Struts 2.1, where the s:head and sx:head tags are different, and accept different attributes. The theme goes in s:head, the debug goes in sx:head.
sa sam
Ranch Hand

Joined: Mar 01, 2009
Posts: 46
i want success message inside div tag, so can any one give me example for that
I agree. Here's the link:
subject: struts using ajax
Similar Threads
struts 2: ajax theme problem
How to use, struts 1-- struts-config.xml and struts 2 -- struts.xml together?
Struts 2 Ajax Dojo.js reload problem
Ajax tag is not working in strus2.1.6 with eclipse editor
Doubts In struts tree(tree attribute refers which tld file in struts)