Hello, everybody,

I have one problem .

I write a javascript program  in javaservlet application as


 out.println("function preview() {");
 out.println("var questioncontent=addquestion.question.value;
 out.println("open(\"PreviewQuestion\"?"+questioncontent+",\"Window1, \"600,500\");

addquestion is name of the form and question is the name of textbox in this form.

as i know there is limit on the size of the parameter. so the paramter i passed probably has more than 250 characters. besides that how to deal with url encode. i means there are many space and special characters in the question .(url encode space as %20). In the servlet application which is called (previewQuestion) how can it get the parameter and decode them

I will appreciate very much for your help

Have a good weekend

bin



Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax

Reply via email to