This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 497

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: 497

Found the answer.. Run the server by right clicking the service tab in the netbeans
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running HTML and Servlets in NetBeans
 
Similar Threads
How to run JUnit test in Netbeans 4.0
Turn up logging for Netbeans build
Java Error: java.lang.ArrayIndexOutOfBoundsException: 0 For Simple Program
javamail help!
HTTP Status 404 error in tomcat