hi..
I have a form through which i insert some data into DB...
I store all these form properties in a form bean...
When the form is submitted, DB insert is fine
But when i try to dislay the form properties on screen, it gives me
nothing...
I tried to follow struts example as far as the config file is concern....
here is some details that reveals some fact about my form:
In jsp file i have this:
---------------------------------------
<html:form action="/addBookForm" focus="bookIsbn">
<bean:message key="reqd.fields"/>
<table border="0" width="100%">
<tr>
<th align="right">
<bean:message key="book.isbn"/>
</th>
<td align="left">
<html:text property="bookIsbn" maxlength="300"/>
</td>
</tr>
---------------------------------------
here is my config file
---------------------------------------
<form-bean name="AddBookForm"
type="org.apache.struts.InSageLib.Library.AddBookForm"/>
---------------------------------------
and here is how I try to dislay properties:
---------------------------------------
<jsp:useBean id="abf" scope="session"
type="org.apache.struts.InSageLib.Library.AddBookForm" />
<%
String isbnNumber = abf.getBookIsbn();
%>
<jsp:getProperty name="abf" property="bookIsbn"/>
---------------------------------------
I don't know what's the problem...??
Nishit Trivedi
Software Engineer
Planet Access Networks - An InSage Company
973-691-4704 X157