Permalink
Browse files

fixing bug #5207

  • Loading branch information...
1 parent a907fae commit fa37fa5f7a3d6f34a48c6f37b4612c9191a9be38 @CecileBONIN CecileBONIN committed Jan 15, 2014
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/main/java/com/silverpeas/tags/servlets/WebFileServer.java
@@ -26,7 +26,6 @@
import java.io.StringReader;
import java.rmi.RemoteException;
-import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
@@ -203,9 +202,8 @@ private void displayError(HttpServletResponse res, String userId, String compone
StringBuilder message = new StringBuilder(255);
message.append("<HTML>");
message.append("<BODY>");
- message.append("Warning ! User identified by id '<b>").append(userId).append("</b>'");
- message.append(" is not allowed to access to component identified by componentId '<b>");
- message.append(componentId).append("</b>' !");
+ message.append("<h1>Erreur ... </h1>");
+ message.append("Le service a rencontr&eacute; un probl&egrave;me inattendu pendant le traitement de votre demande <br/>");
message.append("</BODY>");
message.append("</HTML>");

0 comments on commit fa37fa5

Please sign in to comment.