jsp command for open a page

Reply

Join Date: Apr 2005
Posts: 3
Reputation: mojtabamaster is an unknown quantity at this point 
Solved Threads: 0
mojtabamaster mojtabamaster is offline Offline
Newbie Poster

jsp command for open a page

 
0
  #1
Apr 18th, 2005
hello
I want to open a html or jsp page with a jsp command
please help me
thank you
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: jsp command for open a page

 
0
  #2
Apr 19th, 2005
??????

You can't open something on the client from the server. You can send a piece of html (when asked of course) that contains a piece of javascript that in turn requests another piece of html.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 3
Reputation: mojtabamaster is an unknown quantity at this point 
Solved Threads: 0
mojtabamaster mojtabamaster is offline Offline
Newbie Poster

Re: jsp command for open a page

 
0
  #3
Apr 20th, 2005
true.
of course.
I don't want to open a html or jsp page in client.
I want to open a html or jsp page in server with a jsp command.
thank you.
please help me immediately.
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: jsp command for open a page

 
0
  #4
Apr 20th, 2005
you mean make an HTTP call to an HTML page or some other URL and capture the output?

HttpURLConnection is your friend. From it you can get an InputStream from which you can read the data returned by the request.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Oct 2004
Posts: 348
Reputation: paradox814 is an unknown quantity at this point 
Solved Threads: 4
paradox814's Avatar
paradox814 paradox814 is offline Offline
Posting Whiz

Re: jsp command for open a page

 
0
  #5
Apr 26th, 2005
do you want all html pages to be treated as jsp? modify your .htaccess file and AddType so that your html will be handled as jsp files, this is generally a bad idea, but you can do it if you want too
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC