struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffo1b ...@selectenergypartners.com>
Subject Struts not picking up SSI when forwarding via an Action class
Date Mon, 20 Sep 2010 17:09:25 GMT

I've gotten my application to process SSI's correctly when clicking on a
link, but when the I submit a form and the action forward is a .jsp with
include statements, I can't get it to work.  I'm running Struts 1.3 and
Tomcat 6.0 in Eclipse.

I get a pop-up window asking me if I'd like to save the file or find a
program online to open it.  the thing is that the file name is
"advSearch.do"  

Some code:  
JSP in action forward:
<body>
 <jsp:include page="header.jsp"/>
<logic:iterate id="results" name="searchResults" indexId="counter">

<div <% if ((((Integer) pageContext.getAttribute("counter")).intValue() % 2)
== 0) { %>class="evenTableRow"<% } else { %>class="oddTableRow"<% } %>>
 Name:  <bean:write name="results" property="lstNm"/><br/></div>
 </logic:iterate>

</body>

ActionMapping
	<action 
    		path="/advSearch"
    		type="com.sep.ebs.actions.SearchAction"
    		name="advSearchForm"
    		input="pages/Search.jsp"
    		scope="request"
    		validate="false">
    		<forward
            name="affiliates"
            path="/pages/SearchResultsAffiliates.jsp"
            redirect="false" />
       </action>

Totally lost on this one, any help is greatly appreciated.
-- 
View this message in context: http://old.nabble.com/Struts-not-picking-up-SSI-when-forwarding-via-an-Action-class-tp29761563p29761563.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message