Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 2 个 jsp 字段 duedate 和 oldduedate 。Duedate 在加载时具有值。我需要在隐藏字段 oldduedate 中设置相同的值...应该在隐藏标签中使用什么来从到期日获取值。
如果 JSP 页面中的字段值是由服务器生成的,例如 servlet。然后,您可以将隐藏字段 (oldduedate) 的值设置为您为到期日期字段设置的任何值。