Stano, Thank you very much , I have understood how to do. I wrote a sample (configure.cgi) and invoke via <href> flag ,It's able to show data saved and html context ,I found this method was very trouble and difficulty to show complex html page inclulding text,option,java script,radio and so on . Now I'm use the 'thttpd' server that's ablet ot support SSI , then I may use static configure.html ,May I ? Please you give me some advise .
thank you again Best Regards advan advan 2007-09-24 发件人: Stanislav Meduna 发送时间: 2007-09-21 18:15:30 收件人: uClinux development list 抄送: 主题: Re: [uClinux-dev] boa ssi,please advise advan wrote: > <a href="configure.html" > configure test </a > > <a href="ipconf.html" >IP test </a > ... > in configure.html part context: > <form NAME="configure" METHOD="POST" ACTION="cgi-bin/cgi-post.cgi" > > <tr > > <td > <input TYPE="TEXT" SIZE="32" NAME="devname" > </td > > </tr > > ... > test "configure.html" ,that should be shown "mydev01" in "devname" > edit-text, how to load the value to client page from in stored file > .please you tell me a method . There is no way I know of to change a content of a static page using boa. So you can't use a static configure.html, you have to use a CGI application instead of it (for simple tasks a shell script will suffice). There you can read your saved data and produce any HTML you want. So the code becomes: <a href="cgi-bin/configure.cgi" > configure test </a > and configure.cgi has to _generate_ the content of former configure.html, depending on the status information set by cgi-post.cgi. Sorry, I don't have time now to create a working example, so you are on your own. You'll need to understand how cgi works (maybe you already do, if the cgi-post.cgi is your code, if not, google for cgi tutorial) and know how to program in shell (or whatever programming language your platform is capable of). Regards -- Stano _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev