Good morning,
I use a MCF52255 con MQX3.7. I have a file in Javascript which builds all the HTML pages. So the HTML pages are not managed from the webserver of the micro but I need a webserver that:
1 - Send the javascript file to the browser at the moment the web browser connects itself to the web server
2 - Answer to the GET e POST questions in Javascript protocol
The web server lybraries in MQX3.7 can satisfy the points above and how?
Do I need change the lybraries and how?
Thank you
Best Regards
kappa74
Solved! Go to Solution.
Hi Mirko,
I'm not expert but hopefully can help point you in right direction.
Please review the httpd files in following MQX path:
C:\Freescale\Freescale MQX 3.8\rtcs\source\httpd
There is HTTPD_REQ_GET and HTTPD_REQ_POST methods.
I think you can just use the MQX web server to server your web page that has your javascript back to the client.
We implement a CGI like interface to allow dynamic content to be generated on the device and passed back to the browser for display (AJAX stuff).
Good example to look at is in the RTCS path:
C:\Freescale\Freescale MQX 3.8\rtcs\examples\httpsrv
Regards,
David
Regards,
David
Hi Mirko,
I'm not expert but hopefully can help point you in right direction.
Please review the httpd files in following MQX path:
C:\Freescale\Freescale MQX 3.8\rtcs\source\httpd
There is HTTPD_REQ_GET and HTTPD_REQ_POST methods.
I think you can just use the MQX web server to server your web page that has your javascript back to the client.
We implement a CGI like interface to allow dynamic content to be generated on the device and passed back to the browser for display (AJAX stuff).
Good example to look at is in the RTCS path:
C:\Freescale\Freescale MQX 3.8\rtcs\examples\httpsrv
Regards,
David
Regards,
David