File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Tags in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tags in Struts2" Watch "Tags in Struts2" New topic

Tags in Struts2

Sachin Adat
Ranch Hand

Joined: Sep 03, 2007
Posts: 213
Is it correct, to write a tag file by creating a file with .tag as extension without writing the taglib and java classes for it in Struts 2.
If yes, please lead me to some documentation or tutorial on it.
If not, why? I am sure it can be done and have seen it working.
Is it deprecated or something cause I am not able to find anything on the web.

How To Ask Questions On Java Ranch - How To Answer Questions On Java Ranch
Ankit Garg

Joined: Aug 03, 2008
Posts: 9466

Are you talking about the tag files in JSP? If yes, they have nothing to do with Struts 2. You can read about creating a tag file here...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Sachin Adat
Ranch Hand

Joined: Sep 03, 2007
Posts: 213
Exactly what I was talking about. Thanks a lot for clearing my misconception.
Now, I guess, I can search for tutorials on the web....... if you know of some good ones, please tell.
There was a tutorial in the link you gave, but the pdf link does not load

Thanks again
I agree. Here's the link:
subject: Tags in Struts2
It's not a secret anymore!