Hi Mitch, thanks for you reply..I already figure out the issue. It's cause by the jsp files is not for Struts 2.1.6,
the following command not working on struts 2.1.6 <s:a theme="ajax" notifyTopics="/refresh"> Refresh</s:a> need to change to <s:url action="list" id="descrsUrl"/> <div style="width: 300px;border-style: solid"> <div style="text-align: right;"> <sx:a notifyTopics="/refresh">Refresh</sx:a> </div> <sx:div id="persons" href="%{#descrsUrl}" loadingText="Loading..." listenTopics="/refresh"/> </div> and also <s:head theme="ajax"/> need to change to <sx:head parseContent="true"/> I follow the step from http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html Thanks & Regards Yanto On Tue, May 5, 2009 at 10:31 PM, mitch gorman <mgor...@shadowtv.com> wrote: > Yanto wrote: > > Hi all, > > > > I'm new to struts 2, I download example for Struts 2 + Spring 2 + JPA + > AJAX > > from struts 2 website, > > and then open the project from eclipse. > > > > however in the index.jsp there are several Warning for undefined > attribute > > name, one of them is "Undefined attribute name notifyTopics" > > in the following code > > > > <s:a theme="ajax" notifyTopics="/refresh">Refresh</s:a> > > > > can I ignore this warning ? > > > these are warnings from the eclipse editor? i think you probably > need to ensure that your project has the struts jar in its build path. > i do not see warnings about struts attributes in my struts tags, inside > the eclipse JSP editor. > > > > -- > Mitch Gorman > mgor...@shadowtv.com > (215) 764-6310 > Skype: mitch.shadowtv.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >