1字符串比较问题。
字符串比较这么写是不行的
<m:if id="delconfirm" test="${topicinfo.getMember_id() == UserInfo.getUid()}" >
要这么写(单引号在外面,双引号在里面)
<m:if id="delconfirm" test=‘${topicinfo.getMember_id() == ”20“}’ >
<m:echo id="delconfirm_link">
<m:element name="a">
<m:attribute name="href" value="${request.getContextPath()}/entryform/?mid=${UserMid}&sid=${UserSid}&dt=${UserDt}&spot_id=${PointInfoDto.board_id}"/>
<m:write value="※削除する-${topicinfo.member_id}-${UserMid}" />
</m:element>
</m:echo>
</m:if>
-------
2引用标签库
<?xml version="1.0" encoding="UTF-8"?>
<m:mayaa xmlns:m="http://mayaa.seasar.org"
xmlns:s="http://sastruts.seasar.org xmlns:f="http://sastruts.seasar.org/functions" xmlns:bean="http://jakarta.apache.org/struts/tags-bean" xmlns:html="http://jakarta.apache.org/struts/tags-html" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fmt="http://java.sun.com/jstl/fmt"
xmlns:fn="http://java.sun.com/jsp/jstl/functions">
----------
mayaa的一些代码
最新推荐文章于 2024-08-19 23:14:36 发布