Where Eclipse deploys servlets on GlassFish?

452 Views Asked by At

I'm using Eclipse Juno with GlassFish 4 on Widows 7 box. GlassFish is installed as local host.

If I keep all the defaults and deploy my Dynamic Web Project to the server via Eclipse, what will be the Web address for servlets? What should I put into HTML form action parameter?

Servlet's class is annotated with @WebServlet.

Context root is /WebProject.

I do see the servlet deployed on the server, but getting *404*s on all my attempts.

UPDATE:

It's working now. I simply haven't realized that urlPatterns value is case-sensitive.

0

There are 0 best solutions below