Hi Saravanan R. It is not working, I still get nothing. I think the problem is with my request. But I don't know how it works really! -----Original Message----- From: Ramalingam Saravanan [mailto:[EMAIL PROTECTED]] Sent: 08 March 2001 01:37 To: [EMAIL PROTECTED] Subject: Re: Having problems retrieving data from fields/variables in my JSP! hi sello, It seems that you are trying to assign the value of the parameter named "daysVac" to a property of the bean by the same name. Then you need to correct the setProperty tag as follows: <jsp:setProperty name="mybean" property = "daysVac" param="daysVac"/> Saravanan R Hi! Whenever I have something like this: <input type="button" value="Calculate Workdays" onclick="daycalc();"> with the function defined below in Javascript: function daycalc(){ document.myform.daysVac.value=document.applets[0].calcNoOfDays(document.myfo rm.vacFrom.value,document.myform.vacTo.value); } Now whenever I submit, the 'daysVac' is not set in the bean although I have a: <jsp:setProperty name="mybean" property = "daysVac" /> It seems as if whenever I set values in my JSP, in the above way is not captured in the request when I submit. Can somebody out there help me? =========================================================================== 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 =========================================================================== 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 =========================================================================== 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
