944,004 Members | Top Members by Rank

Ad:
  • JSP Discussion Thread
  • Unsolved
  • Views: 8322
  • JSP RSS
Apr 18th, 2005
0

jsp command for open a page

Expand Post »
hello
I want to open a html or jsp page with a jsp command
please help me
thank you
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mojtabamaster is offline Offline
3 posts
since Apr 2005
Apr 19th, 2005
0

Re: jsp command for open a page

??????

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.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Apr 20th, 2005
0

Re: jsp command for open a page

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
mojtabamaster is offline Offline
3 posts
since Apr 2005
Apr 20th, 2005
0

Re: jsp command for open a page

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.
Team Colleague
Reputation Points: 1658
Solved Threads: 331
duckman
jwenting is offline Offline
7,719 posts
since Nov 2004
Apr 26th, 2005
0

Re: jsp command for open a page

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
Reputation Points: 13
Solved Threads: 4
Posting Whiz
paradox814 is offline Offline
351 posts
since Oct 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JSP Forum Timeline: Help a newbie find JSP tutorials (was: I'm a newbe, help!)
Next Thread in JSP Forum Timeline: is a variable set?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC