1 Reply Latest reply: Jul 2, 2012 7:53 AM by user10697869 RSS

    Error in compiling JSP's -- Conversion from jboss to Weblogic

    user10697869
      hi,

      we are planning to use weblogic for our current jboss app server.

      after I have deployed the app in weblogic server-- i am getting jsp compile errors..
      when i replace the double quotes after href with single quote .. I am fine..

      we have hundred's of jsp's. JBOSS ignores double quotes in jsp's.

      Is there any way I can ignore the double quotes in weblogic for jsp's??


      product_include.jsp:632:171: productId cannot be resolved
                                                                                                <div id="zoomActions">mouse over photo to zoom <img src="/store/images/common/nav_divider.gif"/> <dsp:a href="<%= "/store/browse/altviews.jsp?style=" + productId.toString().trim() + "&imgCount="+ altCount %>" iclass="modalTrigger moreViewsBtn" rel="modalAltviews 538 563" target="_blank">click for larger image</dsp:a></div>
      ^------^
      product_include.jsp:632:215: altCount cannot be resolved
                                                                                                <div id="zoomActions">mouse over photo to zoom <img src="/store/images/common/nav_divider.gif"/> <dsp:a href="<%= "/store/browse/altviews.jsp?style=" + productId.toString().trim() + "&imgCount="+ altCount %>" iclass="modalTrigger moreViewsBtn" rel="modalAltviews 538 563" target="_blank">click for larger image</dsp:a></div>
      ^-----^
      product_include.jsp:634:108: productId cannot be resolved
                                                                                                     <div class="thumbImg selected first"><a href="<%= /store/browse/altviews.jsp?style=" + productId.toString().trim()+ "&imgCount="+ altCount %">" title="Click to view detail" id="mainThumbLink"><dsp:img src="<%= imageURL.toString().trim() + productId.toString().trim() + "_thumb2.jpg"%>" id="mainThumb" width="52" height="65" border="0"/></a></div>
      ^------^
      product_include.jsp:634:151: altCount cannot be resolved
                                                                                                     <div class="thumbImg selected first"><a href="<%= "/store/browse/altviews.jsp?style=" + productId.toString().trim()+ "&imgCount="+ altCount %>" title="Click to view detail" id="mainThumbLink"><dsp:img src="<%= imageURL.toString().trim() + productId.toString().trim() + "_thumb2.jpg"%>" id="mainThumb" width="52" height="65" border="0"/></a></div>
      ^-----^
      product_include.jsp:634:230: imageURL cannot be resolved
                                                                                                     <div class="thumbImg selected first"><a href="<%= "/store/browse/altviews.jsp?style=" + productId.toString().trim()+ "&imgCount="+ altCount %>" title="Click to view detail" id="mainThumbLink"><dsp:img src="<%= imageURL.toString().trim() + productId.toString().trim() + "_thumb2.jpg"%>" id="mainThumb" width="52" height="65" border="0"/></a></div>
      ^-----^
      product_include.jsp:634:259: productId cannot be resolved
                                                                                                     <div class="thumbImg selected first"><a href="<%= "/store/browse/altviews.jsp?style=" + productId.toString().trim()+ "&imgCount="+ altCount %>" title="Click to view detail" id="mainThumbLink"><dsp:img src="<%= imageURL.toString().trim() + productId.toString().trim() + "_thumb2.jpg"%>" id="mainThumb" width="52" height="65" border="0"/></a></div>
      ^------^
      product_include.jsp:639:95: productId cannot be resolved
                                                                                                               <div class="thumbImg"><a href="<%= "/store/browse/altviews.jsp?style=" + productId.toString().trim() + "ext" + extImageCounter.toString().trim() + "&imgCount=" + altCount %>" class="altThumb" title="Click to view detail">
      ^------^
      product_include.jsp:639:133: extImageCounter cannot be resolved
                                                                                                               <div class="thumbImg"><a href="<%= "/store/browse/altviews.jsp?style=" + productId.toString().trim() + "ext" + extImageCounter.toString().trim() + "&imgCount=" + altCount %>" class="altThumb" title="Click to view detail">
      ^------------^

      Edited by: user10697869 on Nov 29, 2011 5:13 AM</a>