如何使用java构建代理服务器

时间:2022-09-02 12:14:04

Out Company has a new project.

Out Company有一个新项目。

We will build proxy server .

我们将构建代理服务器。

I use Java'ssocket to get html text from the url.

我使用Java'ssocket从url获取html文本。

then I must parse the html text. like these tags: a,frame,iframe,img,script,link...

然后我必须解析HTML文本。像这些标签:a,框架,iframe,img,脚本,链接......

I have solved these problems. But now the JavaScript has do some action in the form . It will change the form's action.

我已经解决了这些问题。但现在JavaScript已经在表单中执行了一些操作。它将改变表单的动作。

how to solve these problems.

如何解决这些问题。

It's a hard job to me

这对我来说很难

My English is not so good

我的英语不怎么好

1 个解决方案

#1


0  

add this after you run your javascript:

运行javascript后添加此内容:

document.formName.action = "/actionLink";

#1


0  

add this after you run your javascript:

运行javascript后添加此内容:

document.formName.action = "/actionLink";