I've seen wifi routers host html webpages over ethernet cables. This eliminates the need for a PC app/software and the device can be configured using a PC web browser. I want to do something similar, but NOT using ethernet. I'm using Nuvoton NANO120LE3BN which has USB device. Is it possible to host a html webpage when the M0-cortex is connected to a PC/MAC as a USB device. Does Keil have a stack for doing this? If we do this do we need a driver on the PC ( Windoews 7/8 or MAC OSX)?
It's all a question of the definition of static/dynamic.
Constant reload of a file is regularly used to pick up the latest log lines from a running program, or to re-display the contents of a state file.
But it doesn't send information to the server, so the file doesn't get updated with dynamic content based on the client (unless that state file shows number of bytes sent out by the file server). So the file content retrieved isn't really dynamically produced based on user actions.
The closest you could get would be to have the web browser retrieve sequences of different file names, and have the file server understand the names served and take the file names as commands to regenerate files based on the sequence of files retrieved. But it would suffer quite a long list of severe disadvantages.
In the end, dynamic information - instead of just page reloads - makes use of two-way interaction.