This week's book giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Grokking Bitcoin and have Kalle Rosenbaum on-line!
See this thread for details.
Win a copy of Grokking Bitcoin this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

Connect to ASP app via JSP and display output?  RSS feed

 
Greenhorn
Posts: 2
  • 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.
 
Ranch Hand
Posts: 626
Mac
  • 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.
 
Marshal
Posts: 67256
170
IntelliJ IDE Java jQuery Mac Mac OS X
  • 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
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!