Ok,
I'v been porting our web site from Apache-tomcat to
Resin and all has gone well apart from one major problem

I have a .jsp page with the following:

String Method=request.getMethod();
       if (Method.compareTo("POST")
){
        // do some stuff like checking names etc
   %>
    <jsp:include  page="/servlet/MessageBoard" flush="true" >
     <jsp:param name="name" value="<%=name %>" />
    </jsp:include>
<% } else { %>
    <jsp:include  page="/servlet/MessageBoard" flush="true" >
         <jsp:param name="name" value="<%=name %>" />
    </jsp:include>


The idea is the first  jsp:include  should be handled by the doPost method of the
servlet "Messageboard" while the second should be handled by the doget method.

However both appear to be handled byt he doGet method.

Is there a way around this in resin or am I missing something !

Andy C
Editor R2 project
http://www.r2-dvd.org

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to