Found this in another thread. It helped me:
glmarsh
Ok after reading everyones comments, thank you very much by the way, I
decided to re-read the tutorial again and notice that you could :
> Choose File > New Project (Ctrl-Shift-N). Select Web Application from the
Java Web category or EJB Module from the Java EE category.
I had choosen the Web Application from the Java Web Catagory the first time
and apparently that was wrong. If you are using Glassfish you must select
the Web Application from the EJB Module in the Java EE Catagory. Once you
start the project out correctly everything else falls into place. A subtle
but critical requirement. [Shocked]
--
[Message sent by forum member 'ncysenros']
View Post: http://forums.java.net/node/691946