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.
LVL 12
jazzIIIloveAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

contactkarthiCommented:
In web.xml  you should have this:

<welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>
0
jazzIIIloveAuthor Commented:
Hi;

Where is the web.xml in WAS?

Regards.
0
contactkarthiCommented:
should be under web-inf
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

jazzIIIloveAuthor Commented:
ok, i did that but still it
it's not redirecting after i restart the server..Any workarounds?
0
contactkarthiCommented:
<welcome-file-list>
    <welcome-file>/index.jsp</welcome-file>
  </welcome-file-list>

try with a / before index.jsp

you say http://localhost:9080/index.jsp loads your application. so http://localhost:9080 should point to your allpication then when you do the above settings in web.xml it should work. can  you try this. let me google around and see..
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jazzIIIloveAuthor Commented:
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.
0
jazzIIIloveAuthor Commented:
now works all of a sudden..
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java App Servers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.