say document.frm.submit();
Also Put a semi colon after the line document.frm.action=....;
-----Original Message-----
From: Geeta Kottapalli [SMTP:[EMAIL PROTECTED]]
Sent: 12 June 2000 22:50
To: [EMAIL PROTECTED]
Subject: JSP - JavaScript Question ??...URGENT!!
I am trying to send some values from one page to
another or to the same page while submitting the form
as :
function submitInfo() {
document.frm.method="post";
document.frm.action="test.jsp?Id=100&val=200"
document.submit();
}
In the JSP page when I request for the values as
<% int progId = request.getParameter("ID");
....
....
%>
the values requested are null.
Please help me.In JDeveloper where I developed the
application worked fine.But when I deployed in JWS
most of my JavaScript is not working.
If anyone of you know why this is happenning or any
suggestions how to solve it please.... let me know.
Thanks,
Geeta
__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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".
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