If you make new WebApplication, then you shown a dialog...
that dialog contain :
- the menu to set path where your project must be saved..
- the menu to set target runtime (if we've installed Glassfish shipped with Nebeans then the default target runtime must be Glassfish)..
if you've an existing WebApplication, you could change your target runtime also..
just click your WebApplication, and then select
Properties, and select
Run...
and then change it to Glassfish..
but if you only have to make a WebApplication that only contain
Servlet &
JSP, i think Apache
Tomcat is enough for you...
Glassfish is needed if we want to deal with
EJB, JTA, and etc..