Try giving the whole path in the action
   document.frm.action="http://localhost:portnum/test.jsp?Id=100&val=200"
 or
 on some browser versions the above didnt work
 if I gave the action in the <form > tag like
<form action="http://localhost:portnum/test.jsp?Id=100&val=200"> it works
  Sri




"Geeta Kottapalli" <[EMAIL PROTECTED]> on 06/12/2000 01:20:23 PM

Please respond to "A mailing list about Java Server Pages specification and
      reference" <[EMAIL PROTECTED]>



 To:      [EMAIL PROTECTED]

 cc:      (bcc: SRI N. ATTILI/EMPL/MD/Bell-Atl)



 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

Reply via email to