Policy failures:
Code warning - failed on resource SArticleController.java. Reason: The method toURL() from the type File is deprecated, line 6 Override reason: o
This commit is contained in:
12
YACOSWeb/WebContent/WEB-INF/jsp/listDispatchArticle.jsp
Normal file
12
YACOSWeb/WebContent/WEB-INF/jsp/listDispatchArticle.jsp
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
|
||||||
|
pageEncoding="ISO-8859-1"%>
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||||
|
<title>Insert title here</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
package org.yacos.web.PCmember.controller;
|
||||||
|
|
||||||
|
public class ListDispatchArticleController {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -5,10 +5,12 @@ import java.io.FileNotFoundException;
|
|||||||
import java.io.FileOutputStream;
|
import java.io.FileOutputStream;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.util.List;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
import javax.servlet.ServletException;
|
import javax.servlet.ServletException;
|
||||||
import javax.servlet.http.HttpServletRequest;
|
import javax.servlet.http.HttpServletRequest;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
import org.apache.commons.logging.Log;
|
import org.apache.commons.logging.Log;
|
||||||
import org.apache.commons.logging.LogFactory;
|
import org.apache.commons.logging.LogFactory;
|
||||||
import org.springframework.validation.BindException;
|
import org.springframework.validation.BindException;
|
||||||
@@ -16,12 +18,12 @@ import org.springframework.web.multipart.MultipartFile;
|
|||||||
import org.springframework.web.servlet.ModelAndView;
|
import org.springframework.web.servlet.ModelAndView;
|
||||||
import org.springframework.web.servlet.mvc.SimpleFormController;
|
import org.springframework.web.servlet.mvc.SimpleFormController;
|
||||||
import org.springframework.web.servlet.view.RedirectView;
|
import org.springframework.web.servlet.view.RedirectView;
|
||||||
import org.yacos.web.system.session.SessionService;
|
|
||||||
import org.yacos.core.article.Article;
|
import org.yacos.core.article.Article;
|
||||||
import org.yacos.core.article.IArticleManager;
|
import org.yacos.core.article.IArticleManager;
|
||||||
import org.yacos.core.conferences.Conference;
|
import org.yacos.core.conferences.Conference;
|
||||||
import org.yacos.core.users.User;
|
import org.yacos.core.users.User;
|
||||||
import org.yacos.web.author.form.FormSubmission;
|
import org.yacos.web.author.form.FormSubmission;
|
||||||
|
import org.yacos.web.system.session.SessionService;
|
||||||
|
|
||||||
public class SArticleController extends SimpleFormController {
|
public class SArticleController extends SimpleFormController {
|
||||||
|
|
||||||
@@ -43,7 +45,7 @@ public class SArticleController extends SimpleFormController {
|
|||||||
String theme = ((FormSubmission) command).getTheme();
|
String theme = ((FormSubmission) command).getTheme();
|
||||||
//String mainauthor = ((FormSubmission) command).getMainauthor();
|
//String mainauthor = ((FormSubmission) command).getMainauthor();
|
||||||
//String secondaryauthor = ((FormSubmission) command).getSecondaryauthor();
|
//String secondaryauthor = ((FormSubmission) command).getSecondaryauthor();
|
||||||
List<String> listeSecondary = ((FormSubmission) command).getListe();
|
ArrayList<String> listeSecondary = (ArrayList<String>)((FormSubmission) command).getListe();
|
||||||
|
|
||||||
String nomFile="";
|
String nomFile="";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user