• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2.0 Display tag implementation

 
vijay jamadade
Ranch Hand
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
prabhu pandurangan
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please ranchers,

give some guidelines for my question above. As struts 2.0 help available on the internet is too less.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic