Javascript data type 和 Java data type 转换?怎样把Javascript 的 var 转化为 Java 的 int, String, 或其他
这样直接负值有error, 请大侠帮忙!谢了先 (more...)
impossible in this way
all your javascript code in between <% %> will give you nothing but some syntax errors.
The biggest problem with your code is that javascript code and jsp code runs at different levels. Your jsp files will generate the javescript code. And your javascript code will probably run on the client, while jsp code runs on the server.
I guess you want to get some "count" value from the client side, a good try will be making some http requests with obj.download() function. check msdn dhtml reference for details.
The biggest problem with your code is that javascript code and jsp code runs at different levels. Your jsp files will generate the javescript code. And your javascript code will probably run on the client, while jsp code runs on the server.
I guess you want to get some "count" value from the client side, a good try will be making some http requests with obj.download() function. check msdn dhtml reference for details.