First use 7-zip to add the contents (not the folder itself) of the JSPWiki folder we’ve been working in to a NEW zip file named “JSPWiki.war” — not JSPWiki.zip.
- Login to Glassfish.
- On the “Common Tasks” click on “Deploy Web Application”
- Click the “Browse” button and find the new “JSPWiki.war” you created.
- Click OK
Your application is now deployed!
Open a web browser and give you new Wiki a try. You can connect to the application at this address:
OR if you want to connect to your JSPWiki from another machine on your LAN:
Consider JSPWiki Successfully Deployed!
However, we’re still not done…
First, the URL is not something that will be easy for your LAN users to remember. Second, those Internet users whom you wish to grant Wiki access still can’t reach it. We’ll resolve this in the next step.