Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can we use jstl for struts ?

 
Nakata kokuyo
Ranch Hand
Posts: 471
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, as we can use html tag and struts tag for struts framework , can we replace these tag by using jstl ? thank you for guidance
 
Pranav Sharma
Ranch Hand
Posts: 258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes, you can use jstl in struts enabled web app. but I'm not entirely sure what you want to do.
 
Nakata kokuyo
Ranch Hand
Posts: 471
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, mannu , i would like to replace struts html:text tag , so that i can format the data , specially like numbering
 
Pranav Sharma
Ranch Hand
Posts: 258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you could do it, but that would negate everythin struts can do for you. and you would be going to simple jsp/servlets.
I would suggest formatting your data in the action and then setting it in the form if you want to use struts.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic