BlackBerry Forums Support Community               

View Poll Results: how to import package java.net in blackberry Jde?
possible 1 100.00%
impossible 0 0%
additinal installation 0 0%
no additional installation 0 0%
Multiple Choice Poll. Voters: 1. You may not vote on this poll

Closed Thread
 
LinkBack Thread Tools
Old 11-13-2008, 01:33 AM   #1 (permalink)
New Member
 
Join Date: Oct 2008
Model: 9000
PIN: N/A
Carrier: AT &T
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default import java.net

Please Login to Remove!

Hello all,
I want to use the class "UrlConnection" in my code(JDE 4.6.0)


For that I want to import package java.net.
Can anybody please explain me how to import this package in Blackberry Jde 4.6.0.
Using that class I want to do http post a file.
Offline  
Old 11-13-2008, 02:10 PM   #2 (permalink)
CrackBerry Addict
 
Join Date: May 2005
Location: Golden, CO US
Model: 9700
Carrier: ATT
Posts: 684
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Why can't you just use HttpConnection? There's an example of a POST in the javadocs.
Offline  
Old 11-14-2008, 03:51 AM   #3 (permalink)
New Member
 
Join Date: Oct 2008
Model: 9000
PIN: N/A
Carrier: AT &T
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes it works with HttpConnection.
Thanks!


Quote:
Originally Posted by RemyJ View Post
Why can't you just use HttpConnection? There's an example of a POST in the javadocs.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Hamamatsu C6979 Industrial PSU Regulated Current Xeon Lamp Power Supply Unit
$499.99
Hamamatsu C6979 Industrial PSU Regulated Current Xeon Lamp Power Supply Unit pictureSupermicro X6DHT-G Dual Xeon Server Motherboard w/ Adaptec AAR-2020SA
$199.99
Supermicro X6DHT-G Dual Xeon Server Motherboard w/ Adaptec AAR-2020SA  pictureSR0KH Intel Xeon E5-2680 2.7GHz 8 Core (CM8062107184424) Processor 100% Tested
$149.0
SR0KH Intel Xeon E5-2680 2.7GHz 8 Core (CM8062107184424) Processor 100% Tested pictureNew HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21
$32.79
New HP Proliant DL380 Gen4/ML370 Server Intel Xeon Processor 311584-B21 pictureDell PowerEdge PE 2900 CN-0YM158-13740 Motherboard CPU RAM XEON
$239.0
Dell PowerEdge PE 2900 CN-0YM158-13740 Motherboard CPU RAM XEON picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.