> <%response.setContentType("text/html");%>
> <jsp:useBean id="myBean" class="voting.Sample"/>
> <jsp:setProperty name="myBean" property="setXML"
> value="<%=request.getParameter("id")%>" />

I could guess the name of your attribute isn't actually "setXML", and
therefore the bean do not have a method called "setSetXML".

<jsp:setProperty property="xyz" .../> will try to use the method
"setXyz".
(Rename setXML to setXml and) Try something similar to:
  <jsp:setProperty name="myBean" property="xml" param="id" />

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to