Link to home
Start Free TrialLog in
Avatar of the_b1ackfox
the_b1ackfoxFlag for United States of America

asked on

Java Server Faces parameter pass?

Hello Experts!

General Scenario:  (and I can't provide exact details thanks to an nda)

I have an application that needs to access a website written in Java Server Faces.  The application supports several end users, and the goal is for the application to grab the users credentials, and log into the website to download their documents and then log off (all automated).  Is there a way to look at the website code to see what the parameters are to pass and then just pass the parameters in the URL.  I looked at the code and I see that Javascript is being used (maybe in the login function?)

Can someone point me in the right direction to go about getting this information?  Tell me how *you* would solve this issue?


-Fox
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of the_b1ackfox

ASKER

I'll give that a try this weekend.  Once I have the parameters is there a particular format to put them into the url string?

https://www.somedumbsite.jsf/?userid=bob,password=1234
no, this format use the GET method to post, so you see parameters in the url.
that's why I asked you to check th header, if you it's a POST, check the header to see the parameters name, maybe more than user/password
OK, so I couldn't wait until the weekend.  :)  I was able to get the parameters based upon your suggestions!!!  Thank you so much!
nice, don't forget to close the question, thanks
Thank you for the information, You helped us get pretty far into our project!