RE: How to get Login page while submitting a data form

2009-11-15 Thread Sanjaya Kumar Patel
> DN> ACEGI^H^H^H^H^HSpring Security. > Sanjaya, Spring Security will remember which URL user was trying to access > before the login and will replay that URL after successful login . > However, I'm not aware of Spring Security ability to replay POST data from > a form. Dale, Harun, Thanks a

Struts 2.1.8 vs Spring MVC

2009-11-14 Thread Sanjaya Kumar Patel
Hi All, I am new to Struts and Spring and trying to choose one of them for a new web application. I tried searching comparisons between Struts 2.1 and Spring MVC but could not find anything concrete. Some forum posts suggest "why not Spring MVC, as it is a part of spring stack." I am a bit in

RE: How to get Login page while submitting a data form

2009-11-13 Thread Sanjaya Kumar Patel
> If a requires authentication, don't render it until the > user is logged in. > > If you are worried about the user's session timing out before > the form is submitted, implement some sort of javascript timer > that (after a period equal to a session timeout), pops up a > modal login form.

RE: How to get Login page while submitting a data form

2009-11-13 Thread Sanjaya Kumar Patel
Hi Pawel, Thanks for the insight. I would give a try. Being a common scenario, is there any existing work already present for this, so that I don't have to reinvent the wheel? I guess there should already be some established library / code sample which people follow. What do people normally do?

How to get Login page while submitting a data form

2009-11-13 Thread Sanjaya Kumar Patel
Hi All, My requirement is this: 1. User fills a form and submits. 2. If he has not logged in, login form comes up. 3. after logging in, the data automatically gets submitted and next page comes. I am new to struts and unable to figure out the natural solution, even after a lot of googling. As

RE: Blank archtype not working?

2009-11-09 Thread Sanjaya Kumar Patel
> You can try that way: > > mvn archetype:generate -DarchetypeCatalog=http://www.lenart.org.pl/maven/ > > I'm working on the rest and hopefully they will be released soon ;-) Thanks for help, Lukasz. I was able to create my eclipse application using the tutorial here: http://agafix.org/stru

Blank archtype not working?

2009-11-07 Thread Sanjaya Kumar Patel
Hi, I am new to struts. While trying to create a blank maven project from the blank archetype as suggested here: http://struts.apache.org/2.1.8/docs/struts-2-blank-archetype.html I am getting error message: [INFO] Unable to find resource 'org.apache.struts:struts2-archetype-blank:jar:2.1.6'