Hans Bergsten wrote:
>
> andy C wrote:
> >
> > Is there a Bug with java webserver 2.0 ?  I have been using java 1.1.x for
> > some time with the sevlet tag, whcih works fine.  Under JWS 2.0 however all
> > servlets on the same .shtml page seem to get the same parameters passed to
> > them .  Consider the following:
> >
> > <servlet code=Test>
> > <PARAM NAME=Link Value=0>
> > </servlet>
> >
> > <servlet code=Test2>
> > </servlet>
> >
> > Servlet Test should get the parameter named Link while servlet Test should
> > not.  My experiments show that both servlets get the parameter "Link"  The
> > code for the test sevelts is based on the following with the class name
> > changed accordingly:
> >
> > public class Test extends HttpServlet implements SingleThreadModel
> >
> >  public void init(ServletConfig conf) throws ServletException {
> >   super.init(conf);
> >  }
> >
> >  protected void doGet (HttpServletRequest req, HttpServletResponse res)
> >   throws ServletException, IOException
> >  {
> >   String Parameter="Goodbye";
> >   res.setContentType("text/html");
> >   PrintWriter out= res.getWriter();
> >   Parameter= req.getParameter("Link");
> >   System.out.println("Parameter :"+Parameter);
> >   out.print("<p>Parameter is"+Parameter+"</p>");
> >  }
> > }
> >
> > Any help on this ?  Who do I report this to as a possible bug /
>
> It's most likely a bug. I reported the same problem with the last Beta version
> and based on what you experience it seems like it didn't get fixed in the final
> version. The JWS documentation should contain a mail address for bug reporting.
>
> As far as I know, the only way to work around it is to provide your own
> SSI processing servlet. I have an SSIServlet developed to solve the lack of
> <servlet> tag support in iWS 4.0 that I will make available for download
> at our web site soon. If you send me a private email (please do not send request
> to this list) I can send you a copy so you can verify that it works with JWS 2.0
> as well.

For everyone that needs support for <servlet> tags in JWS 2.0 (or iPlanet Web
Server 4.0), an SSI processor called the Enabler is now available free of
charge from our web site, at http://www.gefionsoftware.com/Enabler

--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com

___________________________________________________________________________
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