Meaningless Drivel is fun!*
The moose likes Struts and the fly likes Struts 2.0 Display tag implementation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2.0 Display tag implementation" Watch "Struts 2.0 Display tag implementation" New topic
Author

Struts 2.0 Display tag implementation

vijay jamadade
Ranch Hand

Joined: May 12, 2008
Posts: 240
Hi Ranchers,
I am implementing display tag in struts 2.0. Please tell me how should i proceed for that. I mean what changes in web.xml, jars required, which tld should i include on jsp, and syntax for the tag.

Also please tell me what is the implementation difference for display tag in struts 1.x and struts 2.x


Regards, Vijay Jamadade.
( Nothing is Impossible.)
prabhu pandurangan
Ranch Hand

Joined: May 23, 2008
Posts: 120

Hi Vijay,
Nice to hear that you do struts 2.x, I too started to migrate from struts 1.x to struts 2.x, but i can not make any progress; especially in struts 1.x we would be setting some values in session or request and set it in our action class and retrieve it from resulting jsp page; But in struts 2.x, servlet is not supported, so i need your help in this, it would be helpful if you provide me any sample application, using the above requirement.

Looking forward for your reply.

Regards,
Prabhu.

vijay jamadade
Ranch Hand

Joined: May 12, 2008
Posts: 240
hey search on google for struts 2.0 crud application.
add following jars to your lib folder. Take tomcat latest version from the apache site. you can also download example applications from the struts site they have provided all implementations in that.

commons-beanutils-1.6
commons-logging-1.0.4
freemarker-2.3.8
ognl-2.6.11
struts2-core-2.0.11
xwork-2.0.4
vijay jamadade
Ranch Hand

Joined: May 12, 2008
Posts: 240
Please ranchers,

give some guidelines for my question above. As struts 2.0 help available on the internet is too less.
 
 
subject: Struts 2.0 Display tag implementation
 
Similar Threads
Is Struts better than Spring?
how to set the locale for display tag
CRUD application using struts 1.x
query about display tag in struts 1.1
looping with iterate tag in struts