Two Laptop Bag
The moose likes JSF and the fly likes Auto submit the jspx page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Auto submit the jspx page" Watch "Auto submit the jspx page" New topic

Auto submit the jspx page

Vikram Kohli
Ranch Hand

Joined: Nov 27, 2005
Posts: 174
Hi All,

I am using adf faces. I have one login page designed using adf faces, which should get auto submitted on page load. My login page will be accessed from a third party application which will be sending the user name and password in http request. These request parameters will be assigned to the user name and password input fields in the login page and then page should get autosubmitted, rather then user submitting the page.

Below is my login page

I guess I can submit the jspx page using javascript/onLoad() function. But I am not sure how to assign the values from http request to the user name and password in jspx page. Please help me to solve this problem.


Vikram PracLabs
I agree. Here's the link:
subject: Auto submit the jspx page
jQuery in Action, 3rd edition