Skip to content

Commit

Permalink
fixed a small bugin filters (one of the overloaded with() wasn't prop…
Browse files Browse the repository at this point in the history
…agating init params).

Added some variance to integration tests.
  • Loading branch information
dhanji committed Mar 27, 2008
1 parent 91ad675 commit 913d533
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/com/wideplay/example/servlets/HelloWorldServlet.java
Expand Up @@ -21,13 +21,15 @@
public class HelloWorldServlet extends HttpServlet {
//this servlet is also managed by guice, so you can inject, scope or intercept it as you please.



protected void doGet(HttpServletRequest httpServletRequest, HttpServletResponse httpServletResponse) throws ServletException, IOException {
//lets say hi!
final PrintWriter out = httpServletResponse.getWriter();

out.println("<html><head><title>Warp::Servlet powered servlet</title></head>");
out.println("<body>");
out.println("Hello from Managed servlet powered by Warp::Servlet and Google Guice!");
out.println("Hello from Managed servlet: " + getServletName() +" powered by Warp::Servlet and Google Guice!");
out.println("</body></html>");

//write!
Expand Down

0 comments on commit 913d533

Please sign in to comment.