Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8장] show.jsp 의 템플릿 #7

Open
Gobukgol opened this issue Sep 9, 2020 · 0 comments
Open

[8장] show.jsp 의 템플릿 #7

Gobukgol opened this issue Sep 9, 2020 · 0 comments

Comments

@Gobukgol
Copy link
Contributor

Gobukgol commented Sep 9, 2020

<ul class="article-util-list">
			<li>
				<a class="link-modify-article" href="/api/qna/updateAnswer/{3}">수정</a>
			</li>
			<li>
				<form class="form-delete" action="/api/qna/deleteAnswer" method="POST">
					<input type="hidden" name="answerId" value="{4}" />
					<button type="submit" class="link-delete-article">삭제</button>
				</form>
			</li>
		</ul>

show.jsp 의 html 템플릿에 {4} 를 {3} 으로 변경해야합니다. next-step 레포에서 그대로 긁어 오면 {4}로 되어있습니다.

input type="hidden" name="answerId" value="{4}" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant