JSP on small network.

Discussions

Web tier: servlets, JSP, Web frameworks: JSP on small network.

  1. JSP on small network. (2 messages)

    friends

    I have (Apache + Resin ) enviornment for running my JSP's and servlets

    I am currently working on standalone mode on win98
    We have decided to make a small network and running Apache + Resin +mySQl in remote location and call the apache thru the client terminals.

    when running with resin httpd we type http://localhost:8080/....
     as my resin listens at port 8080.

    when running with apache httpd with Resin servlet runnner we type

    http://localhost/......

    Guys please tell me what do i need to do , for making http request to my host from a dumb terminal.

    http:// ....??????

    I have checked Apache http.conf file and have set 'servername = localhost' .As it has clearly mentioned , we cannot name the server as per our wish. So 'localhost' the default was the only option available.

    PLEASE HELP.

    Threaded Messages (2)

  2. JSP on small network.[ Go to top ]

    If other dumb terminals are on the network, u can access ur server using http:// computer name> : <port number on which ur server is running> .
  3. JSP on small network.[ Go to top ]

    Have you tried:
    http:// address of server>:<port of service>
    For example:
    http://10.0.0.2:8080

    I'm not REALLY familiar with Win98 networking, but my guess is that by using the name localhost your machine is trying to connect to 127.0.0.1 (ie, the machine making the request), and not to the server set up to accept requests.

    It's not as pretty as a name, but it should work...

    Does that sound reasonable?

    Tim