|
|
@ -229,7 +229,6 @@ public abstract class AbstractController extends AbstractBean {
|
|
|
|
* @throws Exception
|
|
|
|
* @throws Exception
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
protected void download(Downloadable downloadable, HttpServletResponse hresp) throws Exception {
|
|
|
|
protected void download(Downloadable downloadable, HttpServletResponse hresp) throws Exception {
|
|
|
|
//TODO: DownloadView ->foundation으로 이동 후 render(...) 호출하도록 수정할 것
|
|
|
|
|
|
|
|
if (downloadable == null) {
|
|
|
|
if (downloadable == null) {
|
|
|
|
hresp.setStatus(HttpServletResponse.SC_NOT_FOUND);
|
|
|
|
hresp.setStatus(HttpServletResponse.SC_NOT_FOUND);
|
|
|
|
hresp.sendError(HttpServletResponse.SC_NOT_FOUND);
|
|
|
|
hresp.sendError(HttpServletResponse.SC_NOT_FOUND);
|
|
|
|