jQuery in Action, 2nd edition*
The moose likes IDEs, Version Control and other tools and the fly likes Running HTML and Servlets in NetBeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Running HTML and Servlets in NetBeans" Watch "Running HTML and Servlets in NetBeans" New topic
Author

Running HTML and Servlets in NetBeans

Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 499

Hi,

I am having some servlet files which will get executed after the request is sent by the HTML file. I test this using NetBeans because it is the easiest, but the problem is when I am trying to run the HTML file using "Right Click>View" the web page simply opens without starting TomCat Service. Then I can't test my file. How to run the HTML file with the tomcat service via NetBeans? Please help...


Are you better than me? Then please show me my mistakes..
Yohan Weerasinghe
Ranch Hand

Joined: Oct 07, 2010
Posts: 499

Found the answer.. Run the server by right clicking the service tab in the netbeans
 
Don't get me started about those stupid light bulbs.
 
subject: Running HTML and Servlets in NetBeans
 
Similar Threads
HTTP Status 404 error in tomcat
How to run JUnit test in Netbeans 4.0
javamail help!
Turn up logging for Netbeans build
Java Error: java.lang.ArrayIndexOutOfBoundsException: 0 For Simple Program