The Artima Developer Community
Sponsored Link

Java Answers Forum
How to call JSP from java code?

1 reply on 1 page. Most recent reply: Mar 13, 2002 4:20 AM by S.Laxminarayanan

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
M. Li

Posts: 1
Nickname: mli
Registered: Mar, 2002

How to call JSP from java code? Posted: Mar 11, 2002 2:24 PM
Reply to this message Reply
Advertisement
Hi, I have a JSP file. From my java code, I need to pass the JSP file to the servlet engine. After the servlet engine finishes parsing the JSP I need the resulting HTML string. Can anyone please tell me how to do this? Thanks a lot.


S.Laxminarayanan

Posts: 1
Nickname: slnarayan
Registered: Mar, 2002

Re: How to call JSP from java code? Posted: Mar 13, 2002 4:20 AM
Reply to this message Reply
Use URLConnection object and open connection and read the content accordingly

Flat View: This topic has 1 reply on 1 page
Topic: scheduling jobs in iPlanet Previous Topic   Next Topic Topic: One last Roulette snag

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use