Please refer to
As shown in
Next, please refer to
In step S20, when the user utilizes the webpage on the user end computer 10 in the OLAP environment, as shown in
After the HTML IFrame has been generated, in step S21, a hidden HTML Form is dynamically generated in the HTML IFrame on the user end computer 10; an action for the HTML Form is assigned to the processing webpage of the server end computer 20, and the target is set as the HTML IFrame. For example, the present invention may generate the HTML Form with the following program code:
<Form action=“to the processing webpage of the server end computer” target=“IFrame”>
Similarly, a “hidden HTML Form” means that this HTML Form is not displayed on the user end computer 10 so that the user will not be able to see it.
Next, in step S22, an HTML Input is dynamically created in the HTML Form for sending the command or the parameter included in the HTML Form to the processing webpage of the server end computer 20 for further processing.
In step S23, the command or the parameter included in the HTML Form is decoded by the server end computer 20. In step S24, based upon the command or parameter, the processing webpage of the server end computer 20 executes a corresponding processing function.
In step S25, the server end computer 20 checks whether the command or the parameter has been correctly executed by the processing webpage. If the command or the parameter was correctly executed, step S26A is performed. If the command or the parameter was not correctly executed, step S26B is performed.
Next, if the command or the parameter has been correctly executed, in step S26A, the processing webpage of the server end computer 20 executes the corresponding webpage and obtains feedback data or graphical HTML data and packs this data in an XML with response format message.
In step S25, if the command or the parameter has not been correctly executed, in step S26B an error message is generated and this error message is packed as an XML with response format message.
In step S27, the XML with response format message generated in step S26A, or the XML with response format message generated in step S26B, is sent back to the user end computer 10.
In step S28, the HTML IFrame of user end computer 10 receives the XML with response format message and decodes the feedback data or graphical HTML data packed in the XML with response format message.
In step S29, the user end computer 10 checks whether the feedback data or graphical HTML data decoded from the XML with response format message comprises an error message. If the feedback data or graphical HTML data includes an error message, step S30A is performed; and if the feedback data or graphical HTML data doesn't include an error message, step S30B is performed.
Next, if an error message occurred in step 29, step S30A is performed, and the error message is displayed on the webpage of the user end computer 10.
On the other hand, if no error message occurred in step S29, step S30B is performed, the processing function of the HTML IFrame assigned in step 20 is called and the obtained feedback data or graphical HTML data is processed and displayed on the webpage of the user end computer 10.
Therefore, with the system 1 and the above mentioned method of the present invention, as shown in
In an embodiment of the present invention, the present invention is applied in a web-based OLAP environment, and the multidimensional data table 200 in
Finally, the present invention also provides a computer readable medium, which has a plurality of computer-executable commands for executing the above-mentioned method.
Although the present invention has been explained in relation to its preferred embodiment, it is to be understood that many other possible modifications and variations can be made without departing from the spirit and scope of the invention as hereinafter claimed.
Number | Date | Country | Kind |
---|---|---|---|
095114068 | Apr 2006 | TW | national |