Discussion Locked
0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
To access servlet in a localmachine i have to type the url as http:\\ip address:port no\servletdir\servlet name.rather specifing the above thing i have to give a domain name for a servlet which will ask for a user authentication.
1 reply
by jay eckles
It pretty much depends on what web server you're using. Most will allow you to configure the server such that a specific file in the web directory will be the default document, and that's what you want to do. Configure the server so that servletdir\servlet name is the default document. You'll have to register a domain name for that IP address to have a domain name, and if the servlet container or web server is running on a port number other than 80, then the port number is simply going to have to be part of the URL.
For more information, consult your web server documentation.
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending
Discussion Locked
What Makes a Business Website Effective in 2026
1 helpful
10 replies
Question
Windows and macOS computers becoming slow or unstable after updates - what should I check first
0 helpful
1 reply
1 helpful
3 replies
Discussion
Optimizing WordPress widgets and DOM size
0 helpful
3 replies
Discussion Locked
Best Ways to Improve Website Visibility
0 helpful
5 replies