- This topic has 4 replies, 2 voices, and was last updated 16 years, 12 months ago by
Loyal Water.
-
AuthorPosts
-
GurinderMemberWe are unable to debug nested JSPs. Our JSPs use JSTL, Tiles Tags, Struts Tags, Scriplets…When i try to set a break point on a nested JSP it never hits that breakpoint. All of the useful information is in the nested JSPs.
We are using MyEclipse Connector with tomcat.
Please help.
June 23, 2008 at 3:03 am #286093
Loyal WaterMemberqran,
Can you paste a sample nested JSP page here for me that could be used to reproduce this issue. I’ll get this checked by the dev team.Also, please go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.
June 23, 2008 at 12:13 pm #286108
GurinderMemberSure, here’s a sample JSP. Our top level JSP’s contain Tile Insert tags (for layout). We have upto 3 levels of nesting through tiles:insert and jsp:include tags.
<%@ include file=”/jsp/include/taglibs.inc.jsp” %>
<%@ include file=”/jsp/include/domain.randomizer.inc.jsp”%>
<jsp:include page=”/jsp/include/get_product_permissions.jsp” />
<c:choose>
<c:when test=”${localeKey == ‘fr_FR’}” >
<img src=”<%=ResourceDomainRandomizer.resourceDomainRandomizer((DatabaseMetadata)this.getServletConfig().getServletContext().getAttribute(“databaseMetadata”), “stepindicator_01.gif”, WebConstants.STATIC_RESOURCE_IMG)%>/fr/stepindicator_01.gif” alt=”Étape 1 sur 5 : Choix du régime” border=”0″ class=”stepindicator” />
</c:when>
<c:otherwise>
<img src=”<%=ResourceDomainRandomizer.resourceDomainRandomizer((DatabaseMetadata)this.getServletConfig().getServletContext().getAttribute(“databaseMetadata”), “stepindicator_01.gif”, WebConstants.STATIC_RESOURCE_IMG)%>/en/stepindicator_01.gif” alt=”Step 1 of 5: Plan Selection” border=”0″ class=”stepindicator” />
</c:otherwise>
</c:choose>
<c:if test=”${param.command==’resell’ || userContainer.mode == ‘POLICY_RENEW’}”>
<p class=”text-standard”><html-el:link action=”/search/PolicySearchResultDetail.b2b”>< <bean-el:message locale=”${pageLocale}”
key=”search.results.policy.details.back.link” bundle=”searchResultsBundle” /></html-el:link></p>
</c:if>
<html-el:form action=”/${sectionPath}/PlanSelection” method=”get” >
<jsp:include page=”/jsp/include/message_content.jsp”>
<jsp:param name=”resource” value=”sellBundle” />
</jsp:include>
<jsp:include page=”/jsp/include/error_indicator.jsp”/>
<!– begin content error –><div class=”ps-table”>
<jsp:include page=”/jsp/include/form_error_content.jsp”>
<jsp:param name=”resource” value=”sellBundle”/>
<jsp:param name=”property” value=”brokerName”/>
</jsp:include>
</div>
<!– end content error –>
<table border=”0″ cellpadding=”0″ cellspacing=”0″ width=”563″ class=”ps-broker-table”>
<tr>
<td width=”175″ align=”right”><span class=”required-asterisk”>*</span><bean:message bundle=”sellBundle” key=”plan.selection.brokerName.label” /> <bean:message bundle=”sellBundle” key=”plan.selection.label.required” /><bean:message bundle=”sellBundle” key=”body.field.colon” /></td>
<td width=”388″><html:text property=”brokerName” maxlength=”10″ /></td>
</tr>
</table>
<table border=”0″ cellpadding=”0″ cellspacing=”0″ width=”563″ class=”ps-limitations-table”>
<tr>
<td colspan=”2″><jsp:include page=”/jsp/include/form_error_content.jsp”>
<jsp:param name=”resource” value=”sellBundle”/>
<jsp:param name=”property” value=”plan”/>
</jsp:include></td>
</tr>
<tr>
<td width=”403″><span class=”clear-gif-w403-h1″></span></td>
<td class=”ps-age-limit-header-td” width=”160″><bean:message bundle=”sellBundle” key=”plan.selection.label.requirements” /></td>
</tr>
</table><table border=”0″ cellpadding=”0″ cellspacing=”0″ width=”563″ class=”ps-table”>
<!– choose one of freedom generic, or freedom customize, or original TRA/TRS –>
<c:choose>
<c:when test=”${sellFgm == ‘yes’ || sellFgs == ‘yes’}”>
<jsp:include page=”/jsp/sell/include/plan_selections/plan_selection_fgm_fgs.jsp”/>
</c:when>
<c:when test=”${sellFcm == ‘yes’ || sellFcs == ‘yes’}”>
<jsp:include page=”/jsp/sell/include/plan_selections/plan_selection_fcm_fcs.jsp”/>
</c:when>
<c:when test=”${sellTcm == ‘yes’ || sellTcs == ‘yes’}”>
<jsp:include page=”/jsp/sell/include/plan_selections/plan_selection_tcm_tcs.jsp”/>
</c:when>
<c:otherwise>
<jsp:include page=”/jsp/sell/include/plan_selections/plan_selection_tra_trs.jsp”/>
</c:otherwise>
</c:choose><!– begin all inclusive holiday package –>
<c:if test=”${sellAll == ‘yes’}”>
<jsp:include page=”/jsp/sell/include/plan_selections/plan_selection_all_inclusive.jsp”/>
</c:if>
<!– end all inclusive holiday package –><!– begin all visitors package –>
<c:if test=”${sellVis == ‘yes’}”>
<jsp:include page=”/jsp/sell/include/plan_selections/plan_selection_vis.jsp”/>
</c:if>
<!– end all visitors package –><!– begin all visitors platinum package –>
<c:if test=”${sellVmd == ‘yes’}”>
<jsp:include page=”/jsp/sell/include/plan_selections/plan_selection_vmd.jsp”/>
</c:if>
<!– end all visitors platinum package –><!– begin optimum insurance –>
<c:if test=”${sellTla == ‘yes’ || sellTls == ‘yes’}”>
<jsp:include page=”/jsp/sell/include/plan_selections/plan_selection_tla_tls.jsp”/>
</c:if>
<!– end optimum insurance –><!– begin old international students insurance –>
<c:if test=”${sellTis == ‘yes’ && sellIsm != ‘yes’}”>
<jsp:include page=”/jsp/sell/include/plan_selections/plan_selection_tis.jsp”/>
</c:if>
<!– end old international students insurance –><!– begin new international students insurance –>
<c:if test=”${sellIsm == ‘yes’}”>
<jsp:include page=”/jsp/sell/include/plan_selections/plan_selection_manifest.jsp”/>
</c:if>
<!– end new international students insurance –><!– spacer row –>
<tr>
<td><span class=”spacer28x1″> </span></td>
<td><span class=”spacer30x1″> </span></td>
<td><span class=”spacer30x1″> </span></td>
<td><span class=”spacer315x1″> </span></td>
<td><span class=”spacer160x1″> </span></td>
</tr>
</table><!– begin submit button –>
<table border=”0″ cellpadding=”0″ cellspacing=”0″ width=”580″>
<tr>
<td class=”previous-next-td”><html:submit property=”action” tabindex=”0″ styleId=”actionId” styleClass=”form-button-next”>
<bean:message bundle=”sellBundle” key=”button.continue” /> <bean:message bundle=”sellBundle” key=”button.continue.symbol” />
</html:submit></td>
</tr>
</table>
<!– end submit button –>
</html-el:form>June 23, 2008 at 12:56 pm #286113
Loyal WaterMemberAre you saying that you cannot step into a nested JSP or are you saying the debugger doesn’ t stop at the jsp:include ?
June 24, 2008 at 3:40 am #286147
Loyal WaterMemberI just got a reply from my dev team and it seems like the jsp:include is a dynamic include, so the include argument can actually be a run-time evaluated argument, we don’t support stepping into such files.
-
AuthorPosts