This won't work.
Your form is perfoming a post, but your js function
performs just a get:
window.open(../servlet/myServlet?query=+document.form1.myQuery.value);
This is always a GET, independent of the way you called it.
-Ursprüngliche Nachricht-
Von: Sonia Galilea Varea
Solution:
FORM NAME=form1 ACTION=../servlet/myServlet METHOD=post
TARGET=WindowForm1
INPUT TYPE=hidden NAME=query VALUE=myquery
...
/FORM
-Ursprüngliche Nachricht-
Von: Sonia Galilea Varea [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 15. November 2001 12:11
An: Tomcat
Hi Ralph,
I don't understand your solution. I think WindowForm1 is the var which,
in your javascript, you do:
WindowForm1 = window.open(...);
But if it's a javascript var, you cann't access to it like that. Also, what
I have to do is:
WindowForm1 = window.open( --servlet call--);
I
Varea [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 15. November 2001 13:52
An: Tomcat Users List
Betreff: Re: AW: AW: HTTP POST request: maximum allowed data?
Hi Ralph,
I don't understand your solution. I think WindowForm1 is
the var which,
in your javascript, you do