Solved

Creating URL for JSP Application

Posted on 2004-09-01
4
199 Views
Last Modified: 2010-04-01
Hi All...
          I've Created a JSP application with Oracle 9i as database and I am using Oracle 9iAS as web server. I've created my application folder in J2EE folder of the 9iAS and put the JSP pages in that. All is running fine, but I am using ip address for accessing the application i.e. http://111.111.111:123/jsee/myfolder/login.jsp.
         I want that rather than giving this url for the application access there should have to be a domain name like http://myaalication.com

Please send me solution for that...
0
Comment
Question by:shamakant_sharma
4 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 63 total points
ID: 11950374
Simpliest way is adding myalication.com to your hosts file:
111.111.111.123       myalication.com

on Windows  hosts file is in %WINROOT%/system32/drivers/etc directory
on Unix it is in /etc/hosts

But if you want that everyone can access it by name you should setup DNS server and add your domain and hosts to that DNS server.
0
 
LVL 11

Assisted Solution

by:sompol_kiatkamolchai
sompol_kiatkamolchai earned 62 total points
ID: 11950445
if you use windows, you can use

http://computer-name:port/jsee/my.....
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Can I clean log of  running tomcat 7 server ? 3 127
Servlet Login session time and authentication using Filter 6 71
How to group array of objects ? 5 69
login jsp example 24 65
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question