Hi EveryBody,
In my project there is a 'HTML table' which has to be showed in the
client end. The table consist of 2 columns and many rows.The first column
consists of only a one entry that is 'DAY' of a month. But the
problem comes when considerd the second column, where it should consists
of many 'check boxes'(inside the cell) for a single entry of a day. These
Checkboxes has to be created inside this cell(for each and every day) of the
TABLE as well.
For eg. If we consider a particular ROW -> The Relevant DAY may
be "1999.8.20" but for this DAY there may be many Checkboxes in the
next column. And also for each and every day the no of
check boxes vary.
The code I tried was as follows(for the time being ignore the fact
that the no of check boxes vary concentrate for a single check box)
...
...
out.println("<TABLE BORDER=2 CELLPADDING=0 CELLSPACING=2 WIDTH=80%>");
...
...
for (int NDAY = 0; NDAY < TOTALDAY; NDAY++)
{
out.println("<TR>");
out.println("<TD><FONT SIZE=+1>");
out.println(DAYOFMONTH[NDAY]);out.println("</FONT></TD>");
//This is where the problem is
out.println("<TD><CENTER>");
out.println("<input type=checkbox name=day value=\"test\">"+NDAY);
out.println("</CENTER></TD>");
out.println("</TR>");
}
...
...
out.println("</TABLE></BODY></HTML>");
..
This may be something to do with HTML but I have to present this
interface in the client end using Servlets. But the above effort
was not successfull.If this cannot be done using HTML then WHAT?
But still I feel this can be done using HTML/SERVLET.
Hope U this is clear and U all will give a quick,good Solution for
this problem.
thanks
lalith
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html