Struts 1.1 versus Struts 1.2
Revise as diferencas entre Struts 1.1 e Struts 1.2 em uma tabela estruturada e depois continue com perguntas de entrevista, testes e comparacoes semelhantes.
Diferenca entre
Struts 1.1 vs Struts 1.2 - uma comparacao importante de temas que ajudara voce a entender qual e melhor para o seu caso. Confira a comparacao de Struts 1.2 e Struts 1.1 como perguntas comuns de entrevista.
Diferenca entre Struts 1.1 e Struts 1.2
Struts 1.1 vs Struts 1.2 - uma comparacao importante de temas que ajudara voce a entender qual e melhor para o seu caso. Confira a comparacao de Struts 1.2 e Struts 1.1 como perguntas comuns de entrevista.
|
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' |
Salvar para revisao
Adicione este item aos favoritos, marque-o como dificil ou coloque-o em um conjunto de revisao.
Faca login para salvar favoritos, perguntas dificeis e conjuntos de revisao.
Diferencas relacionadas
Explore comparacoes semelhantes ligadas a Struts 1.1 e Struts 1.2 para obter mais contexto e melhorar a preparacao para entrevistas.
Veja as diferencas abaixo
Explore todas as comparacoes disponiveis abaixo ou use a busca acima para filtrar a lista instantaneamente.