이미지 경로 수정

This commit is contained in:
daniel LEE 2023-10-26 13:30:37 +09:00
parent 4b86968e72
commit c2565dc414
2 changed files with 3 additions and 4 deletions

View File

@ -21,6 +21,5 @@ server.url.img=/usr/local/soft/tomcat/webapps/profile
# JSP # JSP
spring.mvc.view.prefix=/WEB-INF/views/ spring.mvc.view.prefix=/WEB-INF/views/
spring.mvc.view.suffix=.jsp spring.mvc.view.suffix=.jsp
spring.mvc.static-path-pattern=/resources/** #spring.mvc.static-path-pattern=/resources/**
#JSP수정시 서버 재시작없이 바로 적용될 수 있게 설정 #server.servlet.jsp.init-parameters.development=true
server.servlet.jsp.init-parameters.development=true

View File

@ -21,7 +21,7 @@
<td><c:out value="${profile.name}" /></td> <td><c:out value="${profile.name}" /></td>
<td><c:out value="${ profile.phone}" /></td> <td><c:out value="${ profile.phone}" /></td>
<td><c:out value="${ profile.address}" /></td> <td><c:out value="${ profile.address}" /></td>
<td><img src="${ profile.filepath}" ><br></td> <td><img src="/profile${ profile.filepath}" ><br></td>
</tr> </tr>
</thead> </thead>
</table> </table>