C
Covington Bradshaw
First please do not make trampoline jokes, because when I was 5, I fell
from my brother's bed after happily jumping and since I am in a wheel
chair.
I am looking for a trampoline jsp or servlet. Explanation:
something like ...
http://blablabla/trampoline.jsp?jump="http://albalbalbalb/page.html"
Then show the page.html of someone else albalbalbalb Web site in a frame
of my blablabla Web site or something like that. Got it?
JspWriter out = pageContext.getOut();
URL url;
int responseCode = 0;
HttpURLConnection connection = null;
InputStream input;
BufferedReader dataInput;
try {
jumpTo = URLDecoder.decode(subcontext);
url = new URL(jumpTo);
connection = (HttpURLConnection) url.openConnection();
responseCode = connection.getResponseCode();
}
catch (Exception ex) {}
try {
input = connection.getInputStream();
dataInput = new BufferedReader(new InputStreamReader(input));
while ((line = dataInput.readLine()) != null) {
out.println(line);
}
...
How do I handle links to images etc...?
Any code example?
Thanks, I have to stop typing now and I must go to take a bath.
from my brother's bed after happily jumping and since I am in a wheel
chair.
I am looking for a trampoline jsp or servlet. Explanation:
something like ...
http://blablabla/trampoline.jsp?jump="http://albalbalbalb/page.html"
Then show the page.html of someone else albalbalbalb Web site in a frame
of my blablabla Web site or something like that. Got it?
JspWriter out = pageContext.getOut();
URL url;
int responseCode = 0;
HttpURLConnection connection = null;
InputStream input;
BufferedReader dataInput;
try {
jumpTo = URLDecoder.decode(subcontext);
url = new URL(jumpTo);
connection = (HttpURLConnection) url.openConnection();
responseCode = connection.getResponseCode();
}
catch (Exception ex) {}
try {
input = connection.getInputStream();
dataInput = new BufferedReader(new InputStreamReader(input));
while ((line = dataInput.readLine()) != null) {
out.println(line);
}
...
How do I handle links to images etc...?
Any code example?
Thanks, I have to stop typing now and I must go to take a bath.