aspose file tools*
The moose likes Spring and the fly likes popup form in spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "popup form in spring" Watch "popup form in spring" New topic
Author

popup form in spring

Prasath Premkumar
Ranch Hand

Joined: Nov 13, 2008
Posts: 43
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.
Prasath Premkumar
Ranch Hand

Joined: Nov 13, 2008
Posts: 43

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.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Hong Anderson
Ranch Hand

Joined: Jul 05, 2005
Posts: 1936
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.


SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCJP 5.0, SCEA 5, SCBCD 5; OCUP - Fundamental, Intermediate and Advanced; IBM Certified Solution Designer - OOAD, vUML 2; SpringSource Certified Spring Professional
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: popup form in spring