Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

WebSphere jsp:forward OR Cross Context

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have two WebSphere applications employerWeb and shoppingWeb.
I am unable to forward the page from employerWeb to shoppingWeb?

I want to forward the page from http://localhost:9080/employerWeb/dept/redirect.jsp to
http://localhost:9080/shoppingWeb/signOn.do

here is my code

String strurl = "../shoppingWeb/signOn.do";
//String strurl = "http://localhost:9080/shoppingWeb/signOn.do";

<jsp:forward page="<%= strurl %>" />

its giving error

org.apache.struts.action.RequestProcessor processMapping Invalid path /dept/../shoppingWeb/signOn.do
=======================================

Can we do crossContext in WebSphere?.

I want to pass two values to shoppingWeb from employerWeb without using query
string(I want to keep them private). How?.


Thank you
 
I suggest huckleberry pie. But the only thing on the gluten free menu is this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic