Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet URL

 
arpit singla
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have all my servlets in the path:
c:\tomcat\webapps\myapplication\web-inf\classes
this application works when i give URL: http://localhost:8080/myapplication/servlet/myservlet
but doesn't work when i want to call it through my registered domain name giving url:
http://www.mydomain.com:8080/myapplication/servlet/myservlet
please let me know if i need to change some conf. file..??
thanks
arpit
 
Ray Smilgius
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for your web.xml file in your app structure what do you have for using your servlet
for example your
<web-app><servlet><servlet-name>Serve</servlet-name><servlet-class>MeriServlet</servlet-class></servlet></web-app>

------------------
Sun Certified Java Programmer
Sun Certified Java Developer
I-Net Certified
A+ Certified
Network+ Certified
MCP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic