This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes struts with two global error pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts with two global error pages" Watch "struts with two global error pages" New topic
Author

struts with two global error pages

nishita parmar
Greenhorn

Joined: Apr 29, 2005
Posts: 2
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

Joined: Dec 16, 2004
Posts: 148
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

Joined: Apr 29, 2005
Posts: 2
here we used
window.open("action.do?param=test","name" ,"hwight..width ..scroll no addressbar etc...");
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts with two global error pages
 
Similar Threads
sharing tiles / definitions across applications
How to create a printe friendly page
Opening new pages in Plumtree
Exception handling in struts
Page not displaying