Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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);
Advertisement
Add Comment
Please, Sign In to add comment