Link to home
Start Free TrialLog in
Avatar of jazzIIIlove
jazzIIIloveFlag for Sweden

asked on

redirecting to index.jsp in IBM WAS 7

Hi;

I have IBM WAS 7.0.0.33 and deployed my war file and can run the war file without issue if I type;

http://localhost:9080/index.jsp

but I want it accessible when I type http://localhost:9080/

What to do? Rather urgent. Which file should I edit? or which menu in console view?

I am a noob on this WAS so please elaborate.

Regards.
Avatar of contactkarthi
contactkarthi
Flag of United States of America image

In web.xml  you should have this:

<welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>
Avatar of jazzIIIlove

ASKER

Hi;

Where is the web.xml in WAS?

Regards.
should be under web-inf
ok, i did that but still it
it's not redirecting after i restart the server..Any workarounds?
ASKER CERTIFIED SOLUTION
Avatar of contactkarthi
contactkarthi
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yes, but that's also not working. it simply doesn't redirect. I changed web.xml, failed. I also changed webmerged.xml but failed again.

Any screenshot to do this in websphere?

Regards.
now works all of a sudden..