CodesJava

Easy learning with example program codes

What is @managedproperty jsf

The @ManagedProperty annotation is used for injecting a bean into a property of another bean. The @ManagedProperty annotation uses setter method of the bean which is used… Read More

Is Struts thread safe?

Yes, Struts is thread safe. Related topics What is MVC? What is the difference between struts1 and struts2? Explain struts 2 request life cycle. What are the… Read More

How tag libraries are defined in Struts?

Tag libraries are defined in the configuration file web.xml using tag. <taglib> <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location> </taglib> Related topics What is MVC? What is the difference between struts1 and… Read More

Explain struts 2 request life cycle

1. When a request comes web container maps the request in the web.xml and calls the controller (FilterDispatcher). 2. FilterDispatcher calls the ActionMapper to find an Action… Read More

what is mvc in java?

MVC stands for Model-View-Controller design pattern which separates the business logic, presentation logic and navigation logic. Where:  Model: is responsible for encapsulating the application data (POJO). View: … Read More


Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap