aspose file tools
The moose likes Struts and the fly likes Struts2 tags in a login page using JBoss Form Based Authentication 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 "Struts2 tags in a login page using JBoss Form Based Authentication" Watch "Struts2 tags in a login page using JBoss Form Based Authentication" New topic
Author

Struts2 tags in a login page using JBoss Form Based Authentication

Marco Garu
Greenhorn

Joined: Jan 05, 2012
Posts: 3
Hello, I'm facing a little problem with struts 2 and form based authentication on JBoss. I managed to make almost everything work as i wanted, except 1 little thing: when i try to call a struts2 tag inside the login.jsp page i get the following error:
The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter.Struts tags are only usable when the request has passed through its servlet filter, which initializes the Struts dispatcher needed for this tag

That's happening because instead of passing through the Struts2 servlet filter i'm redirected to the container form based authentication "handler". This is the related part of the web.xml file:


Is there any way to solve this problem?
(Sorry for my bad english!)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2 tags in a login page using JBoss Form Based Authentication
 
Similar Threads
Get Error messages/Exceptions from Active Directory Server(ADS) with Weblogic 9.2
Redirection after realm authentication
Form-based authentication not working
Authorization using JAAS with Struts2
Need help in reporting of protected resources in web application