Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To George Justine.......continuation

 
dluckose
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir,
This is the code..This chatservlet also receive parameters from an applet also..Will that make any difference?
out.println("<html><body>");
out.println("<b>Chatrooms<b><br>");
ResultSet rs=chatmaster.getActiveChatRooms();
out.println("<form action=\"/km/servlet/ChatServlet\" method=\"POST\">");
while(rs.next()){
String chatid=(rs.getString(1)).trim();
String title=(rs.getString(2)).trim();
out.println("<input TYPE=radio NAME=\"chatid\"
VALUE='"+chatid+"' >");
out.println(title+"<br>");
}
out.println("<br><br><input type=submit name=\"submit\" value=\"submit\">");
out.println("</form>");
out.println("</body></html>");
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic