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.
我试图在表格中的一个元素中包含一个链接。
当我在没有它的情况下进行链接时,它可以正常工作,但是当我想将它作为表格的一部分包含时,它就不起作用了。
这行代码有效:
for(int i=0;i<tableWeb.size()
问问题
问问题 2013-10-24T15:03:45.527 3777 次 This question shows research effort; it is useful and clear 0 This question does not show any research effort; it is unclear or not useful Bookmark this question. Show activity on this post. javajsp 4 1 回答 1 This answer is useful 1 表体结构应为 <tbody> <tr> <td> ... </td> <td> ... </td> </tr> </tbody> 放置<tr>在外面for-loop <tr> for(int i=0;i<tableWeb.size();i++){ TableBody t=(TableBody)tableWeb.get(i);%> <td> <a href="Controller?operation=<%=t.getString1()%>"><%=t.getString1()%></a> </td> <%}%> </tr> 于 2013-10-25T06:24:51.350 回答 Related 1 git - 在 github 中添加 .gitattributes 文件后所有文件都更改了吗? 0 java - 在这个大数据中选择的方法/算法 1 java - 相交 2 个二叉树 - 引发 Stack Overflow 错误 3 java - 如果 MappedByteBuffer 的大小在执行 FileChannel.map() 时大于文件长度会发生什么 1 if-statement - Lua 有 OR 比较吗? 1 php - Socket 服务器在页面上显示接收到的数据 1 c - 声明和定义之间的数组/指针不匹配——然后会发生什么? 2 c++ - 计算二分图中的路径数(长度 N) 1 c++ - 类模板的非类、非函数成员的显式特化 12 java - 将 Java 中的两个对象与可能的空值进行比较 Reference php × 1429865 c/c++ × 756500 nginx × 49975 mongodb × 159057 mybatis × 3233 anaconda × 13410 pycharm × 14671 python × 1902243 vscode × 56040 docker × 110988 github × 49000 flask × 49129 ffmpeg × 24037 jmeter × 16910 matplotlib × 63493 bootstrap × 54641
表体结构应为
<tbody> <tr> <td> ... </td> <td> ... </td> </tr> </tbody>
放置<tr>在外面for-loop
<tr>
for-loop
<tr> for(int i=0;i<tableWeb.size();i++){ TableBody t=(TableBody)tableWeb.get(i);%> <td> <a href="Controller?operation=<%=t.getString1()%>"><%=t.getString1()%></a> </td> <%}%> </tr>