where do i put html files in my web-app folder for a lift project with maven?
Posted
by egervari
on Stack Overflow
See other posts from Stack Overflow
or by egervari
Published on 2010-06-17T15:26:27Z
Indexed on
2010/06/17
15:43 UTC
Read the original article
Hit count: 263
I'm new to Lift framework for scala. For some reason, index.html resides in the web-app directory, and when I start up jetty, http://localhost:8080/ will point to that index.html file just fine. However, if I put a login.html file in the same folder as the index.html, and then go http://localhost:8080/login, Lift does not serve the file.
Where do I need to put the files to get them register? I am a little lost because the behaviour only seems to work for index.html and nothing else.
This is what happens when I view source in Chrome:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html> <body>The Requested URL /login was not found on this server</body> </html>
© Stack Overflow or respective owner