here is my struts-config.xml
<action input="/jsp/admin/DocumentDetail.jsp" name="documentDetailForm" parameter="pageAction" path="/documentDetails" scope="request" type="com.company.product.web.admin.DocumentDetailsAction" validate="false">
<set-property property="moduleCode" value="documentsAdmin"/>
<forward name="saveDocDetails" path="/documentSave.do?pageAction=save"/>
<forward name="openAddTagPage" path="/jsp/admin/DocumentTagList.jsp"/>
<forward name="cancel" path="/documentList.do?pageAction=search"/>
<forward name="success" path="/documentList.do?pageAction=search"/>
</action>
Because this help generates the DocumentDetails.jsp, i am interested in editing the original file that help create the jsp. My guess is that the java file is com.company.product.web.admin.DocumentDetailsAction but i have trouble finding it in my workspace in Eclipse.
The DocumentDetails.jsp is
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<tr>
<td width="25%" class="label"> <bean:message key="documentReqSign" /></td>
<td>
<html:checkbox property="requiredSign" />
</td>
</tr>
Btw, this is my first time using Struts, thanks!
look for :
company/product/web/admin/documentDetailsAction.javain your project
So as you stated the file in question that is the right action, usually in struts all actions classes are grouped under one directory, you could try and use @pradeepsimha shortcuts or you could
ctrl+hto search workspace forDocumentDetailsthen select the file in question.