grab our rss feed  Follow us on twitter

s2sgateway

Practical Learning of Programming languages such us j2ee,java,jsp

To Download Our Web-Application Free E-book Enter your Mail Address Below

Enter your E-mail Address to Subscribe Tutorials and Free Projects:

  Powered by FeedBurner

Entries for the ‘struts’ Category

Struts hiberanate integration tutorial part2

ShareToday i am going to give you a complete working struts-hibernate integration project.To see the part1 struts-hibernate tutorial click here
This project uses the hibernate plugin to create the session factory and uses hibernate mapping file hibernate.hbm.xml to create the necessary table values
The hibernte mapping xml file contains the below values

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate [...]

Comments

How to export data as pdf in struts using displaytags

ShareToday you are going to learn about how to export data as pdf in struts using displaytags.
To know more about displaytags and download the example project Viiew pagination in struts Tutorial Click here
By default you can export the data’s in csv,excel and xml formats but for pdf and rtf you have to add a jar [...]

Comments

how to add .properties/.jar file to classpath in eclipse

ShareWhenever You are creating a .properties files(ex displaytag.properties) or adding a external JARS(ex:struts.jar) after creating Project,You need to place it in classpath of the project to take immediate effect.
Methods to do this
1.Place the created file (say displaytag.properties) file in WEB-INF/classes folder,Eclipse will automatically add the file to its classpath
2.For JAR’s place the jar [...]

Comments

Pagination in sturts using Displaytags

ShareToday We are going to learn about
How to do Pagination in sturts using Displaytags
.As all you know Struts is a MVC Architecture.So that It is easy for us to develop and maintain webapplications.The advantage of java community is the jar files it contains needed tasks combined in a file so that we can use it [...]

Comments

Simple Struts-Hibernate Integration tutorial to insert values

ShareHi Everyone I am going to give a simple example to execute
Struts-Hibernate Integration

In this tutorial i am using 1.Mysql,2.Eclipse Free version from http://www.eclipse.org/downloads/ 3.Mysql Connector Jar
Everyone know struts is a MVC Architecture and Hibernate is Object relational Mapping tool it provides object/relational persistence and query service for java.So that it minimizes sql statements
Lets Look in [...]

Comments

Simple Struts Example

ShareStruts is a Java MVC (model,view,controller) framework for building web applications on the J2EE platform.J2EE is a platform for executing server side Java applications.so that we can seperate the model, view (jsp files,html file),controller(servlet). Here you can download a struts simple project for searching which does three things you can serach the names stored inĀ  [...]

Comments