<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-422416833323160161</id><updated>2024-12-07T22:54:02.335-08:00</updated><title type='text'>gcourses</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gcourses.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://gcourses.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>jesus gutierrez lopez</name><uri>http://www.blogger.com/profile/10776661018438886663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpr0nQgaydafqImxKCJsnXysPF87oQjfhjoyzfVrxKDdKPumNhgzuL04nevLHcsCqBLdkBIz_hKQh3DNStodKGv56uZxwtp04Y0hl9tD-SryjbDrcplpNzayF6ZsfszlI/s220/keepo.me-cartoon_avatar-male-bald.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-422416833323160161.post-5415938086899789033</id><published>2013-02-21T00:00:00.000-08:00</published><updated>2011-09-16T17:30:37.431-07:00</updated><title type='text'></title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;- Bienvenido -&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Este es un blog dirigido para ayudar en el aprendizaje de lenguajes de programacion, espero sea de gran utilidad el contenido de este blog que ésta construcción.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiSvuFEalRPdWqyOD-KpeYt0Oi83-bSoua6FVbXsCU6aOWTfV7PapJt9PSWwiCcf5nG2Ai2mpBqU7VXEbm5jeake3rkxDM_rXRcba2v_2JKP1lTXFKdZr6wc3XJX_bJzlG9R08YLCjYD3Y/s1600/%25C3%25ADndice.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;311&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiSvuFEalRPdWqyOD-KpeYt0Oi83-bSoua6FVbXsCU6aOWTfV7PapJt9PSWwiCcf5nG2Ai2mpBqU7VXEbm5jeake3rkxDM_rXRcba2v_2JKP1lTXFKdZr6wc3XJX_bJzlG9R08YLCjYD3Y/s400/%25C3%25ADndice.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gcourses.blogspot.com/feeds/5415938086899789033/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://gcourses.blogspot.com/2011/09/bienvenido.html#comment-form' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/5415938086899789033'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/5415938086899789033'/><link rel='alternate' type='text/html' href='http://gcourses.blogspot.com/2011/09/bienvenido.html' title=''/><author><name>jesus gutierrez lopez</name><uri>http://www.blogger.com/profile/10776661018438886663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpr0nQgaydafqImxKCJsnXysPF87oQjfhjoyzfVrxKDdKPumNhgzuL04nevLHcsCqBLdkBIz_hKQh3DNStodKGv56uZxwtp04Y0hl9tD-SryjbDrcplpNzayF6ZsfszlI/s220/keepo.me-cartoon_avatar-male-bald.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhiSvuFEalRPdWqyOD-KpeYt0Oi83-bSoua6FVbXsCU6aOWTfV7PapJt9PSWwiCcf5nG2Ai2mpBqU7VXEbm5jeake3rkxDM_rXRcba2v_2JKP1lTXFKdZr6wc3XJX_bJzlG9R08YLCjYD3Y/s72-c/%25C3%25ADndice.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-422416833323160161.post-919037380076090497</id><published>2012-03-26T18:32:00.000-07:00</published><updated>2012-03-26T18:54:02.515-07:00</updated><title type='text'>Servlet Recibir datos por POST de un formulario.</title><content type='html'>&lt;h2 class=&quot;r&quot; style=&quot;font-weight: normal;&quot;&gt;




&lt;b&gt;Java Servlet&lt;/b&gt;&lt;/h2&gt;
&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Hola que tal hoy te explicare como enviar datos por post y recibirlos por un servlet  para mostrarlos en HTML.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Aqui puedes encontrar la carpetarcon este ejemplo&amp;nbsp; solo colocalo dentro de \webapps para que funcione &lt;a href=&quot;https://www.rapidshare.com/#%21download%7C887%7C1590510962%7Cenviar.rar%7C1264&quot; target=&quot;_blank&quot;&gt;descargar&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: cyan;&quot;&gt;Primero crearemos el formularia donde capturaremos los datos que sean enviados.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDLjNIk-rMGuZgDJor1hseWg4-Yg5kZCBn6Q_01QtkwrLiwodbhG-afVxjqAckwIhrtbsJ2L_nTeISWi5MI9qofPNYqCOY5ka6GZCXRmV3HS4AKefYxQJoW5eQN-BGWL6S9kzZLD-AZC8A/s1600/formulario.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;186&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDLjNIk-rMGuZgDJor1hseWg4-Yg5kZCBn6Q_01QtkwrLiwodbhG-afVxjqAckwIhrtbsJ2L_nTeISWi5MI9qofPNYqCOY5ka6GZCXRmV3HS4AKefYxQJoW5eQN-BGWL6S9kzZLD-AZC8A/s320/formulario.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;u&gt;www\enviar\html\formulario.jsp &lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
&amp;lt;style type=&quot;text/css&quot;&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
.Estilo1 {&lt;br /&gt;
color: #FFFFFF;&lt;br /&gt;
font-weight: bold;&lt;br /&gt;
}&lt;br /&gt;
.Estilo21 {color: #003333; font-weight: bold; font-family: &quot;Courier New&quot;, Courier, monospace; font-size: 14px; }&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
/*El formulario enviara los datos a url-pattern del xml&amp;nbsp; /servlet/recibir*/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;form name=&quot;form&quot; method=&quot;post&quot; action=&quot;../servlet/recibir&quot;&amp;gt;&lt;br /&gt;
&amp;lt;table width=&quot;460&quot; height=&quot;250&quot; border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td colspan=&quot;2&quot; bgcolor=&quot;#000099&quot;&amp;gt;&amp;lt;span class=&quot;Estilo1&quot;&amp;gt;FORMULARIO&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td width=&quot;164&quot; bgcolor=&quot;#FFFF99&quot;&amp;gt;&amp;lt;span class=&quot;Estilo21&quot;&amp;gt;Nombre&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td width=&quot;227&quot; bgcolor=&quot;#FFFF99&quot;&amp;gt;&lt;br /&gt;
&amp;lt;input name=&quot;nombre&quot; type=&quot;text&quot;&amp;gt;    &amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=&quot;#FFFF99&quot;&amp;gt;&amp;lt;span class=&quot;Estilo21&quot;&amp;gt;Apellidos&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=&quot;#FFFF99&quot;&amp;gt;&amp;lt;input name=&quot;apellidos&quot; type=&quot;text&quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=&quot;#FFFF99&quot;&amp;gt;&amp;lt;span class=&quot;Estilo21&quot;&amp;gt;Direccion&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=&quot;#FFFF99&quot;&amp;gt;&amp;lt;input name=&quot;direccion&quot; type=&quot;text&quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=&quot;#FFFF99&quot;&amp;gt;&amp;lt;span class=&quot;Estilo21&quot;&amp;gt;Telefono&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=&quot;#FFFF99&quot;&amp;gt;&amp;lt;input name=&quot;tel&quot; type=&quot;text&quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td height=&quot;36&quot; bgcolor=&quot;#FFFF99&quot;&amp;gt;&amp;lt;span class=&quot;Estilo21&quot;&amp;gt;Descripcion&amp;lt;/span&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td bgcolor=&quot;#FFFF99&quot;&amp;gt;&lt;br /&gt;
&amp;lt;strong&amp;gt;&lt;br /&gt;
&amp;lt;textarea name=&quot;descripcion&quot;&amp;gt;&amp;lt;/textarea&amp;gt;&lt;br /&gt;
&amp;lt;/strong&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td height=&quot;36&quot; colspan=&quot;2&quot; bgcolor=&quot;#FFFF99&quot;&amp;gt;&amp;lt;input type=&quot;submit&quot; name=&quot;enviar&quot; value=&quot;enviar&quot;&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;b&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;color: cyan;&quot;&gt;
Segundo crearemos el xml que lanzara la clase de java para mostrar en el explorador.&lt;/div&gt;
&lt;div style=&quot;color: orange;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;u&gt;\enviar\WEB-INF\web.xml&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;lt;web-app&amp;gt;&lt;br /&gt;
&amp;lt;resource-ref&amp;gt;&lt;br /&gt;
&amp;lt;description&amp;gt;Connexion BD&amp;lt;/description&amp;gt;&lt;br /&gt;
&amp;lt;res-ref-name&amp;gt;jdbc/soyITZ&amp;lt;/res-ref-name&amp;gt;&lt;br /&gt;
&amp;lt;res-type&amp;gt;javax.sql.DataSource&amp;lt;/res-type&amp;gt;&lt;br /&gt;
&amp;lt;res-auth&amp;gt;Container&amp;lt;/res-auth&amp;gt;&lt;br /&gt;
&amp;lt;/resource-ref&amp;gt;&lt;br /&gt;
/*En esta parte llamamos ala clase recibe le colocamos el nombre de Java*/&lt;br /&gt;
&amp;lt;servlet&amp;gt;&lt;br /&gt;
&amp;lt;servlet-name&amp;gt;Java&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;
&amp;lt;servlet-class&amp;gt;recibir&amp;lt;/servlet-class&amp;gt;&lt;br /&gt;
&amp;lt;/servlet&amp;gt;&lt;br /&gt;
/*En esta parte se especifica la paguina donde se quiere incluir en la busqueda */&lt;br /&gt;
&amp;lt;servlet-mapping&amp;gt;&lt;br /&gt;
&amp;lt;servlet-name&amp;gt;Java&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;
&amp;lt;url-pattern&amp;gt;/servlet/recibir&amp;lt;/url-pattern&amp;gt;&lt;br /&gt;
&amp;lt;/servlet-mapping&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/web-app&amp;gt;&lt;u&gt;&lt;i&gt;&lt;b&gt;&lt;br /&gt;&amp;nbsp;&lt;/b&gt;&lt;/i&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: cyan; text-align: left;&quot;&gt;
Tercero se tiene que realizar la clase recibir donde obtendremos los datos enviados por el vormulario.&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;u&gt;&lt;i&gt;&lt;b&gt; &lt;/b&gt;&lt;/i&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;enviar\WEB-INF\classes\recibir.java&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
import javax.servlet.*;&lt;br /&gt;
import javax.servlet.http.*;&lt;br /&gt;
import java.io.*;&lt;br /&gt;
import java.util.*;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
public class recibir extends HttpServlet&lt;br /&gt;
{&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&amp;nbsp;public  void doPost(HttpServletRequest request,HttpServletResponse response)&lt;br /&gt;
&lt;br /&gt;
throws ServletException, IOException&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
/*En esta parte recibimos los datos del formulario*/&lt;br /&gt;
PrintWriter out=response.getWriter();&lt;br /&gt;
String nombre = request.getParameter(&quot;nombre&quot;);&lt;br /&gt;
String apellidos = request.getParameter(&quot;apellidos&quot;);&lt;br /&gt;
String direccion = request.getParameter(&quot;direccion&quot;);  &lt;br /&gt;
String tel = request.getParameter(&quot;tel&quot;);  &lt;br /&gt;
String descripcion = request.getParameter(&quot;descripcion&quot;);      &lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
/*Se declara el tipo de contenido que sera mostrado en este caso HTML*/&lt;br /&gt;
response.setContentType( &quot;text/html&quot; );&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
/*declaramos el objeto a imprimir*/&lt;br /&gt;
PrintWriter salida = response.getWriter();&lt;br /&gt;
&lt;br /&gt;
try&lt;br /&gt;
&lt;br /&gt;
{&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
/*Imprimimos en html los datos enviados por formulario*/ &lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
salida.println(&quot;&amp;lt;table width=&#39;311&#39; border=&#39;1&#39;&amp;gt; &amp;lt;tr&amp;gt;   &amp;lt;td colspan=&#39;2&#39; bgcolor=&#39;#000099&#39; style=&#39;color:#FFFFFF&#39;&amp;gt;Formulario&amp;lt;/td&amp;gt; &amp;lt;/tr&amp;gt;  &amp;lt;tr&amp;gt;    &amp;lt;td width=&#39;165&#39;&amp;gt;Nombre&amp;lt;/td&amp;gt;    &amp;lt;td width=&#39;130&#39;&amp;gt;&quot;+nombre+&quot;&amp;lt;/td&amp;gt;  &amp;lt;/tr&amp;gt;  &amp;lt;tr&amp;gt;    &amp;lt;td&amp;gt;Apellidos&amp;lt;/td&amp;gt;    &amp;lt;td&amp;gt;&quot;+apellidos+&quot;&amp;lt;/td&amp;gt;  &amp;lt;/tr&amp;gt;  &amp;lt;tr&amp;gt;    &amp;lt;td&amp;gt;Direccion&amp;lt;/td&amp;gt;    &amp;lt;td&amp;gt;&quot;+direccion+&quot;&amp;lt;/td&amp;gt;  &amp;lt;/tr&amp;gt;  &amp;lt;tr&amp;gt;    &amp;lt;td&amp;gt;Telefono&amp;lt;/td&amp;gt;    &amp;lt;td&amp;gt;&quot;+tel+&quot;&amp;lt;/td&amp;gt;  &amp;lt;/tr&amp;gt;  &amp;lt;tr&amp;gt;    &amp;lt;td&amp;gt;Descripcion&amp;lt;/td&amp;gt;    &amp;lt;td&amp;gt;&quot;+descripcion+&quot;&amp;lt;/td&amp;gt;  &amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;      &quot;);&lt;br /&gt;
&lt;br /&gt;
salida.close(); }&lt;br /&gt;
&lt;br /&gt;
catch(Exception e)  {            e.printStackTrace();  }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;Aqui lo que vera&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH0JNpUTFVHu6iUcpEYYY_MODYeyBbGWRQiN-GAgO7S3kzg-maMbyrzD8B4g34GsF2uS39qtu5wyNaLJ-kpjRQIkQwe0aa0LA_9vLj_252dEA1BimQGuDaFXqA4GfE-TaoifGEVCzYh7D7/s1600/recibe.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;211&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH0JNpUTFVHu6iUcpEYYY_MODYeyBbGWRQiN-GAgO7S3kzg-maMbyrzD8B4g34GsF2uS39qtu5wyNaLJ-kpjRQIkQwe0aa0LA_9vLj_252dEA1BimQGuDaFXqA4GfE-TaoifGEVCzYh7D7/s320/recibe.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;h3 class=&quot;r&quot; style=&quot;font-weight: normal;&quot;&gt;




&lt;b&gt;&lt;i&gt;&lt;span id=&quot;goog_2112034649&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_2112034650&quot;&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/h3&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcourses.blogspot.com/feeds/919037380076090497/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://gcourses.blogspot.com/2012/03/servlet-recibir-datos-por-post-de-un.html#comment-form' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/919037380076090497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/919037380076090497'/><link rel='alternate' type='text/html' href='http://gcourses.blogspot.com/2012/03/servlet-recibir-datos-por-post-de-un.html' title='Servlet Recibir datos por POST de un formulario.'/><author><name>jesus gutierrez lopez</name><uri>http://www.blogger.com/profile/10776661018438886663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpr0nQgaydafqImxKCJsnXysPF87oQjfhjoyzfVrxKDdKPumNhgzuL04nevLHcsCqBLdkBIz_hKQh3DNStodKGv56uZxwtp04Y0hl9tD-SryjbDrcplpNzayF6ZsfszlI/s220/keepo.me-cartoon_avatar-male-bald.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDLjNIk-rMGuZgDJor1hseWg4-Yg5kZCBn6Q_01QtkwrLiwodbhG-afVxjqAckwIhrtbsJ2L_nTeISWi5MI9qofPNYqCOY5ka6GZCXRmV3HS4AKefYxQJoW5eQN-BGWL6S9kzZLD-AZC8A/s72-c/formulario.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-422416833323160161.post-5326574066641687913</id><published>2011-09-15T23:12:00.000-07:00</published><updated>2011-09-15T23:32:45.234-07:00</updated><title type='text'>JavaServer Pages Hola mundo</title><content type='html'>&lt;br /&gt;
&lt;h1&gt;



JavaServer Pages&lt;/h1&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3;&quot;&gt;
&lt;b&gt;JavaServer Pages&lt;/b&gt; (&lt;b&gt;JSP&lt;/b&gt;) es
una tecnología Java que permite generar contenido dinámico para web, en forma
de documentos HTML, XML o de otro tipo.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 3;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;&quot;&gt;Directivas:
&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;&quot;&gt;Son etiquetas a partir de las
cuales se genera información que puede ser utilizada por el motor de JSP. No
producen una salida visible al usuario sino que configura cómo se ejecutará la
página JSP.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;Su sintaxis es: &amp;lt;%@ directiva atributo=&quot;valor&quot; %&amp;gt; &lt;/pre&gt;
&lt;pre&gt;JSP Scriptlet&amp;nbsp;&amp;nbsp; &amp;lt;% code %&amp;gt;: El código se inserta en el método servlet &lt;/pre&gt;
&lt;pre&gt;JSP Declaration &amp;nbsp;&amp;lt;%! code %&amp;gt; : El código se inserta&amp;nbsp; dentro del cuerpo de la&lt;/pre&gt;
&lt;pre&gt;clase servlet, fuera del método servlet.&lt;/pre&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;
Este JSP muestra el numero de visitas y un mensaje de hola mundo.Es adecuado para comenzar en el ambiente JSP&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp;-----------------------------------holamundo.jsp---------------------------------------&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;lt;%@ page
language=&#39;java&#39; contentType=&quot;text/html&quot; %&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;lt;%! Int
contador=0; %&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;lt;html&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;JSP&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;lt;body bgcolor=&quot;white&quot;&amp;gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Hola mundo mi numero de visitas es : &amp;lt;%= contador++ %&amp;gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;.............................................................................................................................. &lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gcourses.blogspot.com/feeds/5326574066641687913/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://gcourses.blogspot.com/2011/09/javaserver-pages-hola-mundo.html#comment-form' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/5326574066641687913'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/5326574066641687913'/><link rel='alternate' type='text/html' href='http://gcourses.blogspot.com/2011/09/javaserver-pages-hola-mundo.html' title='JavaServer Pages Hola mundo'/><author><name>jesus gutierrez lopez</name><uri>http://www.blogger.com/profile/10776661018438886663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpr0nQgaydafqImxKCJsnXysPF87oQjfhjoyzfVrxKDdKPumNhgzuL04nevLHcsCqBLdkBIz_hKQh3DNStodKGv56uZxwtp04Y0hl9tD-SryjbDrcplpNzayF6ZsfszlI/s220/keepo.me-cartoon_avatar-male-bald.png'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-422416833323160161.post-4314288022894789803</id><published>2011-09-15T19:53:00.000-07:00</published><updated>2011-09-15T19:53:14.853-07:00</updated><title type='text'>Eliminar registros en la Base de Datos desde JSP</title><content type='html'>En la entrada de Consulta de Base de Datos desde JSP mostre&amp;nbsp; la clase conexion, 
bueno aqui de igualmanera se necesitara. Este jsp que enseguida mostrare es para eliminar datos en la BD usando la clase conexion..&amp;nbsp; &lt;br /&gt;&lt;br /&gt;
----------------------.-------------------------elimanar.jsp------------------------------------------------- &lt;br /&gt;
&amp;lt;%@ page import=&quot;java.io.*,java.util.*,java.net.*,java.sql.*&quot; %&amp;gt;&lt;br /&gt;&amp;lt;%@ page import = &quot;conexion.conexion&quot; %&amp;gt;&lt;br /&gt;&amp;lt;%! conexion con = new conexion(); %&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;body&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;!-- bajas--&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;%&lt;br /&gt;if(request.getParameter(&quot;baja&quot;) != null)&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;Statement instruccion=null;&lt;br /&gt;instruccion = con.getConnection().createStatement();&lt;br /&gt;&lt;br /&gt;String id = request.getParameter(&quot;Id_usuario&quot;);&lt;br /&gt;&lt;br /&gt;try {&lt;br /&gt;instruccion.executeUpdate(&quot;delete from usuarios where id_usuarios=&quot;+id+&quot;;&quot;);&lt;br /&gt;out.println(&quot;&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt; &amp;lt;table width=&#39;345&#39; border=&#39;1&#39; align=&#39;center&#39; bgcolor=&#39;#FFFFFF&#39;&amp;nbsp; cellpadding=&#39;0&#39; cellspacing=&#39;0&#39; bordercolor=&#39;#000099&#39;&amp;gt;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td align=&#39;center&#39;&amp;gt;&amp;lt;FONT color=&#39;#000000&#39; SIZE=4&amp;gt;FUE ELIMINADO EL REGISTRO: &quot;+id+&quot; &amp;lt;/FONT&amp;gt;&amp;lt;/td&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&amp;nbsp; &amp;lt;/table&amp;gt;&quot;);&lt;br /&gt;instruccion.close();&lt;br /&gt;&lt;br /&gt;} catch(SQLException e) {out.println(e);};&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;%&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;form name=&quot;form2&quot; method=&quot;post&quot; action=&quot;eliminar.jsp&quot; &amp;gt;&lt;br /&gt;&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table width=&quot;345&quot; border=&quot;1&quot; align=&quot;center&quot; bgcolor=&quot;#FFFFFF&quot;&amp;nbsp; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; bordercolor=&quot;#000099&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td align=&quot;center&quot; bgcolor=&quot;#0000FF&quot;&amp;gt;&amp;lt;FONT color=&quot;#FFFFFF&quot; SIZE=4 &amp;gt;BAJA DE USUARIO&amp;lt;/FONT&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table width=&quot;345&quot; border=&quot;1&quot; align=&quot;center&quot; cellpadding=&quot;0&quot; bgcolor=&quot;#FFFFFF&quot; cellspacing=&quot;0&quot; bordercolor=&quot;#000099&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th width=&quot;144&quot; height=&quot;52&quot;&amp;gt;Clave del usuario &amp;lt;/th&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td width=&quot;185&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;%&lt;br /&gt;&lt;br /&gt;ResultSet tabla= null;&lt;br /&gt;Statement instruccion=null;&lt;br /&gt;instruccion = con.getConnection().createStatement();&lt;br /&gt;&lt;br /&gt;try {&lt;br /&gt;tabla = instruccion.executeQuery(&quot;select * from usuarios order by id_usuarios&amp;nbsp; ASC&quot;);&lt;br /&gt;&lt;br /&gt;out.println(&quot;&amp;lt;select name=&#39;Id_usuario&#39; id=&#39;Id del empleado&#39;&amp;gt;&quot;);&lt;br /&gt;out.println(&quot;&amp;lt;option value=&#39;0&#39;&amp;gt;Select de usuarios&amp;lt;/option&amp;gt;&quot;);&lt;br /&gt;while(tabla.next()) {&lt;br /&gt;out.println(&quot;&amp;lt;option value=&#39;&quot;+tabla.getString(1)+&quot;&#39;&amp;gt;&quot;+tabla.getString(2)+&quot;&amp;lt;/option&amp;gt;&quot;);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;out.println(&quot;&amp;lt;/select&amp;gt;&quot;);&lt;br /&gt;tabla.close();&lt;br /&gt;instruccion.close();&lt;br /&gt;} catch(SQLException e) {out.println(e);};&lt;br /&gt;&lt;br /&gt;%&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table width=&quot;345&quot; border=&quot;0&quot; align=&quot;center&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td width=&quot;%50&quot; align=&quot;center&quot;&amp;gt;&amp;lt;input name=&quot;baja&quot; type=&quot;submit&quot; id=&quot;bajas&quot; value=&quot;Baja&quot; /&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/form&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;/body&amp;gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://gcourses.blogspot.com/feeds/4314288022894789803/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://gcourses.blogspot.com/2011/09/eliminar-registros-en-la-base-de-datos.html#comment-form' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/4314288022894789803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/4314288022894789803'/><link rel='alternate' type='text/html' href='http://gcourses.blogspot.com/2011/09/eliminar-registros-en-la-base-de-datos.html' title='Eliminar registros en la Base de Datos desde JSP'/><author><name>jesus gutierrez lopez</name><uri>http://www.blogger.com/profile/10776661018438886663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpr0nQgaydafqImxKCJsnXysPF87oQjfhjoyzfVrxKDdKPumNhgzuL04nevLHcsCqBLdkBIz_hKQh3DNStodKGv56uZxwtp04Y0hl9tD-SryjbDrcplpNzayF6ZsfszlI/s220/keepo.me-cartoon_avatar-male-bald.png'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-422416833323160161.post-1866290033546179806</id><published>2011-09-15T00:47:00.000-07:00</published><updated>2011-09-15T20:05:15.754-07:00</updated><title type='text'>Conexion  jsp + mysql (insertar y consulta)</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Conexion JSP + MYSQL&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/goog_153390787&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;a href=&quot;http://gcourses.blogspot.com/2011/09/consulta-de-base-de-datos-desde-jsp.html&quot;&gt;1) Consulta de Base de Datos desde JSP&amp;nbsp; &lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: blue;&quot;&gt;
&lt;a href=&quot;http://gcourses.blogspot.com/2011/09/insertar-registros-en-la-base-de-datos.html&quot;&gt;2) Insertar registros en la Base de Datos desde JSP&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://gcourses.blogspot.com/2011/09/eliminar-registros-en-la-base-de-datos.html&quot;&gt;3) Eliminar registros en la Base de Datos desde JSP&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://sistemasmyd.marquezymarcos.com/images/jsp-logo.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://sistemasmyd.marquezymarcos.com/images/jsp-logo.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gcourses.blogspot.com/feeds/1866290033546179806/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://gcourses.blogspot.com/2011/09/conexion-jsp-mysql-insertar-y-consulta.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/1866290033546179806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/1866290033546179806'/><link rel='alternate' type='text/html' href='http://gcourses.blogspot.com/2011/09/conexion-jsp-mysql-insertar-y-consulta.html' title='Conexion  jsp + mysql (insertar y consulta)'/><author><name>jesus gutierrez lopez</name><uri>http://www.blogger.com/profile/10776661018438886663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpr0nQgaydafqImxKCJsnXysPF87oQjfhjoyzfVrxKDdKPumNhgzuL04nevLHcsCqBLdkBIz_hKQh3DNStodKGv56uZxwtp04Y0hl9tD-SryjbDrcplpNzayF6ZsfszlI/s220/keepo.me-cartoon_avatar-male-bald.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-422416833323160161.post-8104956212020985092</id><published>2011-09-15T00:21:00.000-07:00</published><updated>2011-09-15T01:19:20.579-07:00</updated><title type='text'>Insertar registros en la  Base de Datos desde JSP</title><content type='html'>En la entrada de Consulta de Base de Datos desde JSP mostre&amp;nbsp; la clase conexion, bueno aqui de igualmanera se necesitara. Este jsp que enseguida mostrare es para insertar datos en la BD usando la clase conexion..&amp;nbsp; &lt;br /&gt;
-----------------------insert.jsp------------------------&lt;br /&gt;
&lt;br /&gt;
&amp;lt;%@ page import=&quot;java.io.*,java.util.*,java.net.*,java.sql.*&quot; %&amp;gt;&lt;br /&gt;
&amp;lt;%@ page import = &quot;conexion.conexion&quot; %&amp;gt;&lt;br /&gt;
&amp;lt;%! conexion con = new conexion(); %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body &amp;gt;&lt;br /&gt;
&amp;lt;%&lt;br /&gt;
if(request.getParameter(&quot;alta&quot;) != null)&lt;br /&gt;
{&lt;br /&gt;
&lt;br /&gt;
Statement instruccion=null;&lt;br /&gt;
&lt;br /&gt;
instruccion = con.getConnection().createStatement();&lt;br /&gt;
&lt;br /&gt;
String id_usu = request.getParameter(&quot;Id_usuario&quot;);&lt;br /&gt;
String nom_usu = request.getParameter(&quot;Nombre_usuario&quot;);&lt;br /&gt;
&lt;br /&gt;
try {&lt;br /&gt;
instruccion.executeUpdate(&quot;insert into usuarios values(&#39;&quot;+id_usu+&quot;&#39;,&#39;&quot;+nom_usu+&quot;&#39;);&quot;);&lt;br /&gt;
out.println(&quot;&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt; &amp;lt;table width=&#39;345&#39; border=&#39;1&#39; align=&#39;center&#39; bgcolor=&#39;#FFFFFF&#39;&amp;nbsp; cellpadding=&#39;0&#39; cellspacing=&#39;0&#39; bordercolor=&#39;#000099&#39;&amp;gt;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td align=&#39;center&#39;&amp;gt;&amp;lt;FONT color=&#39;#000000&#39; SIZE=4&amp;gt;FUE DADO DE ALTA : &quot;+nom_usu+&quot; &amp;lt;/FONT&amp;gt;&amp;lt;/td&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&amp;nbsp; &amp;lt;/table&amp;gt; &quot;);&lt;br /&gt;
&lt;br /&gt;
instruccion.close();&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
} catch(SQLException e) {out.println(e);};&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
%&amp;gt;&lt;br /&gt;
&amp;lt;form name=&quot;form&quot; method=&quot;post&quot;&amp;nbsp; action=&quot;insert.jsp&quot; &amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;/br&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table width=&quot;352&quot; border=&quot;1&quot; bgcolor=&quot;#FFFFFF&quot; align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; bordercolor=&quot;#000099&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td align=&quot;center&quot; bgcolor=&quot;#0000CC&quot;&amp;gt;&amp;lt;FONT color=&quot;#FFFFFF&quot; SIZE=4 &amp;gt;ALTA DE USUARIO&amp;lt;/FONT&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table width=&quot;352&quot; height=&quot;81&quot; border=&quot;1&quot; align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; bordercolor=&quot;#000099&quot; bgcolor=&quot;#FFFFFF&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th width=&quot;144&quot;&amp;gt;Clave del usuario &amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td width=&quot;185&quot;&amp;gt;&amp;lt;input type=&quot;text&quot; name=&quot;Id_usuario&quot; id=&quot;Id_usuario&quot;/&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;th&amp;gt;Nombre del usuario &amp;lt;/th&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;input type=&quot;text&quot; name=&quot;Nombre_usuario&quot; id=&quot;Nombre&quot;/&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;center&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table width=&quot;345&quot; border=&quot;0&quot; align=&quot;center&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td width=&quot;%50&quot; align=&quot;center&quot;&amp;gt;&amp;lt;input name=&quot;alta&quot; type=&quot;submit&quot;&amp;nbsp; value=&quot;Alta&quot; /&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/form&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;lt;/form&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Aqui puede descargar el ejemplo &lt;br /&gt;
&lt;br /&gt;
http://www.megaupload.com/?d=XTNVUWHJ</content><link rel='replies' type='application/atom+xml' href='http://gcourses.blogspot.com/feeds/8104956212020985092/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://gcourses.blogspot.com/2011/09/insertar-registros-en-la-base-de-datos.html#comment-form' title='6 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/8104956212020985092'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/8104956212020985092'/><link rel='alternate' type='text/html' href='http://gcourses.blogspot.com/2011/09/insertar-registros-en-la-base-de-datos.html' title='Insertar registros en la  Base de Datos desde JSP'/><author><name>jesus gutierrez lopez</name><uri>http://www.blogger.com/profile/10776661018438886663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpr0nQgaydafqImxKCJsnXysPF87oQjfhjoyzfVrxKDdKPumNhgzuL04nevLHcsCqBLdkBIz_hKQh3DNStodKGv56uZxwtp04Y0hl9tD-SryjbDrcplpNzayF6ZsfszlI/s220/keepo.me-cartoon_avatar-male-bald.png'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-422416833323160161.post-5111188385638038625</id><published>2011-09-14T23:25:00.000-07:00</published><updated>2011-09-16T10:11:06.684-07:00</updated><title type='text'>Consulta de la Base de Datos desde JSP</title><content type='html'>Para esta conexion primero se creara una clase conexion la cual llamaremos&amp;nbsp; en el jsp para conectarnos.&lt;br /&gt;
La clase conexion es la siguiente:&lt;br /&gt;
&lt;br /&gt;
--------------------clase conexion.java--------------------------&lt;br /&gt;
package conexion;&lt;br /&gt;
import java.sql.*;&lt;br /&gt;
&lt;br /&gt;
public class conexion {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
//atributos&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private String bd = &quot;practica1&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private String login = &quot;root&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private String password = &quot;123&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private String url = &quot;jdbc:mysql://localhost/&quot;+bd;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Connection canal = null;&lt;br /&gt;
&lt;br /&gt;
//contructor&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
public conexion(){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; try {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Class.forName(&quot;com.mysql.jdbc.Driver&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; canal=DriverManager.getConnection(url,login,password);&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; catch(java.lang.ClassNotFoundException e){} catch(SQLException e) {};&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp; }&lt;br /&gt;
//metodos&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; public Connection getConnection(){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return canal;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; public void desconectar(){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; canal = null;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
----------------------------------------------------------------------------------------------- &amp;nbsp;&amp;nbsp; &lt;br /&gt;
Una ves&amp;nbsp; creada y corrida la clase conexion.java&amp;nbsp; ahora si podemos crear nuestro jsp&amp;nbsp; que consulte nuestra BD &amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; -------------------------------consulta.jsp------------------------&lt;br /&gt;
&amp;lt;%@ page import=&quot;java.io.*,java.util.*,java.net.*,java.sql.*&quot; %&amp;gt;&lt;br /&gt;
//aqui se importa la clase conexion que se encuentra la carpeta conexion&lt;br /&gt;
&amp;lt;%@ page import = &quot;conexion.conexion&quot; %&amp;gt;&lt;br /&gt;
//creamos el objeto con&lt;br /&gt;
&amp;lt;%! conexion con = new conexion(); %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Consulta --&amp;gt;&lt;br /&gt;
&amp;lt;%&lt;br /&gt;
&lt;br /&gt;
ResultSet tabla= null;&lt;br /&gt;
Statement instruccion=null;&lt;br /&gt;
instruccion = con.getConnection().createStatement();&lt;br /&gt;
&lt;br /&gt;
try {&lt;br /&gt;
tabla = instruccion.executeQuery(&quot;select * from usuarios order by id_usuarios&amp;nbsp; ASC&quot;);&lt;br /&gt;
%&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;table width=&quot;402&quot; height=&quot;35&quot; border=&quot;1&quot; align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; bordercolor=&quot;#000099&quot; background=&quot;../IMAGENES/barramorada.jpg&quot; bgcolor=&quot;#FFFFFF&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;tr bgcolor=&quot;#0000CC&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td align=&quot;center&quot;&amp;gt;&amp;lt;FONT color=&quot;#FFFFFF&quot; SIZE=4 &amp;gt;MODULO DE CONSULTAS&amp;lt;/FONT&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;table width=&quot;400&quot; border=&quot;1&quot; align=&quot;center&quot; bgcolor=&quot;#FFFFFF&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; bordercolor=&quot;#000099&quot;&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;tr &amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td width=&quot;140&quot; align=&quot;center&quot; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;bgcolor=&quot;#999999&quot;&amp;gt;&amp;lt;FONT color=&quot;#FFFFFF&quot; &amp;gt;&amp;lt;strong&amp;gt;ID&amp;lt;/strong&amp;gt;&amp;lt;/FONT&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td width=&quot;254&quot; align=&quot;center&quot; bgcolor=&quot;#999999&quot;&amp;gt;&amp;lt;FONT color=&quot;#FFFFFF&quot; &amp;gt;&amp;lt;strong&amp;gt;NOMBRES&amp;lt;/strong&amp;gt;&amp;lt;/FONT&amp;gt;&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;nbsp; &amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;%&lt;br /&gt;
&lt;br /&gt;
while(tabla.next()) {&lt;br /&gt;
out.println(&quot;&amp;lt;TR&amp;gt;&amp;lt;TD&amp;gt;&amp;lt;center&amp;gt;&quot;+tabla.getString(1)+&quot;&amp;lt;/cebter&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;TD&amp;gt;&amp;lt;center&amp;gt;&quot;+tabla.getString(2)+&quot;&amp;lt;/center&amp;gt;&amp;lt;/TD&amp;gt;&amp;lt;/TR&amp;gt;&quot;);&lt;br /&gt;
}&lt;br /&gt;
%&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&amp;lt;%&lt;br /&gt;
tabla.close();&lt;br /&gt;
instruccion.close();&lt;br /&gt;
con.desconectar();&lt;br /&gt;
} catch(SQLException e) {out.println(e);};&lt;br /&gt;
%&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
------------------------------------------------------------------------------------&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Recuerda que si usas apache tomcat&amp;nbsp; la clase conexion.java y conexion.class deben estar en&lt;br /&gt;
Apache Software Foundation\Tomcat X.X\webapps\practica1\WEB-INF\classes\&lt;br /&gt;
&lt;br /&gt;
La BD que use es la siguiente&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1K9-W_ZTb_6IGmCX8wEKnLnGDOZziXrWbjoJIaaXoBByy1V2ZMD6hGIq3x_U7xCf0UEUt4Y8KMVe_5rA2Zgoi1HqCTKRCRCARz41ogS0fQFnAHrDNziQ7wuLsHU1aLsYqFVyP4RaE0zv0/s1600/bd.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;324&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1K9-W_ZTb_6IGmCX8wEKnLnGDOZziXrWbjoJIaaXoBByy1V2ZMD6hGIq3x_U7xCf0UEUt4Y8KMVe_5rA2Zgoi1HqCTKRCRCARz41ogS0fQFnAHrDNziQ7wuLsHU1aLsYqFVyP4RaE0zv0/s640/bd.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
bueno con esto tendran conectada su BD...</content><link rel='replies' type='application/atom+xml' href='http://gcourses.blogspot.com/feeds/5111188385638038625/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://gcourses.blogspot.com/2011/09/consulta-de-base-de-datos-desde-jsp.html#comment-form' title='3 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/5111188385638038625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/5111188385638038625'/><link rel='alternate' type='text/html' href='http://gcourses.blogspot.com/2011/09/consulta-de-base-de-datos-desde-jsp.html' title='Consulta de la Base de Datos desde JSP'/><author><name>jesus gutierrez lopez</name><uri>http://www.blogger.com/profile/10776661018438886663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpr0nQgaydafqImxKCJsnXysPF87oQjfhjoyzfVrxKDdKPumNhgzuL04nevLHcsCqBLdkBIz_hKQh3DNStodKGv56uZxwtp04Y0hl9tD-SryjbDrcplpNzayF6ZsfszlI/s220/keepo.me-cartoon_avatar-male-bald.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1K9-W_ZTb_6IGmCX8wEKnLnGDOZziXrWbjoJIaaXoBByy1V2ZMD6hGIq3x_U7xCf0UEUt4Y8KMVe_5rA2Zgoi1HqCTKRCRCARz41ogS0fQFnAHrDNziQ7wuLsHU1aLsYqFVyP4RaE0zv0/s72-c/bd.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-422416833323160161.post-6477942331546889611</id><published>2011-08-19T13:20:00.000-07:00</published><updated>2011-08-19T13:38:54.247-07:00</updated><title type='text'>Configuración DNS en CENTOS</title><content type='html'>Comenzamos &lt;br /&gt;
1)desintalar bind_chroot&lt;br /&gt;
2)instalar system-config-bind&lt;br /&gt;
Una ves instalado entrar sistema de nombres de dominós&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio-LrbOgwyBFFNHfmK5BBFB_N62pwR6IHho82AwnPBIuxrPOUHtpfAF_stOxV3VCwwGkwYqkLsW_QQKLdZmpUWx5VQjYoSfgPsWkRrNW7FWt5Pw4ZeBT5sVLVeERkzmOfkVpR0spn-qupQ/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio-LrbOgwyBFFNHfmK5BBFB_N62pwR6IHho82AwnPBIuxrPOUHtpfAF_stOxV3VCwwGkwYqkLsW_QQKLdZmpUWx5VQjYoSfgPsWkRrNW7FWt5Pw4ZeBT5sVLVeERkzmOfkVpR0spn-qupQ/s320/1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;   	 	 	 	&lt;style type=&quot;text/css&quot;&gt;
p { margin-bottom: 0.21cm; }
&lt;/style&gt;  &lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;Crearemos el domino primero&amp;nbsp; la zona directa&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCOlsaMEyFnXpTEzO9eG0yBw7xDh3ewESBLI1KqFAMpC3oCYsALxQXSQFEeu_DfCTChGeL9OP9eqlSbVfnrrhSAmvc0n5zTbYgWIRsemJ-Uu2ZY08uxfseGkKIDCIZnifvbZeEY5LTSyht/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCOlsaMEyFnXpTEzO9eG0yBw7xDh3ewESBLI1KqFAMpC3oCYsALxQXSQFEeu_DfCTChGeL9OP9eqlSbVfnrrhSAmvc0n5zTbYgWIRsemJ-Uu2ZY08uxfseGkKIDCIZnifvbZeEY5LTSyht/s1600/2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Se&amp;nbsp; el nombre del dominio&amp;nbsp; equipo2.admonredesitz.com&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxrX5iTh-bJyQQG7ywizKEA5uYAR6VQ4FL5dH3Ax6lSG8PT1UFzmGejLHuvlidyXYiwfsSn_ltMYS1sUpiVgScc0tml77lEXJF-Fq4AH3FVS2SAm_qozpekV-NSaeBHL7xkVW-2y8yC2k8/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;216&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxrX5iTh-bJyQQG7ywizKEA5uYAR6VQ4FL5dH3Ax6lSG8PT1UFzmGejLHuvlidyXYiwfsSn_ltMYS1sUpiVgScc0tml77lEXJF-Fq4AH3FVS2SAm_qozpekV-NSaeBHL7xkVW-2y8yC2k8/s320/4.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;Se&amp;nbsp; el nombre del dominio autoritativo servidor.equipo2.admonredesitz.com&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;la direcion de correo &lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq2ydYMSMQACq4gCHgveFHxEZNZKsp-1LtTt0JunBPu5LB6xNXi9Q4Ospu06NaZCL3iHDTUlCKOA0FRpoiYKXvd5ydCd8QVZNQfd6jKBV2XW7CE1lqcsC75KQhhPlDeY1nPxeK2getUGqw/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhq2ydYMSMQACq4gCHgveFHxEZNZKsp-1LtTt0JunBPu5LB6xNXi9Q4Ospu06NaZCL3iHDTUlCKOA0FRpoiYKXvd5ydCd8QVZNQfd6jKBV2XW7CE1lqcsC75KQhhPlDeY1nPxeK2getUGqw/s320/1.png&quot; width=&quot;226&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;style type=&quot;text/css&quot;&gt;
p { margin-bottom: 0.21cm; }
&lt;/style&gt;  &lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;Primero empezaremos creando&amp;nbsp; la zona inversa&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf9vS3UzfgcjTXlK1CHcsIwssZuAnWgx1s0EHzfyxR2TcXHfzHFKqBttHxAEU7E9FqYkweqPlysDbBcsBpWlQi22pHtE3RRhoTfOZRYOj_lw2NdPYIRNIVe65a0OF0rbp8yuXU_qLPPbcb/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf9vS3UzfgcjTXlK1CHcsIwssZuAnWgx1s0EHzfyxR2TcXHfzHFKqBttHxAEU7E9FqYkweqPlysDbBcsBpWlQi22pHtE3RRhoTfOZRYOj_lw2NdPYIRNIVe65a0OF0rbp8yuXU_qLPPbcb/s1600/1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRF2NzdT0cy3OUWB_qvxFcGHzyfmJZoE8k710JACHD8gPAuJvQzwlWH3CBquZZ532DKhMB3ZfT9bbbyoWKm11QQQbzW5hkuS3R55gIdHgDfhedo5qOt4Z44o0iKtJGqylEZIOrhBHgcjKX/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRF2NzdT0cy3OUWB_qvxFcGHzyfmJZoE8k710JACHD8gPAuJvQzwlWH3CBquZZ532DKhMB3ZfT9bbbyoWKm11QQQbzW5hkuS3R55gIdHgDfhedo5qOt4Z44o0iKtJGqylEZIOrhBHgcjKX/s1600/2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;&amp;nbsp;Se coloca la direcion&amp;nbsp; de la red&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyF4EeO9TenGZDP8mJIBsDRXKA72cfyBhAsC42DLK6bGwQXBtG3UXBjr5W8s_3rGXeWrm8jGy7Y_E2qeHc7Qmlw6bWmjrEtrwyGzRzfE56eE0NN_jefjRLeV-MXNeNDpVjMKE8hjt2PGmm/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyF4EeO9TenGZDP8mJIBsDRXKA72cfyBhAsC42DLK6bGwQXBtG3UXBjr5W8s_3rGXeWrm8jGy7Y_E2qeHc7Qmlw6bWmjrEtrwyGzRzfE56eE0NN_jefjRLeV-MXNeNDpVjMKE8hjt2PGmm/s1600/3.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzzS-ijhh9kiVaxbIrnh5OQXfaOHzFkqO9XKecSVM3QzI1WmkeF_Icbg7nQKZ7W-tBsFT02fAD-YsgVU_uOw8aFNAcSxn_0t2YsdtXHmo12VtpcH2PPzeC5pGc7E8XQ9MZnrJ-BgXXfVU0/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzzS-ijhh9kiVaxbIrnh5OQXfaOHzFkqO9XKecSVM3QzI1WmkeF_Icbg7nQKZ7W-tBsFT02fAD-YsgVU_uOw8aFNAcSxn_0t2YsdtXHmo12VtpcH2PPzeC5pGc7E8XQ9MZnrJ-BgXXfVU0/s320/4.png&quot; width=&quot;203&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;style type=&quot;text/css&quot;&gt;
p { margin-bottom: 0.21cm; }
&lt;/style&gt;  &lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;Una ves creado la zona directa y la zona inversa dentro de /etc/named.conf  vera que se agregaron las zonas.&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;&lt;style type=&quot;text/css&quot;&gt;
p { margin-bottom: 0.21cm; }
&lt;/style&gt;  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;zone &quot;2.168.192.in-addr.arpa.&quot; IN {  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;type master;  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;file &quot;192.168.2.db&quot;;  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;};  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;zone &quot;equipo2.admonredesitz.com.&quot; IN {  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;type master;  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;file &quot;equipo2.admonredesitz.com.db&quot;;  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;};  &lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;Una ves creado esto se tiene que hacer &lt;style type=&quot;text/css&quot;&gt;
p { margin-bottom: 0.21cm; }
&lt;/style&gt;el mapeo de direcciones, se da clic derecho en la dirección  creada &amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7ZsEsK4MLwjLEL4hWCf1CFEyXDGF2C90ISD3STVgD9Lvo6LRJHRzcOf6hSVK6tU8s-vYw9bqiR8MagbY_psr2BB00kH0_pZItgxmLbeO_JS5aaHzk7jCCTtjd_TkyJ_OXUlolArVXqLnI/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7ZsEsK4MLwjLEL4hWCf1CFEyXDGF2C90ISD3STVgD9Lvo6LRJHRzcOf6hSVK6tU8s-vYw9bqiR8MagbY_psr2BB00kH0_pZItgxmLbeO_JS5aaHzk7jCCTtjd_TkyJ_OXUlolArVXqLnI/s320/1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Aqui se coloca la direccion del host al cual va apuntar&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHWOZ6ZoDrNsTPuupvHnMLusFYmBVpCK_mJJyNCPF_8gYDmehyphenhyphenByUjkHd2B5UtpY-mgJUzs9-y9Kimjbjy5b4IelmsOrxxWVRR1EtLqoE3_ZU1iDBCj01z-k6pW9u65QcByl080qaR3ppv/s1600/2.png&quot; /&gt;&lt;/div&gt;&lt;style type=&quot;text/css&quot;&gt;
p { margin-bottom: 0.21cm; }
&lt;/style&gt;  &lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;Para crear el alias del dominio damos clic derecho sobre la zona directa elegimos CNAME&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGnyWfFgK-LW0Oe4gr3j_hPPt2cTEe0iEDi62nzWAlXZL4l3Bzsg8rRIAHzGG2ah9O-e6G9MN-c6eSgtxm95oHpi963xnUL7X6yRw6q08JgCMhwLP0pqTITgSipNUtrLvrFVexGdjRu1lN/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGnyWfFgK-LW0Oe4gr3j_hPPt2cTEe0iEDi62nzWAlXZL4l3Bzsg8rRIAHzGG2ah9O-e6G9MN-c6eSgtxm95oHpi963xnUL7X6yRw6q08JgCMhwLP0pqTITgSipNUtrLvrFVexGdjRu1lN/s1600/5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&amp;nbsp;Una ves echo todos estos pasos podra ver que ya esta creado su dominio&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbA7LydXSWHDH8Br9Q7FsnaxX83d_7eTUdJNqbnIQA5Hb9u-GMPi8NEKlAbVwL6N1HC_7DhmA8zZvp_cXJwJbltsA6Bv5mMmX8TsO_FJi4a7NZpXdE7aTfWc3bMcf0v6w-Inqqe23hyXLR/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;188&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbA7LydXSWHDH8Br9Q7FsnaxX83d_7eTUdJNqbnIQA5Hb9u-GMPi8NEKlAbVwL6N1HC_7DhmA8zZvp_cXJwJbltsA6Bv5mMmX8TsO_FJi4a7NZpXdE7aTfWc3bMcf0v6w-Inqqe23hyXLR/s320/6.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm; text-decoration: none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;&amp;nbsp;    	 	 	 	&lt;style type=&quot;text/css&quot;&gt;
p { margin-bottom: 0.21cm; }
&lt;/style&gt;  &lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;En la direcion var/&lt;u&gt;named&lt;/u&gt;/ podrá ver que están credos las zonas vera algo como esto:&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;&lt;style type=&quot;text/css&quot;&gt;
p { margin-bottom: 0.21cm; }
&lt;/style&gt;  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;/var/named/192.168.2.db &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;$TTL 1H  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;@       SOA     servidor.equipo2.admonredesitz.com.     root.servidor.equipo2.admonredesitz.com. (      2  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;3H  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;1H  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;1W  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;1H )  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;NS      servidor.equipo2.admonredesitz.com.  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;254     IN      1H      PTR     servidor.equipo2.admonredesitz.com.  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;1       IN      1H      PTR     win.equipo2.admonredesitz.com.  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;100     IN      1H      PTR     linux.equipo2.admonredesitz.com.  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;Editar  /var/named/equipo2.admonredesitz.com.db  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;$TTL 1H  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;@       SOA     servidor        root.servidor.equipo2.admonredesitz.com. (      2  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;3H  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;1H  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;1W  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;1H )  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;NS      servidor  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;servidor        A       192.168.2.254  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;win     A       192.168.2.1  &lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;linux   A       192.168.2.100  &lt;/div&gt;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;-----------------------------------------------------------------------------------------------------&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;Ahora solo resta reiniciar el servicio service named restart y colocar en su navegador el dominio vera algo como esto&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;91&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6PQ5kVrDFi5o6EI1h3NSe715EcG42qLfl9zvul3fL34irZMfWAgaAPXiinlve-QX7bbEzVVvKjTpE7cW3cktSUltEVELbW1xIC4XvtlOicrGMyNrV3PEQnULVSd4XFI6b9Yb-p27fzNNC/s320/10.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;Bueno estodo por hoy espero les sirva de algo :)&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-weight: normal; margin-bottom: 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://gcourses.blogspot.com/feeds/6477942331546889611/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://gcourses.blogspot.com/2011/08/configuracion-dns-en-centos.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/6477942331546889611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/422416833323160161/posts/default/6477942331546889611'/><link rel='alternate' type='text/html' href='http://gcourses.blogspot.com/2011/08/configuracion-dns-en-centos.html' title='Configuración DNS en CENTOS'/><author><name>jesus gutierrez lopez</name><uri>http://www.blogger.com/profile/10776661018438886663</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='23' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpr0nQgaydafqImxKCJsnXysPF87oQjfhjoyzfVrxKDdKPumNhgzuL04nevLHcsCqBLdkBIz_hKQh3DNStodKGv56uZxwtp04Y0hl9tD-SryjbDrcplpNzayF6ZsfszlI/s220/keepo.me-cartoon_avatar-male-bald.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio-LrbOgwyBFFNHfmK5BBFB_N62pwR6IHho82AwnPBIuxrPOUHtpfAF_stOxV3VCwwGkwYqkLsW_QQKLdZmpUWx5VQjYoSfgPsWkRrNW7FWt5Pw4ZeBT5sVLVeERkzmOfkVpR0spn-qupQ/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>