Why ActionServlet is Singleton in struts framework? »
By Ramakrishna on Apr 7, 2011 in Struts Interview Questions | 0 Comments
actionservlet class ,struts framework,web.xml
Java Interview Questions | Core Java Interview Questions | Advanced Java Interview Questions | EJB Interview Questions | J2EE Interview Questions | Hibernate Interview Questions
By Ramakrishna on Apr 7, 2011 in Struts Interview Questions | 0 Comments
actionservlet class ,struts framework,web.xml
By Ramakrishna on Oct 5, 2008 in Struts Interview Questions | 0 Comments
Q) What is the difference between errorstag and message tag? Rep) Errorstag genereates the error for Ex: <%@ taglib uri=”/tags/struts-html” prefix=”html” %> O/P of rs.jsp </html:errors/> When the errors tag is evaluated a list of error message will be generated based on theĀ ActionError objects available in ActionErrors object. while generating the list of errors [...]
By Ramakrishna on Jul 7, 2008 in Struts Interview Questions | 0 Comments
Q) What is the advantage of DispatchAction class? A) Using DispatchAction class you can overcome writing one Action class for one business entity. Instead you can write multiple business entities in one Action class and call the businessĀ method that is required by the application. Q) Can you write your own method in Action class [...]