• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to present data from jsp?  RSS feed

 
Janelle Bullus
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-template.tld" prefix="template" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ page contentType="text/html; charset=Shift_JIS" %>
<html:html>
<head>
<title>
index
</title>
</head>
<body>
<h1>JBuilder Generated Struts JSP for ActionForm com.detail.actionform.IndexActionForm</h1>
<p>
<html:form action="/indexAction.do" method="POST">
<DIV align="center" style="overflow-x:hidden;OVERFLOW-Y:scroll;width:460;height:350">
<TABLE border="1" width="100%">
rem
this iterate cannt show any data for me.
But i found that Bulliten and dataArrayList they all have data.
I dont know where have a problem?
please show me.
<logic resent name="loginActionForm" property="dataArrayList">
<logic:iterate id="Bulliten" name="loginActionForm" property="dataArrayList" scope="session" offset="0" length="1000">
<TR>
<TD width="10%">123<bean:write name="Bulliten" property="bulcode" filter="true" /> </TD>
</TR>
</logic:iterate>
</logic resent>
</TABLE>
</DIV>
<html:submit property="submit" value="Submit"/><br>
<html:reset value ="Reset"/>
</html:form>
</body>
</html:html>
this is web view ssource
<html lang="ja">
<head>
<title>
index
</title>
</head>
<body>
<h1>JBuilder Generated Struts JSP for ActionForm com.detail.actionform.IndexActionForm</h1>
<p>
<form name="indexActionForm" method="POST" action="/struts/indexAction.do">
<DIV align="center" style="overflow-x:hidden;OVERFLOW-Y:scroll;width:460;height:350">
<TABLE border="1" width="100%">
</TABLE>
</DIV>
<br>
<br>
<br>
<br>
<br>
<input type="submit" name="submit" value="Submit"><br>
<input type="reset" name="reset" value="Reset">
</form>
</body>
</html>
[ October 09, 2003: Message edited by: Janelle Bullus ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!