Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixing bug #5207

  • Loading branch information...
commit fa37fa5f7a3d6f34a48c6f37b4612c9191a9be38 1 parent a907fae
@CecileBONIN CecileBONIN authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 src/main/java/com/silverpeas/tags/servlets/WebFileServer.java
View
6 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>");
Please sign in to comment.
Something went wrong with that request. Please try again.