想要创建一个表单填充器——java、jsp、html 就够了吗? [英] Want to create a form filler - is java, jsp, html enough?

查看:24
本文介绍了想要创建一个表单填充器——java、jsp、html 就够了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

总结 - 想要制作一个简单的网站表单填充器.该网站不是我的,我无法编辑其源代码.不知道需要什么工具/语言.java、jsp、html就够了吗?

Summary - Want to make a simple website form filler. The website is NOT mine and I cannot edit its source code. Don't know what tools/languages are needed. Would java, jsp, html be enough ?

请求 - 请重新考虑关闭或否决投票的决定.我只需要知道java是否足够.

Request - Please reconsider your decision to close or downvote. I only need to know if java is enough or not.

网站上有一个表格,比如只预约一位牙医.您填写您的详细信息以及您要访问的日期和时间.然后,它会在网页的某处告诉您是否可以预约.

There is a form on a website, say for reserving a visit to only one dentist. You fill your details and the date and time you want to visit. Then, it tells you if an appointment can be made or not, somewhere in the webpage.

此网页不受 CAPTCHA 保护.我不想一直输入我的详细信息来查找预订.我想编写代码来为我做这件事.

This web page is NOT protected by CAPTCHA. I don't want to enter my details all the time to look for a reservation. I want to make code to do it for me.

我想编写代码 -

1 - Fill the details into the form and "press" submit.
2 - Then, read the resulting page and find out if a reservation is 
    available or not. If yes, do something like maybe - pop up a GUI 
    message, send e-mail or whatever.
3 - Repeat the above steps every 5 hours or so.

我需要哪些语言和工具来完成这项工作?我需要的不仅仅是 java、jsp 和 html(这就是我现在所知道的)来制作这样的代码吗?

What are the languages and tools I would need to do this job ? Would I need more than java, jsp and html (thats all i know now) to make such code ?

谢谢.

推荐答案

IMO,如果你真的只是想填写一些表格来检查预订,不需要任何代码,为什么不安装一个插件,Selenium,记录您在那里的操作并在指定时间运行它:http://docs.seleniumhq.org/

IMO, If you really just want to fill up some forms to check a reservation, no need to code anything, why not just install a plugin, Selenium, record your actions there and just run it at specified times: http://docs.seleniumhq.org/

这篇关于想要创建一个表单填充器——java、jsp、html 就够了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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