
GoAhead
文章平均质量分 83
wjjontheway
这个作者很懒,什么都没留下…
展开
-
GoAhead_网页操作
文章目录1. GoAhead定时刷新获取后台数据2. GoAhead 从网页提交数据给服务器3. GoAhead Select 元素操作4. GoAhead 提交input+select的值5. GoAhead上传文件5.1 存放大于2M的文件5.2 实现Ajax文件上传8. GoAhead 下载文件1. GoAhead定时刷新获取后台数据需求:定时2s刷新,请求重量数据2. GoAhead 从网页提交数据给服务器form表单post提交的数据格式action:url 地址,服务器接收表单数原创 2022-05-30 11:37:22 · 1619 阅读 · 2 评论 -
GoAhead_交叉编译及在开发板上验证
文章目录1.设置交叉编译环境2. 在开发板上验证GoAhead3. 运行GoAhead4. https访问1.设置交叉编译环境如果想要编译在开发板上运行的goahead程序,则必须使用交叉编译器,但是在工程的properties–>C/C++ Build–>Setting下并没有找到Cross Compile的设置。怀疑是不是新建工程应该以C工程开始。但是在properties–>Build Settings 下看到Builder设置。一开始使用的是Use default build原创 2022-05-29 17:07:49 · 880 阅读 · 0 评论 -
GoAhead_在Eclipse下尝试构建工程
文章目录1.新建C工程并设置交叉编译器2. Eclipse 导入已有Makefile工程3. Build3.1 添加路径3.2 设置Debug 启动参数3.3 错误:XML Parsing Error: syntax error3.4 在GoAhead增加http 头部内容1.新建C工程并设置交叉编译器工程文件上出现莫名的红色的‘X’program “g++” not found in PATH .命令行敲“g++”,提示Command “g++” not found, but can b原创 2022-05-29 16:58:56 · 277 阅读 · 0 评论 -
GoAhead_GoAction+Ajax实现局部数据交互
文章目录GoAction+Ajax实现局部数据交互GoAction+Ajax实现局部数据交互“Asynchronous JavaScript and XML”(异步JavaScript和XML)ajax局部刷新实现test.c在Visual Code中为UTF-8编码,如果要显示中文,不能直接在Visual Studio中修改中文字符。点击“AJAX实现局部刷新按钮”可以调用到test.c中自己设定的exampleAction函数,该被调用后向前台输出字符串。该功能可用来在前台设定参数或者调原创 2022-05-29 16:47:23 · 396 阅读 · 0 评论 -
GoAhead_Developer’s Guide
文章目录1.Embedding GoAhead1.1 The GoAhead Program1.2 Embed the GoAhead Library1.3 Linking with the GoAhead Library1.4 Full Control API1.5 Extending via Javascript2. Creating GoAhead Handlers2.1 Request Processing(请求过程)2.1.1 Matching a Handler2.1.2 Running a H原创 2022-05-29 16:43:58 · 383 阅读 · 0 评论 -
GoAhead_UserGuide_2
文章目录1.CGI Programs2.User Authentication2.1 Authentication Schemes2.2 Configuration2.2.1 Authorization Configuration2.2.2 Routing3 Form Authentication3.1Secure Form-based Authentication3.2 Redirect over SSL3.3 Unauthenticated Accdess to the Login Page3.4 Th原创 2022-05-29 12:38:23 · 768 阅读 · 0 评论 -
GoAhead_UserGuide_1
文章目录1.Embedded Javascript2.User’s Guider学习3. Request Routing4.Route Processing5. Request Handlers1.Embedded Javascript查看了https://www.embedthis.com/goahead/doc/users/jst.html 官方的User Guider,发现GoAhead使用一种Embedded JavaScript 去支持动态网页。该脚本是Javascript的子集,因为原创 2022-05-29 12:20:48 · 343 阅读 · 0 评论 -
GoAhead_移植到开发板
文章目录1.需要修改GoAhead源码的地方1.1 file: src/http.c1.2 出现错误_11.3 解决办法1.4 错误_2:2.交叉编译GoAhead3. 放弃3.6.5版本,移植4.1.04. 具体命令5. ASP测试5.1 error: 输出内容不对5.2 解决办法6. 如何开发GoAhead1.需要修改GoAhead源码的地方1.1 file: src/http.c第2402 line修改如下:注意:在goahead-linux-default.mk中,将goahead-原创 2022-05-29 11:37:40 · 608 阅读 · 0 评论 -
GoAhead_v4.1.0尝试
文章目录1.Windows工程2. Makeme工具3.Linux 工程4. Test1.Windows工程按照GoAhead3.6.5,把test工程作为启动工程,也可以运行。在goahead 4.1.0版本,运行Windows 工程,能顺利打开test.asp。此时,设置goahead为起始项目。“To run the debugger, right-click on the “goahead” project and set it as the startup project”但是程序原创 2022-05-29 11:00:06 · 570 阅读 · 0 评论 -
GoAhead_窥探
文章目录1. 选择版本2.配置path3. 安装4. 运行5. goahead-test1. 选择版本GoAhead3.6.5版本下载该版本,make成功之后出现下述信息2.配置path编译后的提示信息表示:“如果在本地运行,将linux-64-default/bin添加到路径中”/etc/profile下按照之前添加交叉编译器路径增加。3. 安装安装: sudo make install.卸载: sudo make uninstall出现上述错误解决办法:解决办法4. 运原创 2022-05-29 10:09:37 · 318 阅读 · 0 评论