Click here to Skip to main content
15,902,189 members
Home / Discussions / Java
   

Java

 
AnswerRe: what is date overlapping? Pin
Richard MacCutchan12-May-10 4:54
mveRichard MacCutchan12-May-10 4:54 
Questionjava.net.MalformedURLException when creating an URL object [Solved] Pin
Bob Stanneveld5-May-10 22:28
Bob Stanneveld5-May-10 22:28 
AnswerRe: java.net.MalformedURLException when creating an URL object Pin
TorstenH.6-May-10 0:48
TorstenH.6-May-10 0:48 
AnswerRe: java.net.MalformedURLException when creating an URL object Pin
Richard MacCutchan6-May-10 1:49
mveRichard MacCutchan6-May-10 1:49 
AnswerRe: java.net.MalformedURLException when creating an URL object Pin
David Skelly6-May-10 2:12
David Skelly6-May-10 2:12 
GeneralRe: java.net.MalformedURLException when creating an URL object Pin
Bob Stanneveld6-May-10 2:19
Bob Stanneveld6-May-10 2:19 
GeneralRe: java.net.MalformedURLException when creating an URL object Pin
Richard MacCutchan6-May-10 2:40
mveRichard MacCutchan6-May-10 2:40 
GeneralRe: java.net.MalformedURLException when creating an URL object Pin
David Skelly6-May-10 5:24
David Skelly6-May-10 5:24 
Bob Stanneveld wrote:
a bogus domain in the URL results in a correctly constructed URL object


The URL constructor does not check that the domain exists, it merely checks that the URL is properly formed according to the documented standard (whatever that happens to be).

Bob Stanneveld wrote:
When the correct URL is passed to the constructor (checked it with Internet Explorer), the exception gets thrown


Do you mean that you have checked the actual string value being passed to the URL constructor at runtime? This works for me:

String a = "https://abc.crmapplication.com";
String b = "SSOID";
URL url = new URL(a + "/Services/Integration?command=ssoitsurl&ssoid=" + b);


If that exact same piece of code does not work for you, then I am at a loss to understand what is happening, I'm afraid.
AnswerRe: java.net.MalformedURLException when creating an URL object [Solved] Pin
Bob Stanneveld6-May-10 5:33
Bob Stanneveld6-May-10 5:33 
QuestionJava Heap Space problem Pin
002comp3-May-10 22:39
002comp3-May-10 22:39 
AnswerRe: Java Heap Space problem Pin
Arrpita6-May-10 16:17
Arrpita6-May-10 16:17 
GeneralRe: Java Heap Space problem(solved) Pin
002comp7-May-10 2:16
002comp7-May-10 2:16 
GeneralRe: Java Heap Space problem(solved) Pin
Arrpita7-May-10 15:40
Arrpita7-May-10 15:40 
QuestionHow to update Group and User in JBPM4.3 Pin
sinron3-May-10 16:14
sinron3-May-10 16:14 
QuestionTo ask about right allignment in a calc. Pin
Arrpita30-Apr-10 16:10
Arrpita30-Apr-10 16:10 
AnswerRe: To ask about right allignment in a calc. Pin
TorstenH.6-May-10 0:54
TorstenH.6-May-10 0:54 
GeneralRe: To ask about right allignment in a calc. Pin
Arrpita6-May-10 15:55
Arrpita6-May-10 15:55 
GeneralRe: To ask about right allignment in a calc. Pin
TorstenH.11-May-10 21:54
TorstenH.11-May-10 21:54 
GeneralRe: To ask about right allignment in a calc.(solved) Pin
Arrpita12-May-10 16:19
Arrpita12-May-10 16:19 
Questionvoip project Pin
sam_dheol28-Apr-10 20:57
sam_dheol28-Apr-10 20:57 
AnswerRe: voip project Pin
Peter_in_278028-Apr-10 21:03
professionalPeter_in_278028-Apr-10 21:03 
AnswerRe: voip project Pin
Richard MacCutchan28-Apr-10 22:31
mveRichard MacCutchan28-Apr-10 22:31 
Questionconverting file data to string Pin
002comp27-Apr-10 23:54
002comp27-Apr-10 23:54 
AnswerRe: converting file data to string Pin
002comp28-Apr-10 1:54
002comp28-Apr-10 1:54 
GeneralRe: converting file data to string Pin
jwhite928-Apr-10 2:44
jwhite928-Apr-10 2:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.