惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
IT之家
IT之家
B
Blog RSS Feed
罗磊的独立博客
GbyAI
GbyAI
博客园 - Franky
Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Google DeepMind News
Google DeepMind News
博客园 - 聂微东
N
Netflix TechBlog - Medium
博客园 - 三生石上(FineUI控件)
人人都是产品经理
人人都是产品经理
U
Unit 42
博客园 - 叶小钗
Jina AI
Jina AI
MyScale Blog
MyScale Blog
雷峰网
雷峰网
B
Blog
Hugging Face - Blog
Hugging Face - Blog
Blog — PlanetScale
Blog — PlanetScale
Recent Announcements
Recent Announcements
腾讯CDC
酷 壳 – CoolShell
酷 壳 – CoolShell

博客园 - Cool_IT_Cool_Man

如何向MyEclipse项目的文件夹中添加JSP页面? JavaScript调试工具 MyEclipse中如何安装插件(以Subclipse为例)[转] 由 s:hidden 引起的文本框内容不能传到 struts的Action中 在Eclipse工作空间中移除再添加项目的方法 在Eclipse工作空间中创建新项目的方法 Visual Studio 使用常见问题 如何阅读C++源代码 《Ogre 3D 游戏开发框架指南》配套光盘的一个小瑕疵 Orz游戏开发框架阅读笔记(一) 类型安全·异常安全·线程安全 如何使用Eclipse从Subversion源码服务器下载源码? UltraEdit不能对Matlab的M文件进行语法高亮显示问题的解决 JessDE 在 Eclipse中不能正确安装的问题 UltraEdit的语法高亮文件网址 如何配置SWRLJess Tab? 编程经验小结 如何在Protege3.4中安装graphviz以便在protege中使用OwlvizTab? 语义网的学习资源大汇集(转载)
s:textarea中的文本内容在什么时候才能被赋值给Action中的属性?
Cool_IT_Cool_Man · 2014-04-08 · via 博客园 - Cool_IT_Cool_Man

下面是jsp程序片段:

<s:form id="startForm" name ="startForm" action="/hall/hall_search.do" method="post">
    <table width="100%" border="0" cellpadding="0" cellspacing="5" class="tab1">
    <tr>
         <td width="70" class="main-td1"><s:text name="room.lable.name"/></td>
         <td width="180" class="main-td1"><s:textfield name="room.name"  var="drn" class="wenbenkuang" /></td>
         <td width="70" class="main-td1"><a href="${contextPath}/hall/hall_search.do?room.name=${room.name}" class="anniu-cx"><s:text name="common.lable.search"/></a></td>    

    </tr>
    </table>
  </s:form>

文本框中输入了内容,为什么单击search按钮时,s:textfield中的文本内容没有赋值给Action中的room.name?跟踪检查时发现room.name为空字符串