This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connect to ASP app via JSP and display output?

 
Mike Sami
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings,

I am trying to use JSP on server A to connect to an ASP app on server B, retrieve the output (based on a parameter) and display it within the jsp page. I have some code already (which does not include the parameter), but it is giving me an error. Here is the code:



The first line of the error follows, please let me know if the rest would be helpful:



Any help would be greatly appreciated.
 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike,
We did same thing in past. Although I can't remember how we did.
But what all you need to do is introduce an extra page(it can be HTML) between JSP and ASP.
From JSP call that page, that page internally calls ASP and pass the data from JSP to html page and then through img tag of buffer page, pass the same data to ASP.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error indicates that there was a syntax error translating the JSP. Is it most likely unrelated to what you are trying to do. The details should be available somewhere in a log file or on the console.
 
Mike Sami
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the responses. I actually finally got this working - which is a big relief. Here's the code I used:


Thanks again,
Mike
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic