I am trying to integrate a vendor provided website with our internal application. My basic problem is that I want to pass login information from our internal application to the jsp login page in the vendor website.
The vendor's original jsp login page does some initial setup work so I don't want to completely alleviate it, I just want to automatically pass the username and password into the form and then auto submit it.
Currently what I'm doing is dynamically setting the 'VALUE' of the form's username and password fields to match the known username and password from our internal app.
So once those values are set, how can I submit the form as if the user clicked the submit button. I've looked at 'forward' but can't seem to get it to work right. The only examples I can find of this use a format of "<jsp:forward. . ." instead of a format already enclosed in jsp <% %> tags.
Thanks for any suggestions. If there is an easier way, I'd love to hear it!
Jonathan
The vendor's original jsp login page does some initial setup work so I don't want to completely alleviate it, I just want to automatically pass the username and password into the form and then auto submit it.
Currently what I'm doing is dynamically setting the 'VALUE' of the form's username and password fields to match the known username and password from our internal app.
So once those values are set, how can I submit the form as if the user clicked the submit button. I've looked at 'forward' but can't seem to get it to work right. The only examples I can find of this use a format of "<jsp:forward. . ." instead of a format already enclosed in jsp <% %> tags.
Thanks for any suggestions. If there is an easier way, I'd love to hear it!
Jonathan