Closed OndroMih closed 1 year ago
Can one of the admins verify this patch?
I guess the servlet actually runs under http://localhost:8080/jakarta-starter-ui/download.zip? Because the artifactId is jakarta-starter-ui
and that translates to the context root right?!
Kindly do coordinate with @rokon12. I believe he is working to get this hosted. It’s best to try to avoid duplication of effort given the few folks we have. He may have changes in flight already.
I guess the servlet actually runs under http://localhost:8080/jakarta-starter-ui/download.zip?
@IvoNet , this really depends on how you deploy the app locally. I'm running it on GlassFish from Netbeans, and, by default, Netbeans infers the context root from the project directory, which is starter-ui
. But it's not important. This URL will need to be adapted once the production service is up and running.
Closing this. It is already addressed.
This is a simple UI that adds a button to download a ZIP file based on the data in the form.
DO NOT MERGE yet - this requires a running server with this servlet: https://github.com/eclipse-ee4j/starter/pull/155
Currently, the button points to a local server running the servlet (http://localhost:8080/starter-ui/download.zip). When the server is deployed on a production URL, we'll need to change the URL in the
path
constant in thedownload()
function.To preview how it works:
starter-ui
directory, runmvn clean compile war:war
and deploy the WAR to Tomcat or GlassFish as described in the README file). The servlet should be running under http://localhost:8080/starter-ui/download.zip - you should get an internal error if you access that URL)