Zeeshan Akhter

English: Logo of Apache Struts

Today we will create a Struts2 based application that uses Freemarker FTL as view instead of JSP. This would give you a good insight in Struts2 + Freemarker integration. The application is similar to previous tutorial’s User app, where a list of users will be displayed and we can add new user.

The application is very simple:

  1. There is a table that displays user info like firstname, lastname.
  2. New user can be added via Add User form.

Below is the wireframe of our final Freemarker based Struts2 app.
freemarker-servlet-wireframe

So lets get started.

Things We Need

Before we starts with our Struts2 + FreeMarker example, we will need few tools.

  1. JDK 1.6 or above (download)
  2. Tomcat 6.x or above or any other container (Glassfish, JBoss, Websphere, Weblogic etc) (download)
  3. Eclipse 3.4.x or above (download)
  4. Struts 2.3.4.1 or above (download)
  5. Freemarker JAR v2.3.15…

View original post 1,185 more words

Advertisements

About Mallik

I born in Good cultural place called India. My family is traditional family. We fallow all Indian traditions.

Posted on October 3, 2012, in About All. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

9to5Mac

Apple News & Mac Rumors Breaking All Day

Gigaom

Technology news, trends and analysis covering mobile, big data, cloud, science, energy and media

digiphile

We're already living in the future. It's just not evenly distrbuted yet.

Tech

News and reviews from the world of gadgets, gear, apps and the web

The Past and Present Future

Ken Hinckley's Ideas, Visions, and Opinions on the Research Frontiers of Human Technologies

TED Blog

The TED Blog shares interesting news about TED, TED Talks video, the TED Prize and more.

Inside BlackBerry

The Official BlackBerry Blog

Bill Mullins' Weblog - Tech Thoughts

Security and System Tools and Tips. Software Reviews, News, Views, Downloads and Links.

insanebloom

Poetry. Travel. Et cetera.

%d bloggers like this: