I am newly started using WAMP server. I am unable to deploy my java application on it. only Html pages run. Please help with directory structure and where to keep jsp, java, .class ,war,xml files. JSP code is shown on html page when i click link for jsp.
I will actually answer your question instead of being a snotty know-it-all.
Yes, you can deply wampserver and Tomcat at the same time on the same computer. By default Wamp binds itself to port 80 which is the default port for the http protocol. I believe Tomcat binds itself to port 8080 so there should be no conflict but if there is, just change Tomcat to 8080 and you can run them both at the same time. If you want something small and easier to work with try Blazix.
Good luck to you.
WAMP Server is primarily meant for PHP/MySQL Development on Windows and does not support Java/JSP out of the box.(AFAIK) While it would be possible to use the same WAMP installation for configuring it to support JSPs, you would still need a Servlet Container for interpreting your Java/JSP source files. Since you are new to WAMP, it would be more logical to install a different Servlet Container such as Tomcat given below to reduce the time needed to get you up and running.
To deploy JSP applications with minimal configuration/maintenance other than your project specifications, check out Apache Tomcat for Windows.
http://tomcat.apache.org/ - Download Tomcat 6.0(Windows Service)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With