Running Servlets in NetBeans 6.5 with Glassfish V2

Reply

Join Date: Dec 2007
Posts: 65
Reputation: CodeBoy101 is an unknown quantity at this point 
Solved Threads: 0
CodeBoy101's Avatar
CodeBoy101 CodeBoy101 is offline Offline
Junior Poster in Training

Running Servlets in NetBeans 6.5 with Glassfish V2

 
0
  #1
Jul 16th, 2009
Hello to all, I was wondering how to run servlets using Glassfish V2. I'm using NetBeans 6.5 and need to use servlets, but I don't want to install Tomcat to do so, any suggestions?
Reply With Quote Quick reply to this message  
Join Date: Jul 2009
Posts: 24
Reputation: ThinkFree is an unknown quantity at this point 
Solved Threads: 3
ThinkFree ThinkFree is offline Offline
Newbie Poster

Re: Running Servlets in NetBeans 6.5 with Glassfish V2

 
0
  #2
Jul 16th, 2009
Installed glassfish bundled with netbeans or manually?

Just right click on the project, go to NEW>SERVLET, Enter name of servlet, click OK. Enter the code, and save. Right click on servlet file and select RUN to run the servlet.
Reply With Quote Quick reply to this message  
Join Date: Dec 2007
Posts: 65
Reputation: CodeBoy101 is an unknown quantity at this point 
Solved Threads: 0
CodeBoy101's Avatar
CodeBoy101 CodeBoy101 is offline Offline
Junior Poster in Training

Re: Running Servlets in NetBeans 6.5 with Glassfish V2

 
0
  #3
Jul 16th, 2009
Thank you for your response. Glassfish was bundled with Netbeans by the way. Bur I have a question: how do I run servlets within JSP pages?
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,721
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 501
Moderator
adatapost's Avatar
adatapost adatapost is offline Offline
Posting Maven

Re: Running Servlets in NetBeans 6.5 with Glassfish V2

 
0
  #4
Jul 17th, 2009
CodeBoy101,
>>how do I run servlets within JSP pages?
Send request for servlet to the webserver.
Last edited by adatapost; Jul 17th, 2009 at 3:25 am.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,260
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 493
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: Running Servlets in NetBeans 6.5 with Glassfish V2

 
-1
  #5
Jul 17th, 2009
Originally Posted by CodeBoy101 View Post
Hello to all, I was wondering how to run servlets using Glassfish V2. I'm using NetBeans 6.5 and need to use servlets, but I don't want to install Tomcat to do so, any suggestions?
javapassion.com - GlassFish Programming/Development
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JSP Forum


Views: 993 | Replies: 4
Thread Tools Search this Thread



Tag cloud for JSP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC