Enable Tomcat Web server on XAMPP (Enabling JSP on XAMPP)

By default, you can’t directly run JSP files on XAMPP. In order to do so, you have to add Tomcat for XAMPP.
You can enable Tomcat on XAMPP by downloading tomcat add-on at 
http://www.apachefriends.org/en/xampp-windows.html#644 and running the installer executable file.

There’s always usually a conflict with port numbers if you are running more than one web server on your work station. In this case, you can change and configure tomcat web server to run on other port numbers.
Below notes are to show you where to change the port number for tomcat server.





Configure Port number on Tomcat Server
Please find following find in your tomcat installation directory.

C:\xampp\tomcat\conf\server.xml
<Connector port="9000" protocol="org.apache.coyote.http11.Http11AprProtocol"
connectionTimeout="20000"
redirectPort="8443" />
Change the port number from its default “8080” to “9000” (You can change to other available port number as well)
Check User Name and Password for Tomcat

C:\xampp\tomcat\conf\tomcat-users.xml
<tomcat-users>
<role rolename="manager"/>
<role rolename="admin"/>
<user username="xampp" password="xampp" roles="admin,manager"/>
</tomcat-users>

6 Responses so far.

  1. Anonymous says:

    what are the java codes to used be able to read, update and delete the input data that has been deployed on the website?

  2. Unknown says:

    Nice to read this article i like website design thanks for sharing it .




  3. Unknown says:

    Legal ideologies prevail among domestic decision-makers this type of It they are affected by perceptions It the measures are generally unlawful, or even The item domestic opponents or perhaps some other countries at the global regime in addition categorise them. Moreover, domestic decision-making becomes enmeshed throughout international legal norms, As institutional arrangements law from the generating ALONG WITH maintenance of your international commitment be entrenched within domestic legal AND ALSO political processes.

  4. I just wanted to thank you for the help. I have been trying to figure it for a couple of hours.

    Cheers

  5. Anonymous says:

    could someone explain to why on earth anyone would want to use JSP when php is much faster and robust?

Leave a Reply