This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Configuration | |
@ComponentScan("com.myspring") | |
@EnableWebMvc | |
public class Config extends WebMvcConfigurerAdapter{ | |
@Bean | |
public ViewResolver viewResolver(){ | |
InternalResourceViewResolver viewResolver = new InternalResourceViewResolver(); | |
viewResolver.setViewClass(JstlView.class); | |
viewResolver.setPrefix("/WEB-INF/jsp/"); | |
viewResolver.setSuffix(".jsp"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//JSTL combined Javascript | |
var markers = [ | |
<c:forEach var="row" items="${result.rows}"> | |
['<c:out value="${row.aciklama}" />', | |
<c:out value="${row.KONUME}" />, //double without apostrophe | |
<c:out value="${row.KONUMB}" />, | |
<c:out value="${row.EVID}" />, | |
'<c:out value="${row.aptadi}" />', | |
'<c:out value="${row.mahalle}" />', | |
'<c:out value="${row.sokak}" />', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# node v6.4.0 npm v3.10.6 | |
npm uninstall -g angular-cli | |
npm cache clean | |
npm install -g angular-cli@webpack | |
ng -v | |
angular-cli: 1.0.0-beta.11-webpack.2 | |
node: 6.4.0 | |
os: win32 x64 |