File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Tags in Struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "Tags in Struts2" Watch "Tags in Struts2" New topic
Author

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.


SCJP 6
How To Ask Questions On Java Ranch - How To Answer Questions On Java Ranch
Ankit Garg
Saloon Keeper

Joined: Aug 03, 2008
Posts: 9189
    
    2

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: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Tags in Struts2
 
Similar Threads
Body content of Simple tsg
jsp 2.0 taglib invoke
"tld" file,"tag" file and "cutsom tag"
Which of the following statements are correct regarding tag libraries?
invoke tag within one .tag file from another .tag file?