Results 1 to 2 of 2
  1. #1
    mindblaster's Avatar
    mindblaster is offline Member
    Join Date
    Dec 2009
    Location
    Pakistan
    Posts
    18
    Rep Power
    0

    Red face JSP/Tomcat problem please help :?

    Hi I am using tomcat 5 and intellijidea for coding...

    My Code
    Java Code:
    <%--
      Created by IntelliJ IDEA.
      User: Administrator
      Date: Feb 20, 2011
      Time: 5:15:31 AM
      To change this template use File | Settings | File Templates.
    --%>
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
     <%@page import="com.vgbtube.db.login.my.*" %>
    <html>
      <head>
          <title>Form Example</title>
    
      </head>
      <body>
    
    
    
            <form action="example.jsp" method="post" name="myform">
                Name:<input name="txtName" size="20" type="text">
                <input type="submit" name="submit" value="Submit">
    
    
      <%
          form1 Form = new form1();
          Form.setName("wewerrBasit");
          out.print(Form.getName());
        String v,a;
          a = request.getParameter("txtName");
          v = request.getParameter("action");
          out.print(v);
          out.print(a);
      %>
                 </form>
      </body>
    </html>
    When I am changing the title and run it on firefox i doesnot change :confused:
    just like
    Java Code:
    <title>Form Example</title>
    i changed it
    Java Code:
    <title>Form Changed Example</title>
    but when i run it shows the Title Form Example what should i do ?
    Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

  2. #2
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    6

    Default

    When you view the rendered HTML, is the title element set correctly or is it being overwritten?

Similar Threads

  1. Tomcat autoDeploy problem
    By SiliconWolf in forum JavaServer Pages (JSP) and JSTL
    Replies: 5
    Last Post: 09-09-2010, 11:28 AM
  2. tomcat problem.....
    By munish in forum NetBeans
    Replies: 2
    Last Post: 09-03-2009, 11:49 AM
  3. Tomcat Problem
    By sanjeevtarar in forum Java Servlet
    Replies: 3
    Last Post: 04-16-2008, 11:53 AM
  4. tomcat problem
    By osval in forum New To Java
    Replies: 2
    Last Post: 07-29-2007, 08:13 PM
  5. Tomcat problem
    By Peter in forum Advanced Java
    Replies: 2
    Last Post: 06-29-2007, 10:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •