I wrote an application with a JSP to create Employee to database tables( using 
an action class ) and a JSP to list all employee in database. And the display of the 
latter JSP follows another action class( called ListEmployee ) , which retrieves data 
from database and construct a collection object in the request scope . The JSP looks 
like :
<table width="75%" border="1">
        <tr>
        <td>ID</td>
        <td>Name</td>
        <td>Age</td>
        <td>Salary</td>
                <td>Company</td>
        </tr>
        <logic:iterate id="it" name="_EmployeeList">
        <tr>
        <td><bean:write name="it" property="id" /></td>
        <td><bean:write name="it" property="name" /></td>
        <td><bean:write name="it" property="age" /></td>
        <td><bean:write name="it" property="salary" /></td>
        <td><bean:write name="it" property="company.name" /></td>
        </tr>
        </logic:iterate>
</table>
        
        When I display the list first time , it looks ok . But when I click the link 
again , it just return a blank page for me.Only restart will solve the problem( but 
that means I could only display once ).Could anyone tell me the reason and how to 
resolve it?



            Huhaibo
            [EMAIL PROTECTED]

Reply via email to