<form id="key" name="key">

</form>


document.key.action= "<c:url value='/smart/autoMain.do'/>";

document.key.submit();



이거맞소??