
Untitled
By: a guest on
Jun 9th, 2012 | syntax:
None | size: 0.70 KB | hits: 24 | expires: Never
Implementation of a servlet that identifies requester and sends dinamic html for browser or just information for mobile/desktop app
for (Texto e : results)
{
print = "<table width='100%' border='2' cellspacing='2' cellpadding='2'>"
+ "<tr><td colspan='2'>"
+ results.get(0).titulo
+ ";</td></tr><tr><td colspan='2'>"
+ results.get(0).texto
for (Texto e : results)
{
resp.getWriter().println("Titulo:"
+ results.get(0).titulo);
resp.getWriter().println("Nome:"
+ results.get(0).nome);