Forum Discussion
Altera_Forum
Honored Contributor
15 years agoInterniche / Website Problem
Hi, I have a little problem... and i hope you can Help me. I have a DBC3C40 Board, on this board are Running the Webserver Projekt from interniche with the NiosII. If i Click a Button on ...
Altera_Forum
Honored Contributor
15 years agoI made it years ago with another processor. I never used Nios/Interniche for a webserver, so I really don't know if its capabilities are similar to that I used.
For such a function you have to generate the page dynamically, i.e. your http server must change some page contents before transmitting it to the stack. I did it with a template HTML page, where the info I had to replace dynamically was identified by some markers (special characters sequences). Then a special code processed the http text file during the transfer from memory to network stack, and replaced the markers with the required string (i.e. if a marker "@#4" was in the template HTML as a placeholder for the status of button 4, it was replaced with "ON" or "OFF").