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

LocalHost in request.serverName()

 
Nitin Raodeo
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
I have my Web application on Tomcat server(without Apache).
The IP is mapped to some DSN.
In my JSP when i fetch the name of the server(request.serverName() )
it is displayed it as LocalHost and not the server name.
Does any configuration need to be done?
Thanks in Advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64181
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Report post to moderator
Nitin, please do not cross-post the same question to multiple forums. Any discussion of this topic should happen here.
bear
 
    Bookmark Topic Watch Topic
  • New Topic