• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Absolute path for jsp

 
varun bihani
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have my jsp as the following path:
www.mydomain.com:8080/myApp/jsp/jspfile.jsp
Now when I give the link for this file I dont want the make ":8080" visible.. Can I do something like the following path
www.mydomain.com/myApp/jsp/jspfile.jsp
OR
www.mydomain.com/myApp/jspfile.jsp
 
ib idris
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can.
http://galileo.spaceports.com/~ibidris/
[ October 04, 2003: Message edited by: ib idris ]
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you need to set up your application server to listen to HTTP at port 80 instead of 8080.
That's usually in a configuration file somewhere, if there is no GUI to set it.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Depends upon what server container you are using. Tomcat? Resin? What are you using?
bear
 
varun bihani
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Tomcat...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64717
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK, I think you'll get better response in the Tomcat forum. Moving this topic there.
bear
[ October 07, 2003: Message edited by: Bear Bibeault ]
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check out the documentation for Tomcat

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/server.html
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic