This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

default page

 
sushant prabhu
Ranch Hand
Posts: 66
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do i give a default webpage when any user visits the website
using Javawebserver or Tomcat or weblogic
 
khudiram Barik
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In your web-inf directory look for web.xml where you can specify the following:-
<web-app>
<welcome-file-list>
<welcome-file>
yourfirstpageName
</welcome-file>
</welcome-file-list>
</web-app>
Different webserver may have different names for this web.xml, but we have to add the welcome-file-list. Try it out.
Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic