File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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