I looked it up and yes, this is a known problem. It is bug:
4272037 - SSI servlet can't be execute properly when two servlet tags in the
same file...
It is on the list of problems that we are looking into.
Please send other jws-specific questions to [EMAIL PROTECTED]
-isa
]MIME-Version: 1.0
]Content-Transfer-Encoding: 7bit
]X-Priority: 3
]X-MSMail-Priority: Normal
]X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
]Date: Thu, 11 Nov 1999 11:23:48 -0000
]From: andy C <[EMAIL PROTECTED]>
]Subject: Second call: JWS2.0 and servlet tag, A Bug ?
]To: [EMAIL PROTECTED]
]
]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 /
]
]Thanks
]
]Andy Cobley
][EMAIL PROTECTED]
]
]___________________________________________________________________________
]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
___________________________________________________________________________
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