File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet URL

 
arpit singla
Ranch Hand
Posts: 66
  • 0
  • 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
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic