File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Problem With Pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Problem With Pages" Watch "Problem With Pages" New topic

Problem With Pages

Pat Flickner
Ranch Hand

Joined: Nov 17, 2003
Posts: 173
I have two jsp's. The one is loaded with some buttons along with the report. The report uses SAS Connect to get the report of the cube. One of the buttons connects to Sybase to get any special information regarding the report. If that button is clicked, the call to Sybase seems to kill the call to SAS, so in order to view any more info on the report, you have to get completely out of the application and then go back in. Obviously a huge waste of time. Any ideas how I can avert this problem? Thanks
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
You are saying if the one button is clicked, then the other one is clicked it kills the page.
You can use JavaScript to disable the buttons when one of the buttons is clicked. Then this would not happen.

You would just need to add an onclick call on the buttons
Pat Flickner
Ranch Hand

Joined: Nov 17, 2003
Posts: 173
Thanks for the info, Eric. It's not going to help in this case because it turns out that the connection configuration was improperly set. I mentioned this issue to the developer, who of course said that shouldn't happen. He found his bug and the problem went away.
But thanks very much for the response. Actually, I need this info for something else I'm working on, so this is a huge help.
I agree. Here's the link:
subject: Problem With Pages
It's not a secret anymore!