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.
Hi folks, I want to deploy a web application and set the servlet context as: AAA/BBB. Put more simply, my application should be accessible via the following: http:localhost:7001/AAA/BBB/main.jsp One work around is to set the context: weblogic.httpd.webApp.AAA=WebAppLocation And in the deployment descriptor (web.xml) to register all servlets with a BBB/ prepended to the desired alias: <servlet-mapping> <servlet-name>main</servlet-name> <url-pattern>BBB/main.jsp</url-pattern> </servlet-mapping> But this solution does not work for me. Parts of the application refer the context root (AAA) and create URLs relative to that. These URLs will not have the BBB part. Searching for it in the code and replacing it is not desirable (we do not own the code). Does anyone have any suggestions? Thanks in advance, Sharad
Joined: Sep 11, 2002
By the way, we are using Weblogic 5.1 and the path weblogic.httpd.webApp.AAA=WebAppLocation is being specified in the weblogic.properties file for the web app.