[Helma-user] Configuration question when running as a servlet

Chris Zumbrunn chris at zumbrunn.com
Mon Mar 31 15:01:02 CEST 2008


On Mar 27, 2008, at 21:55 , Dan Stanger wrote:
> I am trying to run the address book app, and have noticed that if my  
> main.hac and html.skin are in the Root directory, then when I  
> execute http://localhost:8080/hmsl/ I get the expected string Under  
> development Helma Address Book.
> However when I move html.skin to the Global directory the result of http://localhost:8080/hmsl/ 
>  is an empty page.

On Mar 28, 2008, at 14:15 , Dan Stanger wrote:
> My main.hac is the same as the tutorial:
>
> res.data.title = "Helma Address Book";
> renderSkin("html");

Dan,

In the tutorial, this is correct, since the tutorial places the  
html.skin file in the Global directory. If you place the html.skin  
file in Root, you would need to change renderSkin("html") to  
this.renderSkin("html"). So, by your description, what you say is  
working shouldn't be working and what isn't working should be working.

If you like, you can email me a zip archive of the app the way you  
currently have it and I'll take a look at what's going on.

Chris




More information about the Helma-user mailing list