| Author |
New Servlet, Has a One Errors on it
|
Michele Smith
Ranch Hand
Joined: Oct 27, 2010
Posts: 298
|
|
Hello I have a servlet with a couple of errors:
It is erroring out at:
InputStream in = ClientHttpRequest.post( new java.net.URL(targetURL), params );
I do now know what to do. -- Thanks, Midani
|
 |
William P O'Sullivan
Ranch Hand
Joined: Mar 28, 2012
Posts: 860
|
|
Midani (aka Michele)
What do you mean by "erroring"?
WP
|
 |
Michele Smith
Ranch Hand
Joined: Oct 27, 2010
Posts: 298
|
|
In my Eclipse Galileo, it has a little X with a lightbult on this item in the left hand margin and when I hover above it is says:
ClientHttpRequest cannot be resolved.
Is this because it has to be named as an imported item on the servlet?
I am unsure. Can you help me interpret this error?
I would like to compile it and test it.
|
 |
William P O'Sullivan
Ranch Hand
Joined: Mar 28, 2012
Posts: 860
|
|
In Eclipse, click on the red X with the right-button, select Quick-Fix ..
What does it tell you?
WP
|
 |
Michele Smith
Ranch Hand
Joined: Oct 27, 2010
Posts: 298
|
|
it said import that item.
Thanks!
Got it!!!
That was super easy compared to most of my postings!!!
Have a nice day!!!
Midani
|
 |
William P O'Sullivan
Ranch Hand
Joined: Mar 28, 2012
Posts: 860
|
|
You're welcome!
WP
|
 |
 |
|
|
subject: New Servlet, Has a One Errors on it
|
|
|