다음의 주소 서비스 이용
<script src="//t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script>
<script>
function openAddressPopup() {
new daum.Postcode({
oncomplete: function(data) {
document.querySelector('.address').value = data.address;
}
}).open();
}
</script>
<tr>
<th>주소</th>
<td>
<input class="address input input-bordered input-primary w-full max-w-xs" autocomplete="off" type="text"
placeholder="주소1을 입력해주세요" name="address" onkeyup="copyAddress(this);" readonly/>
<button class="btn btn-outline" type="button" onclick="openAddressPopup()" style="margin-top: 10px;">주소 검색</button>
</td>
</tr>
이 두개만 내 write jsp 에 심어주면 끝