This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Should be a fairly simple thing but I cannot find where todo it Instead of showing the files in a directory (when I goto the url http://mycomp.mydomain.com:9081/myapp/) I want a page to be shown. I've tried to add index files with various extensions, but noone seems to work. How do you turn off directory listing and rather redirect it to some indexfile? Any help is really appriciated - Morten
Well just having a simple "index.jsp"/"index.XXX" works in weblogic and not in websphere..
Joined: Aug 10, 2001
OK -- I just really needed to find out if this really was a WebSphere question -- you wouldn't believe some of the off-topic questions that people put in this forum. :roll: Anyway, which version of WebSphere are you using and what is your configuration? Kyle [ January 10, 2002: Message edited by: Kyle Brown ]
Joined: Nov 26, 2001
I explained it poorly Im sorry, but I figured it out. We got a servlet that handles a certain extension (*.lsw) and on weblogic we sat the welcome-file to welcome.lsw .. This didn't work in websphere it seems like it tries to find the actual file. Instead I ended up with a directory listing. Using a jsp extension and make a jsp forward to welcome.lsw instead worked though.
Hi Morten, Try this if u r using websphere 3.5 In the file Enable Service of web application we can set the parameter in the advance tab as ---default.page as the name of the parameter and index.jsp as the value of the parameter and it works fine.