Hi all,

I read the documentation available on the Sling website and tested the basic
examples.
Everything works, but now I want to create something like espblog, to better
examine Sling features.
I created a maven project and deployed it using the Felix console but it
doesn't work.
In this example I created some jsp but when i try to call them, the browser
downloads it.
In the log I can see

11.05.2010 16:18:10.516 *INFO* [FelixDispatchQueue] slingblog BundleEvent
INSTALLED
11.05.2010 16:18:10.516 *INFO* [FelixDispatchQueue] slingblog BundleEvent
RESOLVED
11.05.2010 16:18:10.548 *INFO* [Background Install
C:\DOCUME~1\a155876\IMPOST~1\Temp\install1474139204158110668.tmp]
org.apache.sling.jcr.co
ntentloader.internal.ContentLoaderService createFile: Cannot find content
type for created.html.jsp, using application/octet-stream
11.05.2010 16:18:10.704 *INFO* [Background Install
C:\DOCUME~1\a155876\IMPOST~1\Temp\install1474139204158110668.tmp]
org.apache.sling.jcr.co
ntentloader.internal.ContentLoaderService createFile: Cannot find content
type for home.html.jsp, using application/octet-stream
11.05.2010 16:18:10.735 *INFO* [Background Install
C:\DOCUME~1\a155876\IMPOST~1\Temp\install1474139204158110668.tmp]
org.apache.sling.jcr.co
ntentloader.internal.ContentLoaderService createFile: Cannot find content
type for new.html.jsp, using application/octet-stream
11.05.2010 16:18:10.986 *INFO* [FelixDispatchQueue] slingblog BundleEvent
STARTED

How can I tell Sling these are JSP?

Cheers

Federico

Reply via email to