由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - please help: pass values to jsp from js
相关主题
奇怪的 JSP 土问题Hibernate question
How to scroll an JInternalFrame怎样让一个servlet返回到jsp的HTML-object?
Java.Net初学: 我的简单问题, 寻求简单方案Re: 一个最近完成的JAVA项目的反思。
请问java property file的问题JSP for the ASP Developer
再问一个JSP技术简介 [fwd]
[合集] Are JSPs Dead?PHP vs ASP vs JSP
Eclipse不能保存UTF-8文件?JavaServer Pages入门篇
javascript question几种流行的动态网页制作语言的比较
相关话题的讨论汇总
话题: jsp话题: js话题: processsel话题: value话题: pass
进入Java版参与讨论
1 (共1页)
F******y
发帖数: 1988
1
Hi friends,
There are a couple ways known to pass values from js/html to jsp.
1. jsp:setProperty ....
2. httpsession
However, in a jsp page like


I want to pass the user's selection value (e.g. group1) to jsp and
retrieve the members names of
s******e
发帖数: 63
2
assume your jsp page is called group.jsp

.....

......


【在 F******y 的大作中提到】
: Hi friends,
: There are a couple ways known to pass values from js/html to jsp.
: 1. jsp:setProperty ....
: 2. httpsession
: However, in a jsp page like
:
:
There are two ways to solve your problem:
1. Use "processSel()" function to submit a form so that page can be
regenerated. If you don't want use to see the form is submitted, you can use

【在 F******y 的大作中提到】
: Hi friends,
: There are a couple ways known to pass values from js/html to jsp.
: 1. jsp:setProperty ....
: 2. httpsession
: However, in a jsp page like
:
: