Hi, all,

When I try to use a jsp file with the following code in a JRUN environment,
somehow
mj.processRequest(request) was processed TWICE:

<%@ language="java" import="mailprog.JSPhandler" %>
<BEAN NAME="mm" TYPE="mailprog.JSPhandler" scope="request">
</BEAN>
<%
   mj.processRequest(request);
%>

in mailprog.JSPhandler.class, there's only some basic field validation
in processRequest(HttpServletRequest req)

This happens in different versions of Jrun on both NT and Unix.
The same jsp program runs okay under jswdk1.0 with the following tag
<%@ page language="java" import="mailprog.JSPhandler" %>
<jsp:useBean id="mj" class="mailprog.JSPHandler" scope="request" />
<%
   mj.processRequest(request);
%>


any idea why?

Thanks in advance!


_____
Regards,
Lance

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to