aspose file tools*
The moose likes Struts and the fly likes i want to view output of one jsp file in belong to another server in my web site 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 » Frameworks » Struts
Bookmark "i want to view output of one jsp file in belong to another server in my web site " Watch "i want to view output of one jsp file in belong to another server in my web site " New topic
Author

i want to view output of one jsp file in belong to another server in my web site

Vinod suryawanshi
Ranch Hand

Joined: Aug 08, 2012
Posts: 51
i am developing one site in which i want user come and enter parameter for search (its a jsp page). then i want to call that another website page and pass that parameter. then instead of displaying those web site directly in to the customer browser, i want content of that web page, so i can edit and display only necessary data from that page.

I know its very confusing, but in simple words, i want a simple program who are in middle and take request from user, process it, send it to another web server. when output came that output must be handle by my website and then result will display...

please help me with this, i m using struts 1.3.8 and another web site from which i want to take data is in struts.

Thanks in advanced...
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8997
    
    9

Welcome to the JavaRanch
You can read from a URL with URLConnection. Once you have the HTML, you can either parse the HTML yourself or use the Swing HTML Parser.


[How To Ask Questions On JavaRanch]
Vinod suryawanshi
Ranch Hand

Joined: Aug 08, 2012
Posts: 51
Thnaks Joe Ess for your reply...

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: i want to view output of one jsp file in belong to another server in my web site