Login
Forgot your password?
JavaMad logo
Popular Questions
Struts Interview Questions
 
previous123next
I want divide my form page in three forms but i want to catch that data into only one Actionform object and also business logic depends upon only one action class......please tell me how to do that without voilating mvc2 architecture....

October 30 2012
 
How to use Business delegate design pattern in struts please provide some sample code and explanation.....

June 20 2012
 
Business Delegate will communicate between service layer(where all business logic written) and action class in struts.

Delegate method should not contain any logic or anything, will only delegate between action class and service layer.

Ex:-

public String TestBD() throws Exception {
try {
TestBO tbo= new TestBO();
return tbo.getTestString();
} catch (Exception e) {
e.getMessage();
}
}

where getTestString() method contains some business logic to get the string value and will pass the string to action class.





June 20 2012
 
what is difference b/w ActionForm ,DynaActionForm,DynaValidatorForm ?where we use it?

May 24 2012
 
Action Form is normal FormBean,
DynaAction form is the configured in struts.config.xml its create form properties dynamically.But does not allow the Validations.
DynavalidatorForm create the form properties automatically and also allow to validate.

May 24 2012
 
what is the model, view and controller parts in struts?

May 13 2012
 
Hi NM,In struts Model is used to handle business logic part,View is used to handle the output and controller is used to handle the request.

May 13 2012
 
How you will handle errors and exceptions in Struts?

May 07 2012
 
How does Validator framework work in Struts ?

May 07 2012
 
can any say about strut2 flow?

April 12 2012
 
how to implement i18n in struts?

March 23 2012
 
String ip = request.getRemoteAddr();
what is the use of this method? and what does it give?
kindly help me...........

February 03 2012
 
Its give you IP address of remote system who is using your application

February 03 2012
 
I am using file upload functionality in struts 2, But I faced some issue with that .
my action class got null value ,Strange is that ,its not for all time some time action class found file and some time its not,,

So I am not able to get the ans why this pro arise??

January 14 2012
 
I have solved my problem

January 14 2012
 
How to read the uploaded file data ? and how to save in some other file using Struts?

November 03 2011
 
In struts multiple configurations files are there ?and how to configure that files?

October 24 2011
 
yes we can use multiple comfiguration file

<servlet>


<servlet-name>action</servlet-name>


<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>


<init-param>


<param-name>config</param-name>


<param-value>/WEB-INF/struts-config.xml,/WEB-INF/struts-config2.xml</param-value>
<servlet-mapping>


<servlet-name>action</servlet-name>


<url-pattern>*.do</url-pattern>


</servlet-mapping>

</init-param>

October 24 2011
 
How to develop custom Configuration files and how to configure that files again?

October 24 2011
 
How to connect multiple databases in struts plz write code?

October 24 2011
 
How to develop custom Configuration files and how to configure that files again

October 24 2011
 
previous123next
Ads