This week's book giveaway is in the Reactive Progamming forum.
We're giving away four copies of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams and have Adam Davis on-line!
See this thread for details.
Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!

Anders Sjurmann

Greenhorn
+ Follow
since Apr 11, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Anders Sjurmann

Hi! I'm using Struts2 and Tiles2 in hope of bringing some better stucture to my app. I got tiles refering to JSPs working, but I need some of the tiles to incorporate actions. Is this possible? e.i.

I keep geeting FileNotFound exceptions, so I guess it's not able to recognise actions and only expect files?

Thanks
11 years ago
Hi
I’ve used Struts2 and Glassfish to create a web-app which has two user roles: user, and admin. I would like all actions to be constrained to the admin role by default, and a subset of the actions to be available to the "basic" user. I guess this can be achieved by for the admin-role. But, and here is the problem, I also have a login-action and a registration-action (register new users) which should be available for everybody, and the *-constraint will not allow this. So is there a way to create a security-constraint which applies to users that are not logged in? Is there a default user-role which applies to users that are not logged in? Or any other way to create an exception to a "default" security-constraint?

Or is the only solution to name all actions explicitly for all constraints, and leave out the register- and login-action (i.e. no "default" security-constraint)

Thanks, Anders
11 years ago
Thanks Gowher! The capital H-es did the trick. Stupid of me not to think of it really.

The date-tag is in Struts2. I guess I didn't mention that. Sorry.
11 years ago
Hi,
I'm having trouble geting the s ate-tag to display time as an 24-hour clock ("army time"). When I set the format="hh:mm", leaving out the a-option for AM/PM, it still displays time as a 12-hour clock. Is there any option I have missed, or is there some other way around this?

Cheers, Anders
11 years ago