File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes regarding access of another server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "regarding access of another server" Watch "regarding access of another server" New topic
Author

regarding access of another server

Venkat Kanneganti
Ranch Hand

Joined: Nov 30, 2007
Posts: 43
Hi,
i have new problem,let me explain first
i have one jsp page running on localhost server,from that jsp page i need to access other jsp on antoher server running on different system,
i know we can use sendRedirect() but once request is dispatched to other jsp,
again i need my server execute remaing page of my jsp
any one help to this problem
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Lookup the JSTL Import tag.
<c:import ... />


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Venkat Kanneganti
Ranch Hand

Joined: Nov 30, 2007
Posts: 43
Hi,
Thanks for your response,already i have used c:import but i am getting 'ConnectionException ',any suggestions
Regards
Venkat
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Rather than looking for alternatives, why don't you start by debugging the issue with c:import?


Do you have a full stack trace you can share with us?
What does your c:import tag look like?
Have you tried hitting the URL directly with a browser to test it?
Have you tried this from the machine on which your container is hosted?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: regarding access of another server