How to run Servlet on WAMP ?
Posted by: Ivan856 (---.adsl.net.t-com.hr)
Date: September 10, 2013 06:24PM

Hello,

Can someone help me, does WAMP Server 2.4 include Java Servlet container and if does, what is the name of it and where I should put my servlet classes on server? I'm running Apache 2.4.4. My Servlet classes are under the "Servlet" directory whitch is subdirectory of "www" directory. When i try to run my app on localhost I'm getting error 404.

Thanks a lot

Options: ReplyQuote
Re: How to run Servlet on WAMP ?
Posted by: RiggsFolly (---.as13285.net)
Date: September 12, 2013 09:52PM

IS the servlet to run on the server or the browser?

Options: ReplyQuote
Re: How to run Servlet on WAMP ?
Posted by: Ivan856 (---.adsl.net.t-com.hr)
Date: September 13, 2013 10:12AM

On the server i think and i want it to be there, but i am pretty sure that it is not in the correct location for servlets if WAMP support servlets at all.

Options: ReplyQuote
Re: How to run Servlet on WAMP ?
Posted by: RiggsFolly (---.as13285.net)
Date: September 13, 2013 01:59PM

I think you may need to be running TOMCAT to run server based java servlets.

Options: ReplyQuote
Re: How to run Servlet on WAMP ?
Posted by: Ivan856 (---.adsl.net.t-com.hr)
Date: September 15, 2013 12:51PM

isn't the Apache Tomcat included in WAMP?

Options: ReplyQuote
Re: How to run Servlet on WAMP ?
Posted by: RiggsFolly (---.as13285.net)
Date: September 15, 2013 01:23PM

No it is not.

Options: ReplyQuote
Re: How to run Servlet on WAMP ?
Posted by: Ivan856 (---.adsl.net.t-com.hr)
Date: September 15, 2013 04:22PM

ok I will try with TOMCAT then, thanks.

Options: ReplyQuote


Sorry, only registered users may post in this forum.