• 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
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

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: 67164
169
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!