I have the same problem. Jun Tsai
2007/6/30, Robin Ericsson <[EMAIL PROTECTED]>: > > On 6/29/07, Howard Lewis Ship <[EMAIL PROTECTED]> wrote: > > If i remember correctly, a value that can't be resolved should cause a > > runtime error; just in case, check the console. It may be that the > > acegi.check.url symbol couldn't be resolved. > > Yes, correctly, using this, the code works, changing the value to > something non-existing gives me a runtime error: > public class LoginPage { > @Inject > private SymbolSource symbolSource; > > @Inject > private Request request; > > public String getLoginCheckUrl() { > return request.getContextPath() + > symbolSource.expandSymbols("${acegi.check.url}"); > } > } > > Doing the same thing with @Inject @Value, I don't get a runtime error > when entering a non-existing value. > > -- > regards, > Robin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Welcome to China Java Users Group(CNJUG). http://cnjug.dev.java.net