Re: Communication between a URL & a java class
Re: Communication between a URL & a java class
- Subject: Re: Communication between a URL & a java class
- From: "Sako!" <email@hidden>
- Date: Thu, 9 Sep 2004 13:20:02 +0200
String nr = (String) context().request().formValueForKey("nr");
String password = (String) context().request().formValueForKey("pass");
where url must looks like
http://www.helloWorld.com/....woa?nr=222&pass=sicret
try this.
Sako.
----- Original Message -----
From: "Murat Vztekin " <email@hidden>
To: <email@hidden>
Sent: Thursday, September 09, 2004 8:13 AM
Subject: Re: Communication between a URL & a java class
> Date: Mon, 6 Sep 2004 05:36:48 -0700 (PDT)
> From: Praveen Kumar <email@hidden>
> Subject: Communication between a URL & a java class
> To: email@hidden
>
> Hello All,
>
> I have a problem:
>
> I have the home page of a site(URL) where a user logs in with his user_id
> and password.
>
> Now, i need to collect his/her userId & password and pass the same, to a
> Java Class in my WebObjects application, from where, i can take it
further;
>
> Can you folks help me out with this? . Do i need to write a Servlet to
> access the user name & password, or is there any other way?
>
> Thanks in advance & kind regards,
>
> Praveen
> Yahoo! Mail - 50x more storage than other providers!
>
>
> Hi Praveen,
>
> try to store the users id and password in session class (or the whole User
> entity). Than you can access it anywhere in you app.
> Hope this helps.
>
> Murat Vztekin
> email@hidden
> _______________________________________________
> webobjects-dev mailing list | email@hidden
> Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
> Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.