{"action":"created","issue":{"url":"https://api.github.com/repos/oblac/jodd/issues/218","labels_url":"https://api.github.com/repos/oblac/jodd/issues/218/labels{/name}","comments_url":"https://api.github.com/repos/oblac/jodd/issues/218/comments","events_url":"https://api.github.com/repos/oblac/jodd/issues/218/events","html_url":"https://github.com/oblac/jodd/issues/218","id":75351710,"number":218,"title":"Views from classpath","user":{"login":"Chandu","id":261027,"avatar_url":"https://avatars.githubusercontent.com/u/261027?v=3","gravatar_id":"","url":"https://api.github.com/users/Chandu","html_url":"https://github.com/Chandu","followers_url":"https://api.github.com/users/Chandu/followers","following_url":"https://api.github.com/users/Chandu/following{/other_user}","gists_url":"https://api.github.com/users/Chandu/gists{/gist_id}","starred_url":"https://api.github.com/users/Chandu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chandu/subscriptions","organizations_url":"https://api.github.com/users/Chandu/orgs","repos_url":"https://api.github.com/users/Chandu/repos","events_url":"https://api.github.com/users/Chandu/events{/privacy}","received_events_url":"https://api.github.com/users/Chandu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oblac/jodd/labels/howto","name":"howto","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-11T20:43:49Z","updated_at":"2015-05-12T10:38:34Z","closed_at":null,"body":"I have started exploring jodd madvoc and so far looks good/interesting.\r\nI am trying to build a module which can be included as a JAR in a Servlet 3.0 based container and register itself to respond to specific paths.\r\n\r\nSo far so good, I got it working.\r\nHowever what I want to do is serve the views (jsp/html) from the files embedded in the jar.\r\nIs there a way to change the view resolver to look for the files in the classpath instead of webapp folder?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/oblac/jodd/issues/comments/101233199","html_url":"https://github.com/oblac/jodd/issues/218#issuecomment-101233199","issue_url":"https://api.github.com/repos/oblac/jodd/issues/218","id":101233199,"user":{"login":"igorspasic","id":2280001,"avatar_url":"https://avatars.githubusercontent.com/u/2280001?v=3","gravatar_id":"","url":"https://api.github.com/users/igorspasic","html_url":"https://github.com/igorspasic","followers_url":"https://api.github.com/users/igorspasic/followers","following_url":"https://api.github.com/users/igorspasic/following{/other_user}","gists_url":"https://api.github.com/users/igorspasic/gists{/gist_id}","starred_url":"https://api.github.com/users/igorspasic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorspasic/subscriptions","organizations_url":"https://api.github.com/users/igorspasic/orgs","repos_url":"https://api.github.com/users/igorspasic/repos","events_url":"https://api.github.com/users/igorspasic/events{/privacy}","received_events_url":"https://api.github.com/users/igorspasic/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T10:38:34Z","updated_at":"2015-05-12T10:38:34Z","body":"Exactly like @zqq90  said :) By default we provide the common JSP dispatcher results, but you can register and use any, like [webit-script](http://zqq90.github.io/webit-script/), `Freemarker`, Soy... etc. Even you can use Jodd to create simple template engine:)\r\n\r\nWe do not provide any 'official' implementation (maybe soon, in different integration project), since there are several ways how you can deal with the results anyway. Take for example JSON results - it looks simple, yet we find different ways how people want to use them - some want to do automatic serialization etc.\r\n\r\nSo play with the ActionResults, check documentation... and enjoy :)"}}