alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Glassfish example source code file (README)

This example Glassfish source code file (README) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Glassfish tags/keywords

firstv3test, firstv3test, it, it, simple, the, the, web-contextpath, when, when

The Glassfish README source code

Simple test case with a static resource. 
It has an additional twist like this:
When you use webbundle, don't specify Web-ContextPath in the query.
The non-OSGied war has no contextpath set in manifest, so
it uses /FirstV3Test which is set in sun-web.xml.

When you install using fileinstall, the final war does have contextpath
set in manifest as well as in sun-web.xml. It shows that MANIFEST.MF takes precedence.

Other Glassfish examples (source code examples)

Here is a short list of links related to this Glassfish README source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.