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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 without using the Tag Library?" Watch "Struts2 without using the Tag Library?" New topic

Struts2 without using the Tag Library?

Arijit De

Joined: May 16, 2012
Posts: 10
Can one use struts2 without using the customer tag library. In other words how does one get data from the value stack without tag library.
Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

There can be a lot of possibilites. If the data is there in the value stack , you can use OGNL expressions .

Muhammad Saif Asif Mirza
Joe Ess

Joined: Oct 29, 2001
Posts: 9169

You could use scriptlets or write your own custom tag library.
Why would you do such a thing?

[How To Ask Questions On JavaRanch]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Struts2 without using the Tag Library?
It's not a secret anymore!