JSP Tag Libraries

Скачать в pdf «JSP Tag Libraries»


property=»id»/>


<bean:show name=»customer»


property=»company»/> <bean:show name=»customer»


property=»name»/> <bean:show name=»customer»


property=»address»/>


</mail:message>


</mail:send>


<p align=»left»>


A receipt has been sent to your email address (<bean:show name=»customer»


property=»email»/>).


</p>


</card>


</wml>


О Defines the mail error view as error page We first declare that the mail exception view should be used to handle any runtime exceptions thrown when this page is accessed.


e Gets the remote interface of the Customer EJB We retrieve the remote interface of the Customer EJB from the session scope and add it to the page scope.


d Gets the home interface for the OrderManager EJB We add the OrderManager EJB’s home interface to the page scope.


о Creates a remote interface for the OrderManager EJB We use the home interface of the OrderManager EJB to create a remote interface of the OrderManager EJB using the Customer EJB as parameter.


G Confirms the order We ask the OrderManager EJB to confirm the user’s current Order. The OrderManager will then return the user’s current Order EJB.


G Creates a condition on the order’s status О Tests whether the status of the order is not ‘s’ i Redirects the user to the full order view If the Order is not returned with a status of ‘ S’ (for sent), we redirect the user to the full order view.


j Ends the test.

1) Ends the condition.


Makes sure that this page will not be cached.

Скачать в pdf «JSP Tag Libraries»