Programming Jakarta Struts, 2nd Edition [Electronic resources] نسخه متنی

This is a Digital Library

With over 100,000 free electronic resource in Persian, Arabic and English

Programming Jakarta Struts, 2nd Edition [Electronic resources] - نسخه متنی

Chuck Cavaness

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید








A.2 Modifications to the Struts Action Class


The Struts base
Action class has been
modified with a new method called execute( ). This
new method should be called instead of the perform(
)
method. The main difference between the two is that the
execute( ) method declares that it throws
java.lang.Exception, whereas the earlier
perform( ) method declared that it could throw
IOException and
ServletException. This change was necessary to
facilitate the new declarative exception-handling feature that was
added to Struts 1.1. As a result, the perform( )
method has been deprecated and should not be used in 1.1
applications.


    / 181