File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Linux / UNIX
mapping default page to domain name in tomcat without port number.in Ubuntu
Joined: Jun 23, 2011
Jun 23, 2011 00:20:56
Ubuntu is os and
I have domain name like www.mydomain.com". I want open the index.jsp by typing my domain name in the url from browser.
I created index.jsp and added code - sendRedirect("http://www.mydomain.com/Myapp/index.jsp"), place it under root folder of tomcat.
Its working fine if I type
but I need to type only domain name not the port number 8085.
If I type only domain name its not working.
please suggest me , how to open default page by typing only domain name instead of typing like
Joined: May 14, 2008
Jun 23, 2011 09:39:36
Prasadk, welcome to
You want to run Tomcat on port 80 (the default HTTP port). Any of these should help:
linux tomcat port 80
JBoss In Action
subject: mapping default page to domain name in tomcat without port number.in Ubuntu
where to map the domain name in Tomcat?
Picking up parameters in the URL
404 error redirecting
I am not sure how to change the view of url for struts 2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015