servlet content rendering


Web tier: servlets, JSP, Web frameworks: servlet content rendering

  1. servlet content rendering (2 messages)

    I'm writing a class extending javax.servlet.http.HttpServlet.
    In the doGet() method, I parse URI and based on extracted value, I query database and display query results on the current page. However, I don't want to explicitly write code to generate html output, what content rendering technologies are available?
  2. servlet content rendering[ Go to top ]

    1. XSLT, in this case you need to write XML and XSL Stylesheet.
    2. JSP

  3. servlet content rendering[ Go to top ]

    You might want to look at frameworks as Echo which allow you to fully specify a page in Java in a similar fashion as Swing.