result = result.concat("<p><input type=submit value=\"Buy now!\"></center><p>\n");
result = result + "<p><input type=submit value=\"Buy now!\"></center><p>\n";
  public String printItemDescriptionToBuyNow(int userId) throws RemoteException  {    String result = "<TABLE>\n"+"<TR><TD>Quantity<TD><b><BIG>"+quantity+"</BIG></b>\n"+      "<TR><TD>Seller<TD><a href=\"/servlet/edu.rice.rubis.beans.servlets.ViewUserInfo?userId="+sellerId+"\">"+      getSellerNickname()+"</a> (<a href=\"/servlet/edu.rice.rubis.beans.servlets.PutCommentAuth?to="+sellerId+"&itemId="+id+"\">Leave a comment on this user</a>)\n"+      "<TR><TD>Started<TD>"+startDate+"\n"+"<TR><TD>Ends<TD>"+endDate+"\n"+      "</TABLE>"+      "<TABLE width=\"100%\" bgcolor=\"#CCCCFF\">\n"+      "<TR><TD align=\"center\" width=\"100%\"><FONT size=\"4\" color=\"#000000\"><B>Item description</B></FONT></TD></TR>\n"+      "</TABLE><p>\n"+description+"<br><p>\n"+      "<TABLE width=\"100%\" bgcolor=\"#CCCCFF\">\n"+      "<TR><TD align=\"center\" width=\"100%\"><FONT size=\"4\" color=\"#000000\"><B>Buy Now</B></FONT></TD></TR>\n"+      "</TABLE><p>\n"+      "<form action=\"/servlet/edu.rice.rubis.beans.servlets.StoreBuyNow\" method=POST>\n"+      "<input type=hidden name=userId value="+userId+">\n"+      "<input type=hidden name=itemId value="+id+">\n"+      "<input type=hidden name=maxQty value="+quantity+">\n";    if (quantity > 1)      result = result + "<center><table><tr><td>Quantity:</td>\n"+        "<td><input type=text size=5 name=qty></td></tr></table></center>\n";    else      result = result + "<input type=hidden name=qty value=1>\n";    result = result.concat("<p><input type=submit value=\"Buy now!\"></center><p>\n");    return result;  }