update 编辑 页面跳转时候的传值

本文深入探讨了HTTP请求参数的获取与页面输出的过程,详细解释了如何在JSP环境中利用请求参数动态生成页面内容,并通过示例展示了具体实现方法。

<td style="display: none">
<s:textfield name="new.nid" value="%{#new.nid}"></s:textfield>
</td>

http://localhost:8080/7e/index.jsp?name=122

request.getParameter("name");

<%
User tb=(User)request.getAttribute("userbean");
String name=tb.getUserName();
out.println(name);
%>
<s:property value="name"/>
{$_SN[$value[uid]]}
// 编辑/查看问卷 const handleView = (item) => { uni.navigateTo({ url: /pages/operation/operation?id=${item.dcWjId} }); };详情页点击编辑/查看,跳转操作页面id= i t e m . d c W j I d 到跳转页面跳转页面加载时获取过来的,调用接口: h t t p : / / 172.26.26.43 / d e v − a p i / w j d c / w j / 11 ,接口中的 11 就是获取的 i d = item.dcWjId到跳转页面跳转页面加载时获取过来的,调用接口:http://172.26.26.43/dev−api/wjdc/wj/11,接口中的11就是获取的id={item.dcWjId}。接口响应的数据格式如下:{ “msg”: “操作成功”, “code”: 200, “data”: { “createBy”: “若依”, “createTime”: “2025-07-12 15:41:44”, “updateBy”: “张洪源”, “updateTime”: “2025-07-16 17:09:25”, “remark”: null, “dcWjId”: 11, “dcWjTitle”: “其亚集团2025年年中中高层管理干部民意测评问卷”, “dcId”: 14, “dcName”: “张三”, “dcDept”: “信息化”, “userId”: 110, “nickName”: “张洪源”, “userIds”: null, “isDelete”: “0”, “state”: “1”, “no1”: 1, “no2”: 1, “no3”: 1, “no4”: 1, “no5”: 1, “no6”: 1, “no7”: 1, “no8”: 1, “no9”: 1, “no10”: 1, “no11”: 1, “no12”: 1, “no13”: 1, “no14”: 1, “no15”: 1, “no16”: 1, “no17”: 1, “no18”: 1, “no19”: 1, “no20”: 1, “no21”: 1, “no22”: 1, “no23”: 1, “no24”: 1, “no25”: 1, “no26”: 90, “no27”: “ 111 ”, “no28”: null, “no29”: null, “no30”: null, “score”: 41.00, “remarke”: “6666666” } }我想要在页面顶部显示调查标题(dcWjTitle)、被测评人员(dcName)、部门(dcDept)
最新发布
07-24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值