aspose file tools
The moose likes Struts and the fly likes can we use jstl for struts ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "can we use jstl for struts ?" Watch "can we use jstl for struts ?" New topic
Author

can we use jstl for struts ?

Nakata kokuyo
Ranch Hand

Joined: Apr 13, 2005
Posts: 446
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

Joined: Oct 27, 2003
Posts: 258
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

Joined: Apr 13, 2005
Posts: 446
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

Joined: Oct 27, 2003
Posts: 258
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: can we use jstl for struts ?