Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts with two global error pages

 
nishita parmar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • 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,
 
Vicky Pandya
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
here we used
window.open("action.do?param=test","name" ,"hwight..width ..scroll no addressbar etc...");
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic