yongsing
asked on
Application Context Root
I am using WebLogic 10. My application context path is at C:\workspace\ple\public_ht ml. I have chosen to name the application as "ple". After deploying, I found that I need to access the application this way:
http://localhost:7001/public_html/login.jsp
I thought that since the application name is "ple", I should be able to access it as:
http://localhost:7001/ple/login.jsp
But the above is actually invalid. So how do I configure it so that I can access it as http://localhost:7001/ple/login.jsp ?
http://localhost:7001/public_html/login.jsp
I thought that since the application name is "ple", I should be able to access it as:
http://localhost:7001/ple/login.jsp
But the above is actually invalid. So how do I configure it so that I can access it as http://localhost:7001/ple/login.jsp ?
How did you name your war file? WebLogic takes the context root from the name of the war file.
ASKER
I did not use a war file. I just put my stuff in C:\workspace\ple\public_ht ml, and in WebLogic's console, under Deployment, I just specify the path of the application as "C:\workspace\ple\public_h tml".
Can you not change it from the console? Can you try changing it fromthe weblogic.xml file? There should be a context-root element.
ASKER
Yes, I can certainly change it from weblogic.xml. Do you know exactly what is the tag to change? I can't seem to find the description for weblogic.xml for WebLogic 10.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks girionis!
I added the following in weblogic.xml:
ple
and now I can access the application as:
http://localhost:7001/ple/login.jsp
I added the following in weblogic.xml:
ple
and now I can access the application as:
http://localhost:7001/ple/login.jsp
Thanks for accepting, glad I was of help :)