Powered by Blogger.

DownLoad Struts materials..

>> Thursday, December 31, 2009

Download and run in your system...The given examples are not having library files you have to include all the files in your lib folder given in each of the folder or you can copy the files in your server library folder as globally ...not like in each folder in your system..
download library files here

+ Lib files




1.StrutsExportWorkBooktoExcelTutorial


2.ValidatorFramework


3.StrutsExportJSPtoExcelTutorial


4.strutstaglogic


5.StrutsFileUpload.


6.TutorialUsingWildCardsinActionMappingTutorial


7. Tiles


8.StrutsDisplaytagTableDecorator


9.LookupDispatch


10.MaskValidationRule


11.InternationalizingStrutsApplicationfromjsp


12.Htmltag


13.MultipleStrutsConfigurationFilesTutorial


14.UsingStrutsApplicationUsingBrowserSettingsTutorial


15.Htmlselecttag


16. Loginform

17. PaginationandSortingusingDisplaytag



18.HilightingErrorFields

19.DateValidations



20. ClientSideValidations

21.DispatchAction

22.Htmlselecttag

23. flow

24.CustomValidations

25.ExporttoExcelPDFCSVandXMLusingDisplaytag



26.HelloWorld

27.DynaAction

28.processforinstall

Read more..

AutomatedBallotVote Project on Java

>> Monday, November 16, 2009

Software Engineering Methodology:
Object Oriented Analysis and Design (OOAD Standards)


Software requirements:

          
           Operating System                 : Windows
           Technology                            : Java/J2EE (JDBC, Servlets, JSP)
           Web Technologies               : Html, JavaScript, CSS
           Web Server                            : Tomcat
           Database                                : Oracle
           Software’s                              : J2SDK1.5, Tomcat 5.5, Oracle 9i

Read more..

164 Java Interview Questions by Nageswara Rao

>> Friday, August 14, 2009

Dr.R.Nageswara Rao has given some of the Java interview questions in his Core Java Integrated Approach book. These are the questions frequently asked in Java interviews.Go throught these Questions this would be helpful to you..
164 Core Java Interview Questions by Nageswara Rao_JavabynataraJ
If you are already attended any interviews on java you might have faced most of the questions given below. Please leave a comment if you have any queries.

Read more..

4.6.Example on FormBean Class

>> Friday, July 3, 2009

package p1;
public class RegisterForm extends org.apache.struts.action.ActionForm
{
String uname,pwd; //FormBean properties
public void setUname(String un)
{
uname = un;
}
public string getName()
{
return uname;
}
public void setPwd(String pass)
{
pwd=pass;
}
public String getPwd()
{
return pwd;
}
}

Read more..

4.5.Struts configuration file

>> Sunday, June 21, 2009

The struts-config.xml  file is heart of the struts-application containing FormBean classes,Action classes configuration , the entries in this xml file will be read by framework software.
  • Reading entries of web.xml is the responsibility of under laying web server or application server, application servers are using sax api, sax parser to read and process web.xml file.
  • Struts framework software uses SAX parser, SAX api to read and process struts configuration file.
  • Any "filename.xml" can become struts configuration file but it must be specified as input value to ActionServlet by using its init parameter 'config'.

Read more..

4.4. Value Objects/Data transfer object class.

>> Wednesday, June 17, 2009

In order to send multiple values from one layer to another layer, it is recommended to combine multiple values into single object and send that object ot destination layer. It is not recommended to send multiple values between two layers foe multiple number of times. The class whose object combines multiple values into single object is called ValueObject class or DataTransferOject class.

  • The implementation of this design pattern reduces round trips between two layers and it also makes easy to receive values only for one time in the destination layer.
  • In struts application FormBean class acts as ValueObject class or DataTransgerObject class. Because multiple values given by form(data means form data) or stored into single object called FormBean class object and this FormBean class object is implicitly visible in the action class execute(). The business logic of execute() uses form data as input values by reading them form FormBean class object.
  • In struts applications Form data of the view layer is visible Action class of modellayer. In the form of FormBean class object.

Read more..

Related Posts Plugin for WordPress, Blogger...
© javabynataraj.blogspot.com from 2009 - 2022. All rights reserved.