I need to develop a website with the following requirements:
- Free (gratis)
- The ability to perform calls to Java code (stored in a Java library I've written) when serving a page, so that the information returned by said Java call can be used to customize the page that is being served
- Support for file downloads and the ability to accept file uploads
- Support for user authentication & sessions
Would be good but not essential:
- Would be great if it was easily embeddable (minimal/no setup required)
Now, I know HTML/JS but on the server side of things I've only ever used ASP.net, so I'm out of my depths here. What I need is basically the equivalent of ASP.net WebForms but for Java.
What would you use to create dynamic pages with Java in the manner described?