请问
<html:link href="<%=request.getContextPath()%>">Add User</html:link>
中href怎样实现href="<%=request.getContextPath()%>asdaf">就是后接字符串的问题,
第二
<bean:write name="<%=Contants.PEASON_KEY%>" property="userName"/><br>
这样写不正确,应该怎么办?
谢谢
<html:link href="<%=request.getContextPath()%>">Add User</html:link>
中href怎样实现href="<%=request.getContextPath()%>asdaf">就是后接字符串的问题,
第二
<bean:write name="<%=Contants.PEASON_KEY%>" property="userName"/><br>
这样写不正确,应该怎么办?
谢谢
然后再用<%=str%>这样应该可以把
<a href="<%=request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/procfiles/" %><ww:property value="infocontent"/>" target=_blank>
<ww:property value="infocontent"/>
</a>之前在webwork中这样写是可以的,楼主看看有没有参考价值。