Re: Simple Login demo issue

2007-04-09 Thread Jae K
Hello Vignesh, You should configure log4j, and look at both the tomcat's catalina.out log file and log4j log file. The output of the log file should tell you what went wrong. Let me know if you have trouble setting any of these up. - Jae On 4/9/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote:

Re: resume after login feature

2007-04-09 Thread Jae K
There are several factors that are multiplicitave in the final utility of a software package, such as performance, correctness, etc and one of them is ease of use / documentation. I love javadocs for development, but the javadoc API is usually never a proper form of overall documentation. I don't

Re: Architecture of Struts from a server application's point of view

2007-04-09 Thread Jae K
Hello Session, Just curious, why do you need an interface other than a web HTTP interface? I don't see why VPN would preclude HTTP. - Jae On 4/9/07, Session Mwamufiya <[EMAIL PROTECTED]> wrote: Hello, I'm new to Struts 2 and have to design an architecture in which my server applications wo

Re: resume after login feature

2007-04-08 Thread Jae K
If you say so; it sure seemed like yours was a lot of work, and frankly I'd rather role and/or login-aware actions implemented something specific to that functionality, for a couple of reasons. Hello Dave: in terms of work, yours and mine are about the same complexity. However, I prefer my

[S2] wiki edit

2007-04-08 Thread Jae K
Can users get access to edit the wiki? It's driving me crazy.

Re: resume after login feature

2007-04-08 Thread Jae K
ill had to make sure that this feature was *possible* before deciding to use Struts. If the framework can't handle login-resume easily, then it can't be a good framework. Fortunately everything works fine. - Jae On 4/8/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Jae K <[EMAIL

Re: resume after login feature

2007-04-08 Thread Jae K
ave the origurl parameter. You can override this behavior by setting includeParams="none" (i think), but it's not strictly necessary because the action does not inherit those parameters. - Jae On 4/8/07, Jae K <[EMAIL PROTECTED]> wrote: It turns out that ${ServletRequest.req

Re: resume after login feature

2007-04-08 Thread Jae K
I'll post again once i fix it. ${#ServletRequest.parameter["origurl"] == null ? " Welcome.do" : #ServletRequest.parameter["origurl"]} On 4/8/07, Jae K <[EMAIL PROTECTED]> wrote: Right after posting this I realized that my AuthenticationInterceptor was the first interc

Re: resume after login feature

2007-04-08 Thread Jae K
ault.xml config, ValidationInterceptor is configured not to validate for certain methods), but I'm willing to admit that it's my dumb oversight. Now I need to get the OGNL syntax right. On 4/8/07, Jae K <[EMAIL PROTECTED]> wrote: Sigh... I tried tackling the first half of this problem today

Re: resume after login feature

2007-04-08 Thread Jae K
Sigh... I tried tackling the first half of this problem today. The first part is getting the original requested URL as a parameter to the RedirectActionResult. Login / ${ServletRequest.requestURI} <-- not sure about the OGNL here.

Re: [S2] action mapping best practice

2007-04-02 Thread Jae K
ut? I just found in configuration files. You just confused me. On 4/3/07, Jae K <[EMAIL PROTECTED]> wrote: > > I have a comment about the MailReader tutorial. > > This is the action declaration for the Login action: > > ... > ... > > To invoke this action, the user

Re: resume after login feature

2007-04-02 Thread Jae K
. - Jae On 4/2/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jae, Jae K wrote: > Chris, > > Thanks for your input. SecurityFilter was on my list as well, and I think > it's what I will go for. I'm surprised that noone

[S2] action mapping best practice

2007-04-02 Thread Jae K
I have a comment about the MailReader tutorial. This is the action declaration for the Login action: ... ... To invoke this action, the user agent would first GET request Login_input, and then POST to Login to submit the form or Login_cancel to cancel, etc. IMHO this is a *bad* way to declare

Re: resume after login feature

2007-04-02 Thread Jae K
ESSAGE- Hash: SHA1 Jae, Jae K wrote: > Please let me know the path to take, or whether there is a better way to do > this. Thanks in advance. If you want a lot of control over authentication and authorization, consider looking at securityfilter (http://securityfilter.sourceforge.net/). Th

Re: S2: Use of s:if tag

2007-04-02 Thread Jae K
This is unrelated to this thread, i'm sorry but I have no choice. I asked a question on this thread this morning (5 hours ago) but the post still hasn't shown up on [EMAIL PROTECTED] Does it usually take so long for a new thread to show up? - Jae On 4/2/07, Harring Figueiredo <[EMAIL PROTECTED]>

resume after login feature

2007-04-02 Thread Jae K
Hello all, this is a struts2 question. I send this email this morning but I don't see it on the mailing list, so forgive me if you already saw this. I'm trying to implement a feature where a custom AuthenticationInterceptor would redirect the useragent to a login page, and then after the user log

resume after login feature

2007-04-02 Thread Jae K
Hello all, this is a struts2 question. I'm trying to implement a feature where a custom AuthenticationInterceptor would redirect the useragent to a login page, and then after the user logs in, he is redirected to the original request page. First, I have to send the original request path has a pa