I have been trying to get my form to save the ñ
character, however whenever I debug this character is replaced ... what is it due to?
I have tried this way:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="fecha.jsp" %>
<!DOCTYPE html>
<html lang="es">
<head>
<title>Agregar Usuario</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><!--opcion 1-->
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/><!--opcion 2-->
Neither of the two options has worked for me whenever I enter the debug, where I make the request of the view other characters appear replacing the ñ
NOTE
My problem is not when viewing on the page, it is in the form when you sent the data to be saved.
EDITION
The server I am using is glassfish, I tried the configuration to the server, which by default is UTF-8 and my problem continues.