[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

redirecting to index.jsp in IBM WAS 7

Posted on 2014-07-14
7
Medium Priority
?
561 Views
Last Modified: 2014-07-14
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.
0
Comment
Question by:jazzIIIlove
  • 4
  • 3
7 Comments
 
LVL 17

Expert Comment

by:contactkarthi
ID: 40194128
In web.xml  you should have this:

<welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
  </welcome-file-list>
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 40194129
Hi;

Where is the web.xml in WAS?

Regards.
0
 
LVL 17

Expert Comment

by:contactkarthi
ID: 40194134
should be under web-inf
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 12

Author Comment

by:jazzIIIlove
ID: 40194149
ok, i did that but still it
it's not redirecting after i restart the server..Any workarounds?
0
 
LVL 17

Accepted Solution

by:
contactkarthi earned 2000 total points
ID: 40194163
<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
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 40194276
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
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 40195124
now works all of a sudden..
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses
Course of the Month20 days, 1 hour left to enroll

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question