File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes url connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "url connection " Watch "url connection " New topic

url connection

ezc ezc

Joined: Jul 08, 2002
Posts: 7
how to get session or coockie info when we r running javaprogram to connect some web sites ?
pl write me back asap ..
ezc ezc
Snigdha Solanki
Ranch Hand

Joined: Sep 07, 2000
Posts: 128
How are you connecting to the website? Using JSP,servlet..?

Snigdha<br />Sun Certified Programmer for the Java™ 2 Platform
ezc ezc

Joined: Jul 08, 2002
Posts: 7
hey man..
it's not jsp or servlet.if it's jsp or servlet we can do it. but that one is java class...

so pl respond on this..
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Let me get this straight. You have a java application that is NOT a jsp, not a servlet, therefore if it is running in a Browser it must be an Applet?? Correct?
Or are you talking about a stand alone application that you are trying to use to hook up to web site? This would not be an easy thing to do :roll: Basically your program would need to emulate a browser.
You want to give us a hint here.

"JavaRanch, where the deer and the Certified play" - David O'Meara
It is sorta covered in the JavaRanch Style Guide.
subject: url connection
It's not a secret anymore!