Does any one know any links to tutorials on how to set a PC up to work as a web server that support JSP?

link|improve this question
Can you access your App on localhost:8080 from you PC? – O.D Mar 10 '11 at 12:06
feedback

migrated from stackoverflow.com Mar 10 '11 at 12:14

This question came from our site for professional and enthusiast programmers.

3 Answers

up vote 2 down vote accepted
  • Download and install jdk (if system doesn't have already)
  • Download and install tomcat
  • goto installation dir /bin/startup.sh (or .bat) it will start tomcat server on the port you have configured at installation time
  • open browser and hit http://localhost:port

See Also

link|improve this answer
Sorry, maybe i was unclear, i have got this far, but i want it to work over the web so i can test it. – Lunar Mar 10 '11 at 11:41
ok then you need to have a public IP for your machine, ask your network administrator to do this. and then just http://yourIP:port/ – Jigar Joshi - org.life.java Mar 10 '11 at 11:45
Currently my server works on local host 8080 and i have set up a dynamic ipweb address using no-ip, but if i use the address.com:8080 nothing shows up, just times out, i have opene port in firewall. – Lunar Mar 10 '11 at 11:48
this is better suited at superuser.com , still I would say the issue may be there with DNS and name assigned to machine. , try by pinging that machine using name. try to traceout and there is always superuser.com :) – Jigar Joshi - org.life.java Mar 10 '11 at 11:51
feedback

Well if you can access localhost:8080 from you own PC it sounds like routing Problem if not maby the Port is busy by other process, try using another Port.

Are you trying to access your external IP from your own network or outside? Can you ping your own IP from outside the network?

If possible try to connect directly to the Internet (without the router) so you can locate the Problem, for me it sounds like your Router is the Problem.

link|improve this answer
feedback

If you are using Windows you can use XAMPP http://www.apachefriends.org/en/xampp.html

or on linux you can also use XAMPP but in both cases you need to add the Tomcat addon,

It has a web based config and control system. and supports

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.