File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Context-Root problem in WAS5 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "Context-Root problem in WAS5" Watch "Context-Root problem in WAS5" New topic
Author

Context-Root problem in WAS5

Ben Klug
Ranch Hand

Joined: Jan 28, 2002
Posts: 45
Hi
I try to put a WAS4 Application to WAS5. I got one Problem:
for example, we have the following sourcecode in a JSP:

In WAS4 the target of the redirect-commad is:
http://host/anyfolder/any.jsp
or, if I use the context-root = /test
http://host/test/anyfolder/any.jsp

in WAS5 an error occures:
http://host/anyfolder/any.jsp
or, if I use the context-root = /test
http://host/anyfolder/any.jsp
WAS5 removes the context-root, if there is one.
Any Idea, how I can solve this, without changing the source-codes??
Thanks & Happy New Year
B.
Rufus BugleWeed
Ranch Hand

Joined: Feb 22, 2002
Posts: 1551
What is the error that occurs?
Ben Klug
Ranch Hand

Joined: Jan 28, 2002
Posts: 45
a simple wrong URL-Message like:
_____
Virtual host or webapplication not found
/anyfolder/any.jsp is not defined
IBM WebSphere Application Server
_____
Thanks for your efforts!
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Context-Root problem in WAS5
 
Similar Threads
Potal Url
Maven 2 Plugin for WebSphere Application Server 5
Get Context Root From Servlet Code
tomcat as a virtual host
JSP Question using WebSphere