Win a copy of TDD for a Shopping Website LiveProject this week in the Testing 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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...");
 
Without deviation from the norm, progress is not possible - Zappa. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic