Jump to content

Struts In My Jsp File. Need Help!


Recommended Posts

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


This topic is now archived and is closed to further replies.

  • Create New...