Struts 1.1 vs Struts 1.2
Tinjau perbedaan antara Struts 1.1 dan Struts 1.2 dalam tabel perbandingan terstruktur, lalu lanjutkan ke pertanyaan wawancara, kuis, dan perbandingan serupa.
Perbedaan Antara
Struts 1.1 vs Struts 1.2 - A key comparison and difference of the topics or subjects that will help you understand which is best for your use case. Check out to compare Struts 1.2 and Struts 1.1 as very common job interview questions.
Perbedaan antara Struts 1.1 dan Struts 1.2
Struts 1.1 vs Struts 1.2 - A key comparison and difference of the topics or subjects that will help you understand which is best for your use case. Check out to compare Struts 1.2 and Struts 1.1 as very common job interview questions.
|
Struts 1.1
|
Struts 1.2
|
|---|---|
| In Struts 1.1, ActionError were not deprecated. | In Struts 1.2, ActionError were deprecated, needs to use ActionErrors or ActionMessages instead of ActionError. public ActionErrors validate(ActionMapping mapping,HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if((userName == null) || (userName.length() < 1)) { errors.add("username", new ActionMessage("error.username.required")); } } |
| MappingDispatchAction was not available here. | Introducing to MappingDispatchAction (A new standard action that dispatches to a method name by having different actions in the action Mappings for each method. E.g you can do Add, Edit, Delete in same mapping.) |
| It is not available in this version. | Attribute 'module' has been introduced in the forward tag of action.Which will be used to link to another module when forward happens.Can be used when we work with SwithAction. |
| validWhen is not available in validation framework in this version. | Validation framework was fine tuned , including additon of new validation rule 'validWhen' |
Simpan untuk Revisi
Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.
Masuk untuk menyimpan bookmark, pertanyaan sulit, dan set revisi.
Perbedaan terkait
Jelajahi perbandingan serupa yang terkait dengan Struts 1.1 dan Struts 1.2 untuk konteks yang lebih luas dan persiapan wawancara.
Lihat perbedaan di bawah
Jelajahi semua perbandingan topik yang tersedia di bawah ini, atau gunakan kotak pencarian di atas untuk mempersempit daftar secara instan.