简体   繁体   中英

How to open jsp or java servlet from .net

Is there a way that I can open a jsp or call java servlet from .net and pass in parameters?

I am working on a project to process a credit card payment for a client.

On Client server side:
- client is using .net framework
- client wants to send user to my java server to process credit card payment.
- need to send over invoice #, customer id, return url to my java jsp or servlet

On my java server side:
- get the parameters, display a page for user to enter payment info and process credit card payment
- return a status code using the provided return url

What is the easiest way to achieve this?

Thanks

A servlet exposes a url to the web you can call servlet using this url . you should use a post method as the information you want to send is credit card information then fetc the reply from that servlet in .net and process it. Lemme know if you need further clarification

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM