이미지 경로 수정
This commit is contained in:
parent
4b86968e72
commit
c2565dc414
|
|
@ -21,6 +21,5 @@ server.url.img=/usr/local/soft/tomcat/webapps/profile
|
|||
# JSP
|
||||
spring.mvc.view.prefix=/WEB-INF/views/
|
||||
spring.mvc.view.suffix=.jsp
|
||||
spring.mvc.static-path-pattern=/resources/**
|
||||
#JSP수정시 서버 재시작없이 바로 적용될 수 있게 설정
|
||||
server.servlet.jsp.init-parameters.development=true
|
||||
#spring.mvc.static-path-pattern=/resources/**
|
||||
#server.servlet.jsp.init-parameters.development=true
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
<td><c:out value="${profile.name}" /></td>
|
||||
<td><c:out value="${ profile.phone}" /></td>
|
||||
<td><c:out value="${ profile.address}" /></td>
|
||||
<td><img src="${ profile.filepath}" ><br></td>
|
||||
<td><img src="/profile${ profile.filepath}" ><br></td>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
|
|
|
|||
Loading…
Reference in New Issue