• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

struts with two global error pages

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In our application we are using popup webpage.

Currently if there are any unhandled exception on any page my application displays ErrorPage1 (With Header Footer)
Which is pre-configured in struts-config.xml

Is there any way I can get bellow mentioned functionality?

When there is any unhandled exception on regular webpage we want to display ErrorPage1 (With Header Footer)
When there is any unhandled exception on popup page we want to display ErrorPAge2 (Without Header Footer)

Thanks,
 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my application also we need to display popup page.since you mentioned about popup webpage, could you tell me how did you use popup webpage, javascript or any other struts way?actually in my case, my application is getting called from third party application and requirement is my entire application should be a popup webpage, which should be MODAL. meaning you can't go back to other webpage of third party application w/o killing my application's window? any ideas?
 
nishita parmar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
here we used
window.open("action.do?param=test","name" ,"hwight..width ..scroll no addressbar etc...");
 
It runs on an internal combustion engine. This ad does not:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic