{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2256","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2256/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2256/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2256/events","html_url":"https://github.com/spring-projects/spring-boot/issues/2256","id":53094112,"number":2256,"title":"JSP support in embedded tomcat jar packaging","user":{"login":"kamoor","id":6391281,"avatar_url":"https://avatars.githubusercontent.com/u/6391281?v=3","gravatar_id":"","url":"https://api.github.com/users/kamoor","html_url":"https://github.com/kamoor","followers_url":"https://api.github.com/users/kamoor/followers","following_url":"https://api.github.com/users/kamoor/following{/other_user}","gists_url":"https://api.github.com/users/kamoor/gists{/gist_id}","starred_url":"https://api.github.com/users/kamoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamoor/subscriptions","organizations_url":"https://api.github.com/users/kamoor/orgs","repos_url":"https://api.github.com/users/kamoor/repos","events_url":"https://api.github.com/users/kamoor/events{/privacy}","received_events_url":"https://api.github.com/users/kamoor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/documentation","name":"documentation","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-30T05:27:37Z","updated_at":"2015-07-23T07:23:42Z","closed_at":null,"body":"As per spring boot documentation, JSP will not work with jar packing with embedded tomcat. \r\n\r\nSee:\r\nhttp://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-developing-web-applications.html#boot-features-jsp-limitations\r\n\r\nThere some other documentation & sample applications also in boot to instruct to create war file in this scenario.\r\n\r\nI think this documentation is wrong, because Servlet 3.0 container will work as long as JSP saved in META-INF/resources folder. I have created a sample application here. (Test is failing due to some reason but application works)\r\n\r\nhttps://github.com/kamoor/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-tomcat7-jsp-jar\r\n\r\nRequesting to update documentation and samples. "},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/124003920","html_url":"https://github.com/spring-projects/spring-boot/issues/2256#issuecomment-124003920","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2256","id":124003920,"user":{"login":"wilkinsona","id":914682,"avatar_url":"https://avatars.githubusercontent.com/u/914682?v=3","gravatar_id":"","url":"https://api.github.com/users/wilkinsona","html_url":"https://github.com/wilkinsona","followers_url":"https://api.github.com/users/wilkinsona/followers","following_url":"https://api.github.com/users/wilkinsona/following{/other_user}","gists_url":"https://api.github.com/users/wilkinsona/gists{/gist_id}","starred_url":"https://api.github.com/users/wilkinsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilkinsona/subscriptions","organizations_url":"https://api.github.com/users/wilkinsona/orgs","repos_url":"https://api.github.com/users/wilkinsona/repos","events_url":"https://api.github.com/users/wilkinsona/events{/privacy}","received_events_url":"https://api.github.com/users/wilkinsona/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T07:23:42Z","updated_at":"2015-07-23T07:23:42Z","body":"Using a war file and going containerless are not mutually exclusive. You can use an executable war file (launched with `java -jar`) and JSPs will work."}}