How to run a jsp file using tomcat
Now click on "Finish". Now a window is generated containing the default index. Now change some coding in the default JSP page as given below. First recheck the Tomcat configuration if you have changed the default port number of Apache Tomcat then you need to do the same in the Netbeans IDE.
For changing the port number of the Tomcat Server use the following. Go to the services menu and then click on "Servers" and then right-click on "Apache Tomcat" and choose "Properties" as in the following:. Now select the server port number that you chose in configuring the Apache Tomcat Server. Since I chose port in Apache Tomcat so it needs to be changed in Netbeans also. Now click on close and run the project. For running your project right-click on the project and select "Run" as follows.
The following output is generated through the specified JSP file. This post will give you description about how you can run your project using Apache Tomcat Server. I would like to define these terms before proceeding:.
Step 4 An icon will appear on the taskbar, this icon will automatically appear after following above step:. Step 11 Create a text file and name it as first. You are commenting using your WordPress. You are commenting using your Google account. Active 7 years ago. Viewed 43k times.
Improve this question. Stan Murdoch Stan Murdoch 51 1 1 gold badge 1 1 silver badge 2 2 bronze badges. Add a comment. Active Oldest Votes. Improve this answer. Jwalant Jwalant 41 2 2 bronze badges. Dorpsidioot Dorpsidioot 2 2 silver badges 7 7 bronze badges.
Srikanth Venkatesh Srikanth Venkatesh 2, 1 1 gold badge 18 18 silver badges 13 13 bronze badges. Download an IDE say eclipse. Download the jdk say jdk1. Download the binary distribtion from here Create a dynamic web project in eclipse. Suresh Gupta Suresh Gupta 11 1 1 bronze badge.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses. Featured on Meta.
0コメント