File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts 2 tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts 2 tag" Watch "Struts 2 tag" New topic

Struts 2 tag

manu chaox
Ranch Hand

Joined: Apr 10, 2006
Posts: 110

I'd like to read session parameter via struts 2 tag, but I am not suceed in it.

I can it via jsp tag:

I put a parameter "user" to session in a class.

In jsp page:

It works great.

But I don't know how to do it helping only struts 2 tags. (I have been trying for long time.)

Could you give me any example with struts 2 ?


David Newton

Joined: Sep 29, 2008
Posts: 12617

Although if you're on any recent app server I'm not sure why you wouldn't just use JSP EL.
I agree. Here's the link:
subject: Struts 2 tag
It's not a secret anymore!