Fixed REST SLD issue
Added a failsafe public context if getContextPath() comes in blank
Revert context path issue