Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!

Janes Smith

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

Recent posts by Janes Smith

Hi All,
I have a web application written in jsf2 that uses facelets. How can I configure the tag <f:metadata tag to allow me to do
the following, so that google search engine will pick the page up.

I'm trying to make my website google friendly.
4 years ago
Hi Tim and Prasad,
would one of you be able to provide an example of integrating such a feature into the spring security configuration that I'm currently using.
It seems as though it should be a standard feature of spring security.

4 years ago
Hi Prasad,
thanks for getting back to me.
After being directed to the login page, from a protected page, the user enters username/password and is the succ authenticated. The user is then forward to the home page.
I would like the user to be forward back to the protected page, if that is possible.


4 years ago
Hi All,
I have created a web application that contains spring security. Some of the pages are protected, so that the user has to be logged in
inorder to see the pages. If a user is not logged in and tries to access one of the restricted pages, he is taken to the login screen.

I would like the user to be taken back to the original protected page after he has succ logged in.

I have the following configurations:-

4 years ago
Hi All
I'm trying to build in spring security into jsf2, both I'm new too.

I get the following errors every time I attempt to authenticate an invalid user.
(i.e. In the class:LoginBean method:doLogin after the return null)

My login.jspx is under WebRoot\faces

HTTP 404 Not Found displays in the browser.

Console display:-
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
at org.apache.shale.remoting.impl.MappingImpl.viewId(

Not sure what I'm doing wrong .



10 years ago
Hi Mark,
I get the following:-

Cannot locate the chosen ObjectFactory implementation: org.apache.struts2.spring.StrutsSpringObjectFactory - [unknown location]
at org.apache.struts2.config.BeanSelectionProvider.alias(
at org.apache.struts2.config.BeanSelectionProvider.alias(
at org.apache.struts2.config.BeanSelectionProvider.register(
at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reload(
at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(
at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(
at org.apache.struts2.dispatcher.Dispatcher.init(
at org.apache.struts2.dispatcher.FilterDispatcher.init(
at com.ugly.action.struts.filter.Struts2Dispatcher.init(
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(
at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(
at org.apache.catalina.core.ApplicationFilterConfig.<init>(
at org.apache.catalina.core.StandardContext.filterStart(
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.addChildInternal(
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardHost.addChild(
at org.apache.catalina.startup.HostConfig.deployWAR(
at org.apache.catalina.startup.HostConfig.deployWARs(
at org.apache.catalina.startup.HostConfig.deployApps(
at org.apache.catalina.startup.HostConfig.start(
at org.apache.catalina.startup.HostConfig.lifecycleEvent(
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardHost.start(
at org.apache.catalina.core.ContainerBase.start(
at org.apache.catalina.core.StandardEngine.start(
at org.apache.catalina.core.StandardService.start(
at org.apache.catalina.core.StandardServer.start(
at org.apache.catalina.startup.Catalina.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(
at org.apache.catalina.startup.Bootstrap.main(