skaterdav85 Posted January 7, 2009 Share Posted January 7, 2009 So im completely new to jsp and struts, but ive been given a task to figure part of it now and im stuck.Instead of using a static jsp include, i need to do a struts call using the ajax method. and it references an xml file. However, it doesnt work, and I am totally lost. Any help would be greatly appreciated! xml file related to header: <package name="main" extends="struts-default"> <action name="header"> <result>/jsp/header.jsp</result> </action></package> struts call <s:url action="header" id="header_url"/><s:div id="header" theme="ajax" href="%{header_url}"/> Link to comment Share on other sites More sharing options...
lugos Posted January 13, 2009 Share Posted January 13, 2009 <s:div id="header" theme="ajax" href="%{header_url}"/> Try changing the percent sign to a dollar sign. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.