Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running HTML and Servlets in NetBeans

 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Yohan Weerasinghe
Ranch Hand
Posts: 507
Java Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found the answer.. Run the server by right clicking the service tab in the netbeans
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic