tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slawek <s.wojciechow...@gmail.com>
Subject simple servlet on tomee 1.5
Date Sun, 07 Oct 2012 06:41:20 GMT
Hello,
I tested simple servlet on tomee 1.0 on windows 7:


@WebServlet(name = "TestServlet", urlPatterns = {"/test"})
public class JpaServlet extends HttpServlet
{
	public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
	{
		response.setContentType("text/html");
		PrintWriter out = response.getWriter();
		out.println("hello");
		out.close();	
	}
}

Without using web.xml descriptor and any other configuration files. It works
fine.

Now I try to run this example on tomee 1.5 and it doesn't work. There isn't
any information in log file. Should I change something?

Best Regards
sw



-----
Best Regards
sw
--
View this message in context: http://openejb.979440.n4.nabble.com/simple-servlet-on-tomee-1-5-tp4657835.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Mime
View raw message