[Logo]
Forums Register Login
popup form in spring
Hi all,

I'm very new to Spring & i am working in a project using Spring technologies. So far, i have done as the login form shows in a seperate jsp after clicking on login anchor. Instead of doing so, i want to do it as a popup form when i click on login. How can i do this???

This code is in home.jsp which is in WEB-INF/jsp directory. The login.jsp page is also in the same directory.

I tried inserting this code in home.jsp:



but it doesnt seem to work.
Please give me solution to do this. If anyone can post example code for my criteria, it will be much more helpful.

Thanks.

Hi,

No reply for me yet...... am i asking a wrong question??? or no answers to this question???

If anyone has an idea, please guide me since i'm a newbie to spring...

Thanks.
 
Prasath Premkumar wrote: Hi all,

I'm very new to Spring & i am working in a project using Spring technologies. So far, i have done as the login form shows in a seperate jsp after clicking on login anchor. Instead of doing so, i want to do it as a popup form when i click on login. How can i do this???

This code is in home.jsp which is in WEB-INF/jsp directory. The login.jsp page is also in the same directory.

I tried inserting this code in home.jsp:



but it doesnt seem to work.
Please give me solution to do this. If anyone can post example code for my criteria, it will be much more helpful.

Thanks.


The popup portion is about JavaScript and not Spring. The JavaScript can pop up a form, and when the user clicks the "submit" button the javascript then submits the "form"

For the authentication piece after the popup form is submitted, that part would be Spring Security, and most likely you would have to customize a Security Filter to handle it, or find the Spring URL like maybe j_spring_security_login or something like that.

Mark
Are you using Spring Web Flow?
If you're not using Spring Web Flow, I don't think you will get a popup dialog automatically.
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Dec 14, 2017 18:04:37.