• Post Reply Bookmark Topic Watch Topic
  • New Topic

default page  RSS feed

 
Ranch Hand
Posts: 66
  • 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
 
Greenhorn
Posts: 17
  • 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.
 
The world's cheapest jedi mind trick: "Aw c'mon, why not read this tiny ad?"
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!