Here we want discuss how we can run JSP code on TomCat in XAMPP.

For start TomCat You can do:

1. Download Apache Tomcat addon here.
2. Extract tomcat addon in Xampp server root directory
3. Go to C://xampp/
4. Stop all services of xampp
5. Open shell and relocate all services
6. Enable mod_jk and relocate
7. Start the services
8. In Xampp control panel you will see the tomcat service. Activate it.
9. Click on admin and enter username and password as xampp and xampp

Before start you should add below snippet to C:\xampp\tomcat\conf\tomcat-users.xml

<role rolename=”manager-script”/>
<role rolename=”manager-gui”/>
<role rolename=”manager”/>
<role rolename=”admin”/>
<user username=”xampp” password=”xampp” roles=”admin,manager,manager-gui,manager-script”/>

So with username and password as xampp you can start JSP web application.



Tags , , , , , , , ,

Leave a Reply

Want to see your ugly mug by your comment? Get a free custom avatar at Gravatar.