在<;中使用XML内容;jsp:setProperty
我试图在我的JavaBean中设置一些内容。我正在做以下工作:在<;中使用XML内容;jsp:setProperty,jsp,debugging,jstl,javabeans,jsp-tags,Jsp,Debugging,Jstl,Javabeans,Jsp Tags,我试图在我的JavaBean中设置一些内容。我正在做以下工作: <x:set var="asdf123" select="$record/uuid"/> <c:out value="${asdf123}"/> <---- this displays [] <x:out select="$record/uuid" /> <---- this displays the content from my XML <x
<x:set var="asdf123" select="$record/uuid"/>
<c:out value="${asdf123}"/> <---- this displays []
<x:out select="$record/uuid" /> <---- this displays the content from my XML
<x:out select="$asdf123" /> <---- this displays the content from my XML
<jsp:useBean id="matchBean" class="my.project.beans.MatchBean" />
<jsp:setProperty name="matchBean" property="uuid" value="${asdf123}"/> <--- this isn't working
这一次成功了:
参考资料
<input type="radio" name="uuid" value="<x:out select="$record/uuid" />" checked="checked" />
<x:set var="asdf123" select="string($record/uuid/text())"/>