Win a copy of Kotlin in Action this week in the Kotlin forum!
    Bookmark Topic Watch Topic
  • New Topic

web application and web.xml  RSS feed

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Report post to moderator
i have a web application consisting of 1 servlet and 5 jsps.
the start point would be index.jsp

i use firmwide login page. after login, i want the browser to display index.jsp page.

In web.xml, i have defined -



if i define it as just index.jsp in the welcome file list, after successful login, it displays the dir structure of the web app.

if i define it as jsp/index.jsp, then in some of the pages, it tries to find the servlet inside jsp folder.

What would be the best way to get around this?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66188
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not post the same question more than once. Please continue any discussion in your original post on this issue.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!