Under the Apache directory(ie ,the name for the direstory where all the webserver files are located.) there will be directory called "conf".
Inside that you can find httpd.conf.
Open the file in any text editor.
Look for Port.
Normally it will have Port 80.
That number is the port on which the web server is listening.
Search for DocumentRoot.It will have some directory name .There you have to put your html files.
Then your url becomes
you are accessing the page from the same machine as the web server and the port is 80).
Otherwise you have to use
as far as I know Apache doesnot provide any servlet engine.
You have to download a servlet engine(TOmcat,jrun etc) and configure it for servlet and jsp.