getting started

Feb 14, 2014 at 6:12 PM
Edited Feb 14, 2014 at 6:44 PM
I followed the getting started guide and was able to install, compile and run the weight-jaxb-ui example using maven. When I enter
into my browser it successfully brings up a "Login" and "Create New Account" link. If I click on the Login link, it successfully brings up the HealthVault login.

My question is how to move on from here? If I go to \examples\ui-jaxb\src\main\webapp\index.jsp, I can see that this must be the page that is being loaded? If I look at the code it shows
<a href="<%= request.getContextPath() %>/things/home">Login</a> 
for the Login link. But what the heck does that do? Could someone please explain what is the logical flow here and how to extend this application? How would I get it running on a shared Linux server at 1& What files/file structure is needed, etc?

If I place index.jsp and weight-jaxb-ui-1.4.0.war on the linux server and run it like this:
It shows the page ok but when I click on the Login link the following error appears:
Bad Request

Your browser sent a request that this server could not understand.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.