-
How do you perform tight coupling and loose coupling in Struts ?
Is it require to perform coupling in struts ? if yes then how?
-
Insert and Retrieve Images
How to insert and retrieve images in STRUTS through MySQL database and how to get path of image (or file) from local system?
-
Dispatch Action Class
How can we call one Method from One DispatchAction to another Dispatch Action class?
-
Maplet
What is Maplet? How is it better than Struts? Explain
-
Form Beans
How to evaluate all the form beans that are available in our application, whether or any of the form bean returns validation errors?
-
Loigc Iterator
Explain what is logic iterator?
-
Init() method in Struts
How to implement init() method in Struts
-
Request Dispatcher
What is the Role of Request Dispatcher in Struts?
-
Create forums using Struts framework
How to create forums using struts framework
-
Specification, Architecture, Programming model and Framework
What is the similarities and differences between the following?ArchitectureProgramming modelFrameworkSpecification
-
Helper files in struts
What are the helper file in the form of JSPs available in struts?.Is struts tags are XHTML supportive?
-
Explain the ActionServlet lifecycle?
With diagram.ActionServlet having around 16 methods?
-
-
-
-
type="com.cavaness.beer4all.catalog.CatalogAction"
scope="request"
path="/catalog"
name="welcomeForm">path="/catalog.jsp"
redirect="false"/>
This is te code i have written in CatalogAction.java
Beer4AllService service = getBeer4AllService();
List featuredCatalogs = service.getFeaturedCatalogs();
List featuredItems = service.getFeaturedItems();
((DynaActionForm)form).set( "featuredCatalogs", featuredCatalogs );
((DynaActionForm)form).set( "featuredItems", featuredItems );
This is the code i have written in catalog.jsp file
<%@ include file="include/featuredcatalogs.jsp" %>
So when i run this site it always goes to
So please help me out of this problem and where i am making mistake">I am using Netbean editor for sturts application problem i am facing is not been able to compile the file i have created.What actully i have done is i am using BeerforAll project which i have downloaded from netbean site. So i just want to make few changes in this site just for lerning purpose.I created a catalog.jsp file and then created a catalogAction.java so when i try to compile this file it showing me that it has been compiled but not showing it in classes folder as classes folder showing other files which are parellel to this file.this is the code I have written in struts-config.xmlThis is te code i have written in CatalogAction.javaBeer4AllService service = getBeer4AllService();List featuredCatalogs = service.getFeaturedCatalogs();List featuredItems = service.getFeaturedItems();((DynaActionForm)form).set( "featuredCatalogs", featuredCatalogs );((DynaActionForm)form).set( "featuredItems", featuredItems );This is the code i have written in catalog.jsp fileSo when i run this site it always goes to So please help me out of this problem and where i am making mistake
Ans