1銆乯s涓?/p>
function
聽content(str){
聽
var
聽url
=
"
logManager.do?action=recordInfo&str=
"
+
str;聽
聽window.showModalDialog(url,window,'dialogheight:400px;dialogwidth:550px');
}
2銆侀〉闈?/p>
<
TD
><
a聽
href
="#"
聽onClick
="javascript:content('<c:out聽value="
${log.recordinfo}"
/>
')">鏌ョ湅璇︾粏鍐呭
</
a
></
TD
>
3銆乤ction涓細(xì)
聽
public
聽
synchronized
聽ActionForward聽recordInfo(ActionMapping聽mapping,
聽聽聽ActionForm聽form,聽HttpServletRequest聽request,
聽聽聽HttpServletResponse聽response)聽
throws
聽Exception
聽{
聽聽
if
(
!
initParam(request))聽
return
聽mapping.findForward(
"
errors
"
);
聽聽
return
聽mapping.findForward(
"
recordInfo
"
);
聽}
4銆侀厤緗枃浠訛細(xì)
聽聽
<
action聽
path
="/logManager"
聽scope
="request"
聽聽聽聽type
="gov.cfte.object.struts.action.LogManagerAction"
聽unknown
="false"
聽聽聽聽input
="/common/logList.jsp"
聽聽聽聽name
="logForm"
聽聽聽聽parameter
="action"
聽聽聽聽
>
<
forward聽
name
="recordInfo"
聽path
="/recordContent.jsp"
聽redirect
="false"
聽
/>
聽

]]>