Principais perguntas e respostas de entrevista e testes online
Plataforma educacional para preparacao de entrevistas, testes online, tutoriais e pratica ao vivo

Desenvolva habilidades com trilhas de aprendizado focadas, simulados e conteudo pronto para entrevistas.

WithoutBook reune perguntas de entrevista por assunto, testes praticos online, tutoriais e guias comparativos em um unico espaco de aprendizado responsivo.

Preparar entrevista

Struts perguntas e respostas de entrevista

Test your skills through the online practice test: Struts Quiz Online Practice Test

Diferencas relacionadas

Diferencas relacionadas

Struts 1 vs Struts 2Struts 1.1 vs Struts 1.2Struts 1.2 vs Struts 1.3
Struts vs JSFStruts vs Spring

Pergunta 1. What helpers in the form of JSP pages are provided in Struts framework?

There are 4 major JSTLs (JSP Standard Tag Libraries) provided in Struts as JSP helpers. Those tag libraries are described in TLD (Tag Library Descriptor) files:

struts-html.tld - Tags to help generating HTML elements.
struts-form.tld - Tags to help generating HTML FORM elements.
struts-bean.tld - Tags representing some JavaBeans like: cookie, header, message, and page.
struts-logic.tld - Tags representing Boolean logic operations.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 2. Is Struts efficient?

The Struts is not only thread-safe but thread-dependent(instantiates each Action once and allows other requests to be threaded through the original object.
ActionForm beans minimize subclass code and shorten subclass hierarchies
The Struts tag libraries provide general-purpose functionality
The Struts components are reusable by the application
The Struts localization strategies reduce the need for redundant JSPs
The Struts is designed with an open architecture--subclass available
The Struts is lightweight (5 core packages, 5 tag libraries)
The Struts is open source and well documented (code to be examined easily)
The Struts is model neutral

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 3. How you will enable front-end validation based on the xml in validation.xml?


The < html:javascript > tag to allow front-end validation based on the xml in validation.xml. For example the code: < html:javascript formName=logonForm dynamicJavascript=true staticJavascript=true / > generates the client side java script for the form logonForm as defined in the validation.xml file. The < html:javascript > when added in the jsp file generates the client site validation script.

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 4. What is ActionServlet?

The class org.apache.struts.action.ActionServlet is the called the ActionServlet. In the the Jakarta Struts Framework this class plays the role of controller. All the requests to the server goes through the controller. Controller is responsible for handling all the requests.
 

Isto e util? Adicionar comentario Ver comentarios
 

Pergunta 5. How you will make available any Message Resources Definitions file to the Struts Framework Environment?


Message Resources Definitions file are simple .properties files and these files contains the messages that can be used in the struts project. Message Resources Definitions files can be added to the struts-config.xml file through < message-resources / > tag. Example: < message-resources parameter= MessageResources / >

Isto e util? Adicionar comentario Ver comentarios
 

Mais uteis segundo os usuarios:

Copyright © 2026, WithoutBook.