如何将数据发送到jsp页面并在C#中接收结果 [英] How to send data to jsp page and receive results in C#

查看:89
本文介绍了如何将数据发送到jsp页面并在C#中接收结果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I'm trying to use <a href="nlp.stanford.edu:8080/parser/index.jsp">Stanford CoreNLP </a>in a c# window form application. I tried many codes and many times, the problem is that I don't know how can I call the JSP page from c# and also how can I retrieve the result? Actually, I don't know where I can start and what I must do. Could you help me?





我尝试过的事情:



我尝试编辑此处的代码,



What I have tried:

I tried to edit the code found here,
,

Google Translator

[ ^ ],但这不起作用:(。

[^] , but this doesn't work :( .

推荐答案

谷歌的网络刮板,看看其他人是如何做到的。你基本上必须使用其中一个网站/ Http类来读取网页。然后你的代码需要在页面上找到各种控件,添加文本或点击它们并将页面发布回网站。
Google for "web scrapers" and see how others do it. You basically have to use one of the Web/Http classes to read the web page. Your code then needs to find the various controls on the page, add text or click them and post the page back to the website.


这篇关于如何将数据发送到jsp页面并在C#中接收结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆