Random Access File not working, Need Help!!!!

I am having trouble creating and displaying a Random Access File for hardware tools. I have included the code below in eight files:
// Exercise 14.11: HardwareRecord.java
package org.egan; // packaged for reuse
public class HardwareRecord
  private int recordNumber;
  private String toolName;
  private int quantity;
  private double cost;
  // no-argument constructor calls other constructor with default values
  public HardwareRecord()
    this(0,"",0,0.0); // call four-argument constructor
  } // end no-argument HardwareRecord constructor
  // initialize a record
  public HardwareRecord(int number, String tool, int amount, double price)
    setRecordNumber(number);
    setToolName(tool);
    setQuantity(amount);
    setCost(price);
  } // end four-argument HardwareRecord constructor
  // set record number
  public void setRecordNumber(int number)
    recordNumber = number;
  } // end method setRecordNumber
  // get record number
  public int getRecordNumber()
    return recordNumber;
  } // end method getRecordNumber
  // set tool name
  public void setToolName(String tool)
    toolName = tool;
  } // end method setToolName
  // get tool name
  public String getToolName()
    return toolName;
  } // end method getToolName
  // set quantity
  public void setQuantity(int amount)
    quantity = amount;
  } // end method setQuantity
  // get quantity
  public int getQuantity()
    return quantity;
  } // end method getQuantity
  // set cost
  public void setCost(double price)
    cost = price;
  } // end method setCost
  // get cost
  public double getCost()
    return cost;
  } // end method getCost
} // end class HardwareRecord------------------------------------------------------------------------------------------------
// Exercise 14.11: RandomAccessHardwareRecord.java
// Subclass of HardwareRecord for random-access file programs.
package org.egan; // package for reuse
import java.io.RandomAccessFile;
import java.io.IOException;
public class RandomAccessHardwareRecord extends HardwareRecord
  public static final int SIZE = 72;
  // no-argument constructor calls other constructor with default values
  public RandomAccessHardwareRecord()
    this(0,"",0,0.0);
  } // end no-argument RandomAccessHardwareRecord constructor
  // initialize a RandomAccessHardwareRecord
  public RandomAccessHardwareRecord(int number, String tool, int amount, double price)
    super(number,tool,amount,price);
  } // end four-argument RandomAccessHardwareRecord constructor
  // read a record from a specified RandomAccessFile
  public void read(RandomAccessFile file) throws IOException
    setRecordNumber(file.readInt());
    setToolName(readName(file));
    setQuantity(file.readInt());
    setCost(file.readDouble());
  } // end method read
  // ensure that name is proper length
  private String readName(RandomAccessFile file) throws IOException
    char name[] = new char[15], temp;
    for(int count = 0; count < name.length; count++)
      temp = file.readChar();
      name[count] = temp;
    } // end for
    return new String(name).replace('\0',' ');
  } // end method readName
  // write a record to specified RandomAccessFile
  public void write(RandomAccessFile file) throws IOException
    file.writeInt(getRecordNumber());
    writeName(file, getToolName());
    file.writeInt(getQuantity());
    file.writeDouble(getCost());
  } // end method write
  // write a name to file; maximum of 15 characters
  private void writeName(RandomAccessFile file, String name) throws IOException
    StringBuffer buffer = null;
    if (name != null)
      buffer = new StringBuffer(name);
    else
      buffer = new StringBuffer(15);
    buffer.setLength(15);
    file.writeChars(buffer.toString());
  } // end method writeName
} // end RandomAccessHardwareRecord------------------------------------------------------------------------------------------------
// Exercise 14.11: CreateRandomFile.java
// creates random-access file by writing 100 empty records to disk.
import java.io.IOException;
import java.io.RandomAccessFile;
import org.egan.RandomAccessHardwareRecord;
public class CreateRandomFile
  private static final int NUMBER_RECORDS = 100;
  // enable user to select file to open
  public void createFile()
    RandomAccessFile file = null;
    try  // open file for reading and writing
      file = new RandomAccessFile("hardware.dat","rw");
      RandomAccessHardwareRecord blankRecord = new RandomAccessHardwareRecord();
      // write 100 blank records
      for (int count = 0; count < NUMBER_RECORDS; count++)
        blankRecord.write(file);
      // display message that file was created
      System.out.println("Created file hardware.dat.");
      System.exit(0);  // terminate program
    } // end try
    catch (IOException ioException)
      System.err.println("Error processing file.");
      System.exit(1);
    } // end catch
    finally
      try
        if (file != null)
          file.close();  // close file
      } // end try
      catch (IOException ioException)
        System.err.println("Error closing file.");
        System.exit(1);
      } // end catch
    } // end finally
  } // end method createFile
} // end class CreateRandomFile-------------------------------------------------------------------------------------------------
// Exercise 14.11: CreateRandomFileTest.java
// Testing class CreateRandomFile
public class CreateRandomFileTest
   // main method begins program execution
   public static void main( String args[] )
     CreateRandomFile application = new CreateRandomFile();
     application.createFile();
   } // end main
} // end class CreateRandomFileTest-------------------------------------------------------------------------------------------------
// Exercise 14.11: WriteRandomFile.java
import java.io.File;
import java.io.IOException;
import java.io.RandomAccessFile;
import java.util.NoSuchElementException;
import java.util.Scanner;
import org.egan.RandomAccessHardwareRecord;
public class WriteRandomFile
  private RandomAccessFile output;
  private static final int NUMBER_RECORDS = 100;
  // enable user to choose file to open
  public void openFile()
    try // open file
      output = new RandomAccessFile("hardware.dat","rw");
    } // end try
    catch (IOException ioException)
      System.err.println("File does not exist.");
    } // end catch
  } // end method openFile
  // close file and terminate application
  public void closeFile()
    try // close file and exit
      if (output != null)
        output.close();
    } // end try
    catch (IOException ioException)
      System.err.println("Error closing file.");
      System.exit(1);
    } // end catch
  } // end method closeFile
  // add records to file
  public void addRecords()
    // object to be written to file
    RandomAccessHardwareRecord record = new RandomAccessHardwareRecord();
    int recordNumber = 0;
    String toolName;
    int quantity;
    double cost;
    Scanner input = new Scanner(System.in);
    System.out.printf("%s\n%s\n%s\n%s\n\n",
     "To terminate input, type the end-of-file indicator ",
     "when you are prompted to enter input.",
     "On UNIX/Linux/Mac OS X type <ctrl> d then press Enter",
     "On Windows type <ctrl> z then press Enter");
    System.out.printf("%s %s\n%s", "Enter record number (1-100),",
      "tool name, quantity and cost.","? ");
    while (input.hasNext())
      try  // output values to file
        recordNumber = input.nextInt();  // read record number
        toolName = input.next();         // read tool name
        quantity = input.nextInt();      // read quantity
        cost = input.nextDouble();       // read cost
        if (recordNumber > 0 && recordNumber <= NUMBER_RECORDS)
          record.setRecordNumber(recordNumber);
          record.setToolName(toolName);
          record.setQuantity(quantity);
          record.setCost(cost);         
          output.seek((recordNumber - 1) *   // position to proper
           RandomAccessHardwareRecord.SIZE); // location for file
          record.write(output);
        } // end if
        else
          System.out.println("Account must be between 0 and 100.");
      } // end try   
      catch (IOException ioException)
        System.err.println("Error writing to file.");
        return;
      } // end catch
      catch (NoSuchElementException elementException)
        System.err.println("Invalid input. Please try again.");
        input.nextLine();  // discard input so enter can try again
      } // end catch
      System.out.printf("%s %s\n%s","Enter record number (1-100),",
        "tool name, quantity and cost.", "? ");
    } // end while
  } // end method addRecords
} // end class WriteRandomFile-------------------------------------------------------------------------------------------------
// Exercise 14.11: WriteRandomFileTest.java
// Testing class WriteRandomFile
public class WriteRandomFileTest
   // main method begins program execution
   public static void main( String args[] )
     WriteRandomFile application = new WriteRandomFile();
     application.openFile();
     application.addRecords();
     application.closeFile();
   } // end main
} // end class WriteRandomFileTest-------------------------------------------------------------------------------------------------
// Exercise 14.11: ReadRandomFile.java
import java.io.EOFException;
import java.io.IOException;
import java.io.RandomAccessFile;
import org.egan.RandomAccessHardwareRecord;
public class ReadRandomFile
  private RandomAccessFile input;
  // enable user to select file to open
  public void openFile()
    try // open file
      input = new RandomAccessFile("hardware.dat","r");
    } // end try
    catch (IOException ioException)
      System.err.println("File does not exist.");
    } // end catch
  } // end method openFile
  // read and display records
  public void readRecords()
    RandomAccessHardwareRecord record = new RandomAccessHardwareRecord();
    System.out.printf("%-10s%-15s%-15s%10s\n","Record","Tool Name","Quantity","Cost");
    try // read a record and display
      while(true)
        do
          record.read(input);
        }while (record.getRecordNumber() == 0);
        // display record contents
        System.out.printf("%-10d%-12s%-12d%10.2f\n", record.getRecordNumber(),
         record.getToolName(), record.getQuantity(), record.getCost());
      } // end while
    } // end try
    catch (EOFException eofException)
      return; // end of file was reached
    } // end catch
    catch (IOException ioException)
      System.err.println("Error reading file.");
      System.exit(1);
    } // end catch
  }  // end method readRecords
  // close file and terminate application
  public void closeFile()
    try // close file and exit
      if (input != null)
        input.close();
    } // end try
    catch (IOException ioException)
      System.err.println("Error closing file.");
      System.exit(1);
    } // end catch
  } // end methode closeFile
} // end class ReadRandomFile-------------------------------------------------------------------------------------------------
// Exercise 14.11: ReadRandomFileTest.java
// Testing class ReadRandomFile
public class ReadRandomFileTest
   // main method begins program execution
   public static void main( String args[] )
     ReadRandomFile application = new ReadRandomFile();
     application.openFile();
     application.readRecords();
     application.closeFile();
   } // end main
} // end class ReadRandomFileTest-------------------------------------------------------------------------------------------------
Below is the sample data to be inputted in the random file:
Record Tool Name Quantity Cost
Number
3 Sander 18 35.99
19 Hammer 128 10.00
26 Jigsaw 16 14.25
39 Mower 10 79.50
56 Saw 8 89.99
76 Screwdriver 236 4.99
81 Sledgehammer 32 19.75
88 Wrench 65 6.48

I have managed to fix your program.
The solution
The records are sized by the various Writes that occur.
A record is an int + 15 chars + int + double.
WriteInt writes 4 bytes
WriteChar (Called by WriteChars) write 2 bytes
WriteDouble writes 8 bytes.
(In Java 1.5 )
4 bytes + 30 Bytes + 4Bytes + 8 Bytes. = 46 Bytes.
The details are in the API for Random Acces Files at
http://java.sun.com/j2se/1.5.0/docs/api/java/io/RandomAccessFile.html
The code for RandomAccessHardwareRecord line
public statis final int SIZE = 72needs to have the 72 changed to 46
This should make your code work.
I have hacked around with some other bits and will send you my code if you want but that is the key. The asnwers you were getting illustrated a bunch of bytes being read as (say) an int and beacuse of the wrong record length, they were just a bunch of 4 bytes that evaluated to whetever was at that point in the file.
When the record was written the line
output.seek((recordNumber -1 ) * RandomAccessHardwareRecord.SIZE);had SIZE as 72 and so the seek operation stuck the file pointer in the wrong place.
This kind of stuff is good fun and good learning for mentally getting a feel for record filing but in real problems you either serialize your objects or use XML (better) or use jdbc (possibley even better depending on what you are doing).
I would echo sabre comment about the program being poor though because
If the program is meant to teach, it is littered with overly complex statements and if it is meant to be a meaningful program, the objects are too tied to hardware and DAO is the way to go. The problem that the program has indicates that maybe it is maybe fairly old and not written with java 2 in mind.
As for toString() and "Yuk"
Every class inherits toString() from Object. so if you System.out.println(Any object) then you will get something printed. What gets printed is determined by a complex hieracrchy of classes unless you overRide it with your own method.
If you use UnitTesting (which would prevent incorrect code getting as far as this code did in having an error), then toString() methods are really very useful.
Furthermore, IMO Since RandomAccessHardwareRecord knows how to file itself then I hardly think that knowing how to print itself to the console is a capital offence.
In order to expand on the 72 / 46 byte problem.
Message was edited by:
nerak99

Similar Messages

  • I am trying to add lightbox widget to my site but its not working NEED HELP

    i can create the light box widget as a new page but when i paste the codes into the actual site it will not work and the images will not enlarge
    what or where did i go wrong.  This is all the codes for the site including the lightbox widget. i can use all the help i can get even if some one or anyone
    can show me the corrections i need to fix that would be great i am using dreamweaver cs6 incase you need to know...
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <title>MachoMan Madness</title>
    <map name="11_1x1">
    <area shape="rect" coords="474,138,578,150" href="http://macho-madness.net" alt="">
    <area shape="rect" coords="606,136,712,150" href="mailto:[email protected]" alt="">
    <area shape="rect" coords="737,136,835,152" href="http://daxstudios.net" alt="">
    </map>
    <style type="text/css">
    <!--
    .index{
              margin:0px;
              padding:0px;
              border:0px;
              background-image:url(back.jpg);
              background-repeat:repeat-x;
              background-color: #f5f5f5;
    h1{
              margin:0px;
              padding:15px;
              background-color:#222;
              font-family: Verdana, Geneva, sans-serif;
              font-size: 20px;
              line-height: 25px;
              color: #c8c8c8;
              letter-spacing:-1px;
    h2{
              margin:0px;
              padding:10px;
              background-color:#333;
              font-family: Verdana, Geneva, sans-serif;
              font-size: 14px;
              line-height: 15px;
              color: #c8c8c8;
              letter-spacing:-1px;
    p {
              padding:3px;
              padding-top:0px;
              font-family: Verdana, Geneva, sans-serif;
              font-size: 13px;
              line-height: 20px;
              color: #777;
              text-align:justify;
    b, strong {color: #7fa0af;}
    em {color: #555;}
    u {color: #555;}
    a:link, a:visited, a:active {text-decoration:none;color: #ada295;}
    a:hover {text-decoration:none;color:#c8c8c8;}
    -->
    </style>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>Lightbox Gallery : grey</title>
    <script type='text/javascript' src='scripts/jquery.js'></script>
    <script type='text/javascript' src='scripts/lightbox.js'></script>
    <link type='text/css' href='css/lightbox.css' rel='stylesheet'/>
    <link type='text/css' href='css/sample_lightbox_layout.css' rel='stylesheet'/>
    <style type="text/css">
    .lbGallery {
                                  /*gallery container settings*/
                                  background-color: #666666;
                                  padding-left: 20px; 
                                  padding-top: 20px; 
                                  padding-right: 20px; 
                                  padding-bottom: 20px; 
                                  width: 540px;
                                  height: auto;
                                  text-align:left;
                                  box-shadow: 10px 10px 10px black;
                                  border-radius: 20px;
                                  margin-left:auto;
                                  margin-right:auto;
                        .lbGallery ul { list-style: none; margin:0;padding:0; }
                        .lbGallery ul li { display: inline;margin:0;padding:0; }
                        .lbGallery ul li a{text-decoration:none;}
                        .lbGallery ul li a img {
                                  /*border color, width and margin for the images*/
                                  border-color: #ffffff;
                                  border-left-width: 10px;
                                  border-top-width: 10px;
                                  border-right-width: 10px;
                                  border-bottom-width: 20px;
                                  margin-left:5px;
                                  margin-right:5px;
                                  margin-top:5px;
                                  margin-bottom:5px:
                        .lbGallery ul li a:hover img {
                                  /*background color on hover*/
                                  border-color: #cccccc;
                                  border-left-width: 10px;
                                  border-top-width: 10px;
                                  border-right-width: 10px;
                                  border-bottom-width: 20px;
                        #lightbox-container-image-box {
                                  border-top: 2px solid #ffffff;
                                  border-right: 2px solid #ffffff;
                                  border-bottom: 2px solid #ffffff;
                                  border-left: 2px solid #ffffff;
                        #lightbox-container-image-data-box {
                                  border-top: 0px;
                                  border-right: 2px solid #ffffff;
                                  border-bottom: 2px solid #ffffff;
                                  border-left: 2px solid #ffffff;
    </style>
    </head>
    <body class="index">
    <!-- Begin Table -->
    <table border="0" cellpadding="0" cellspacing="0" width="909" align="center">
    <tr>
    <td rowspan="1" colspan="3" width="909" height="166">
              <img name="a10" src="11_1x1.jpg" usemap="#11_1x1"  width="909" height="166" border="0" alt="" /></td>
    </tr>
    <tr>
    <td rowspan="1" colspan="1" width="54" height="320">
              <img name="a11" src="11_2x1.jpg" width="54" height="320" border="0" alt="" /></td>
    <td rowspan="1" colspan="1" width="796" height="320" background="11_2x2.jpg">
              <link rel="stylesheet" type="text/css" href="slides/style.css" />
              <style type="text/css">a#vlb{display:none}</style>
              <script type="text/javascript" src="slides/jquery.js"></script>
              <script type="text/javascript" src="slides/slider.js"></script>
              <div id="wowslider-container1">
              <div class="ws_images">
    <span><img src="slides/9.jpg" alt="" title="" id="wows0"/></span>
    <span><img src="slides/2.jpg" alt="" title="" id="wows1"/></span>
    <span><img src="slides/3.jpg" alt="" title="" id="wows2"/></span>
    <span><img src="slides/4.jpg" alt="" title="" id="wows3"/></span>
    <span><img src="slides/5.jpg" alt="" title="" id="wows4"/></span>
    <span><img src="slides/6.jpg" alt="" title="" id="wows5"/></span>
    <span><img src="slides/7.jpg" alt="" title="" id="wows6"/></span>
    <span><img src="slides/8.jpg" alt="" title="" id="wows7"/></span>
    <span><img src="slides/1.jpg" alt="" title="" id="wows8"/></span>
    </div>
    <div class="ws_bullets"><div>
    <a href="#wows0" title="">1</a>
    <a href="#wows1" title="">2</a>
    <a href="#wows2" title="">3</a>
    <a href="#wows3" title="">4</a>
    <a href="#wows4" title="">5</a>
    <a href="#wows5" title="">6</a>
    <a href="#wows6" title="">7</a>
    <a href="#wows7" title="">8</a>
    <a href="#wows8" title="">9</a>
    </div></div></div></div>
              <script type="text/javascript" src="slides/script.js"></script></td>
    <td rowspan="1" colspan="1" width="59" height="320">
              <img name="a13" src="11_2x3.jpg" width="59" height="320" border="0" alt="" /></td>
    </tr>
    <tr>
    <td rowspan="1" colspan="3" width="909" height="63">
              <img name="a14" src="11_3x1.jpg" width="909" height="63" border="0" alt="" /></td>
    </tr>
    </table>
    <!-- End Table -->
    <table width="840" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
       <td class="mainlink">
    <center>
    <!--drop down menu start HTML-->
    <link rel="stylesheet" type="text/css" href="ddlevelsfiles/ddlevelsmenu-base.css" />
    <link rel="stylesheet" type="text/css" href="ddlevelsfiles/ddlevelsmenu-topbar.css" />
    <link rel="stylesheet" type="text/css" href="ddlevelsfiles/ddlevelsmenu-sidebar.css" />
    <script type="text/javascript" src="ddlevelsfiles/ddlevelsmenu.js"></script>
    <div id="ddtopmenubar" class="mattblackmenu">
    <ul>
    <li><a target=main href="index.html">Home</a></li>
    <li><a target=main href="#" rel="ddsubmenu2">Biography</a></li>
    <li><a target=main href="#" rel="ddsubmenu3">To Be Lead</a></li>
    <li><a target=main href="#" rel="ddsubmenu4">Gallery</a></li>
    <li><a target=main href="#">Videos</a></li>
    <li><a target=main href="#">Memorial Page</a></li>
    <li><a target=main href="#">Wallpaper</a></li>
    <li><a target=main href="#">Shop</a></li>
    <li><a target=main href="#">Blog</a></li>
    <li><a target=main href="#">Join Us</a></li>
    <li><a target=main href="#">Contact</a></li>
    </ul>
    </div>
    <script type="text/javascript">
    ddlevelsmenu.setup("ddtopmenubar", "topbar") //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
    </script>
    <!--Biography HTML-->
    <ul id="ddsubmenu2" class="ddsubmenustyle">
    <li><a target=main href="randy savage bio.html">Randy Savage Bio</a></li>
    <li><a target=main href="Randy facts 101.html">Randy's Facts 101</a></li>
    <li><a target=main href="his early career.html">His Early Career</a></li>
    <li><a target=main href="Randys career in wwf.html">Randy's Career in the WWF</a></li>
    <li><a target=main href="randys career wcw.html">Randy's Career in WCW</a></li>
    <li><a target=main href="#">The Mega Powers </a>
      <ul>
      <li><a target=main href="mega powers bio.html">Mega powers Bio</a></li>
      <li><a target=main href="mega powers facts 101.html">Mega Powers Facts 101</a></li>
      </ul>
    </li>
    <li><a target=main href="pm from randy.html">PM to fans & Elizabeth</a></li>
    <li><a target=main href="#">Randy's Radio interview</a></li>
    <li><a target=main href="#">His Death</a></li>
    </ul>
    <!--To be Lead HTML-->
    <ul id="ddsubmenu3" class="ddsubmenustyle">
    <li><a target=main href="#">Elizabeth Hulette</a>
      <ul>
      <li><a target=main href="#">Elizabeth Bio</a></li>
      <li><a target=main href="#">Elizabeth Facts 101</a></li>
      <li><a target=main href="#">Her Career in the WWF</a></li>
      <li><a target=main href="#">Her Career in WCW</a></li>
      <li><a target=main href="#">Later Life</a></li>
      <li><a target=main href="#">Farewell to a Princess</a></li>
      <li><a target=main href="#">Elizabeth's Radio Interview</a></li>
      <li><a target=main href="#">Elizabeth Death</a></li>
      </ul>
    </li>
    <li><a target=main href="#">Sherri Martel</a></li>
    <li><a target=main href="#">Gorgeous George</a></li>
    <li><a target=main href="#">Team Madness</a></li>
    </ul>
    <!--Photo Gallery HTML-->
    <ul id="ddsubmenu4" class="ddsubmenustyle">
    <li><a target=main href="#">Early Years</a></li>
    <li><a target=main href="#">ICW Gallery</a></li>
    <li><a target=main href="#">WWF Gallery</a></li>
    <li><a target=main href="#">WCW Gallery</a></li>
    <li><a target=main href="#">NWO Gallery</a></li>
    </ul>
    <!--drop down menu end HTML-->
    </center>
    </td>
      </tr>
    </table>
    <br><Br>
    <table width="840" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
        <td>
        <!-- Start Page Content-->
        <h1>Early Years Gallery</h1>
    <div id="gallery" class="lbGallery">
                                  <ul>
                                            <li>
                                                      <a href="images/images (11).jpg" title=""><img src="images/images (11)_thumb.jpg" width="72" height="72" alt="Flower" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images (16).jpg" title=""><img src="images/images (16)_thumb.jpg" width="72" height="72" alt="Tree" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images (17).jpg" title=""><img src="images/images (17)_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images (18).jpg" title=""><img src="images/images (18)_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images (19).jpg" title=""><img src="images/images (19)_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                    <li>
                                                      <a href="images/images (20).jpg" title=""><img src="images/images (20)_thumb.jpg" width="72" height="72" alt="Flower" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images (22).jpg" title=""><img src="images/images (22)_thumb.jpg" width="72" height="72" alt="Tree" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images (23).jpg" title=""><img src="images/images (23)_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images (25).jpg" title=""><img src="images/images (25)_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images (27).jpg" title=""><img src="images/images (27)_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                    <li>
                                                      <a href="images/images (29).jpg" title=""><img src="images/images (29)_thumb.jpg" width="72" height="72" alt="Flower" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images (30).jpg" title=""><img src="images/images (30)_thumb.jpg" width="72" height="72" alt="Tree" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images (31).jpg" title=""><img src="images/images (31)_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images (32).jpg" title=""><img src="images/images (32)_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images.jpg" title=""><img src="images/images_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                    <li>
      </ul>
                </div>
    <script type="text/javascript">
    $(function(){
                                  $('#gallery a').lightBox({
                                            imageLoading:                              'images/lightbox/lightbox-ico-loading.gif',                    // (string) Path and the name of the loading icon
                                            imageBtnPrev:                              'images/lightbox/lightbox-btn-prev.gif',                              // (string) Path and the name of the prev button image
                                            imageBtnNext:                              'images/lightbox/lightbox-btn-next.gif',                              // (string) Path and the name of the next button image
                                            imageBtnClose:                              'images/lightbox/lightbox-btn-close.gif',                    // (string) Path and the name of the close btn
                                            imageBlank:                                        'images/lightbox/lightbox-blank.gif',                              // (string) Path and the name of a blank image (one pixel)
                                            fixedNavigation:                    true,                    // (boolean) Boolean that informs if the navigation (next and prev button) will be fixed or not in the interface.
                                            containerResizeSpeed:          400,                               // Specify the resize duration of container image. These number are miliseconds. 400 is default.
                                            overlayBgColor:                     "#cccccc",                    // (string) Background color to overlay; inform a hexadecimal value like: #RRGGBB. Where RR, GG, and BB are the hexadecimal values for the red, green, and blue values of the color.
                                            overlayOpacity:                              .6,                    // (integer) Opacity value to overlay; inform: 0.X. Where X are number from 0 to 9
                                            txtImage:                                        'Image',                                        //Default text of image
                                            txtOf:                                                  'of'
    </script>
        <div align="left"></div>
    </p>
        <!-- End Page Content-->
        </td>
      </tr>
    </table>
    <br><br><bR>
    <div style="background-color:#222;width:100%;"><bR>
    <table width="870" border="0" cellspacing="10" cellpadding="0" align="center">
      <tr>
       <td width="35%" valign="top">
    <h2>Site Disclaimer</h2>
    <p><strong>Macho-madness</strong> is in no way in contact with World Wrestling Entertainment. All photos are copyright to World Wrestling Entertainment or their respective owners and is being used under the fair copyright of Law 107.</p>
    <p><font color="#000000">©macho-madness.net All right's Reserved.</font> </p>
       </div></td>
        <td width="35%" valign="top">
    <h2>Offical Links</h2>
    <div align="center">
      <table width="269" border="0">
        <tr>
          <td width="94"><div align="center"><a href="https://www.facebook.com/TheMadnessWillNeverBeForgotten"><img src="fb logo.jpg" width="94" height="87" alt="fb logo" longdesc="http://www.macho-madness.net" /></a></div></td>
          <td width="76"><div align="center"><a href="https://twitter.com/machomadnessnet"><img src="twitter logo.jpg" width="76" height="91" alt="twitter logo" longdesc="http://www.macho-madness.net" /></a></div></td>
          <td width="85"><div align="center"><a href="http://pinterest.com/machomadness/"><img src="pinterest logo.jpg" width="79" height="87" alt="pin logo" longdesc="http://www.macho-madness.net" /></a></div></td>
          </tr>
        <tr>
          <td><div align="center"><a href="https://vimeo.com/user13202435"><img src="vimeo.jpg" width="98" height="90" alt="vimeo" longdesc="http://www.macho-madness.net" /></a></div></td>
          <td><div align="center"><a href="http://www.youtube.com/user/mich0679"><img src="youtube logo.jpg" width="83" height="95" alt="youtube logo" longdesc="http://www.macho-madness.net" /></a></div></td>
          <td><div align="center"></div></td>
          </tr>
      </table>
    </div>
    </div></td><td width="29%" valign="top">
    <h2>About Us</h2>
    <p>Macho-madness.net is the  place for all things Randy Savage and is dedicated to the &quot;Memories of Randy Savage.&quot;  We hope you'll take some time to look around and relive some classic moment's from Randy's long time career, and Enjoy!</p>
    </td></tr></table></div>
    </body>
    </html>

    i have done all repairs you have adviced but there are still 32 errors and 3 warnings.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>MachoMan Madness</title>
    </head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <script type='text/javascript' src='scripts/jquery.js'></script>
    <script type='text/javascript' src='scripts/lightbox.js'></script>
    <link type='text/css' href='css/lightbox.css' rel='stylesheet'/>
    <link type='text/css' href='css/sample_lightbox_layout.css' rel='stylesheet'/>
    <style type="text/css">
    .lbGallery {
                                  /*gallery container settings*/
                                  background-color: #666666;
                                  padding-left: 20px; 
                                  padding-top: 20px; 
                                  padding-right: 20px; 
                                  padding-bottom: 20px; 
                                  width: 540px;
                                  height: auto;
                                  text-align:left;
                                  box-shadow: 10px 10px 10px black;
                                  border-radius: 20px;
                                  margin-left:auto;
                                  margin-right:auto;
                        .lbGallery ul { list-style: none; margin:0;padding:0; }
                        .lbGallery ul li { display: inline;margin:0;padding:0; }
                        .lbGallery ul li a{text-decoration:none;}
                        .lbGallery ul li a img {
                                  /*border color, width and margin for the images*/
                                  border-color: #ffffff;
                                  border-left-width: 10px;
                                  border-top-width: 10px;
                                  border-right-width: 10px;
                                  border-bottom-width: 20px;
                                  margin-left:5px;
                                  margin-right:5px;
                                  margin-top:5px;
                                  margin-bottom:5px:
                        .lbGallery ul li a:hover img {
                                  /*background color on hover*/
                                  border-color: #cccccc;
                                  border-left-width: 10px;
                                  border-top-width: 10px;
                                  border-right-width: 10px;
                                  border-bottom-width: 20px;
                        #lightbox-container-image-box {
                                  border-top: 2px solid #ffffff;
                                  border-right: 2px solid #ffffff;
                                  border-bottom: 2px solid #ffffff;
                                  border-left: 2px solid #ffffff;
                        #lightbox-container-image-data-box {
                                  border-top: 0px;
                                  border-right: 2px solid #ffffff;
                                  border-bottom: 2px solid #ffffff;
                                  border-left: 2px solid #ffffff;
    </style>
    <style type="text/css">
    <!--
    .index{
              margin:0px;
              padding:0px;
              border:0px;
              background-image:url(back.jpg);
              background-repeat:repeat-x;
              background-color: #f5f5f5;
    h1{
              margin:0px;
              padding:15px;
              background-color:#222;
              font-family: Verdana, Geneva, sans-serif;
              font-size: 20px;
              line-height: 25px;
              color: #c8c8c8;
              letter-spacing:-1px;
    h2{
              margin:0px;
              padding:10px;
              background-color:#333;
              font-family: Verdana, Geneva, sans-serif;
              font-size: 14px;
              line-height: 15px;
              color: #c8c8c8;
              letter-spacing:-1px;
    p {
              padding:3px;
              padding-top:0px;
              font-family: Verdana, Geneva, sans-serif;
              font-size: 13px;
              line-height: 20px;
              color: #777;
              text-align:justify;
    b, strong {color: #7fa0af;}
    em {color: #555;}
    u {color: #555;}
    a:link, a:visited, a:active {text-decoration:none;color: #ada295;}
    a:hover {text-decoration:none;color:#c8c8c8;}
    -->
    </style></head>
    <body class="index">
    <!-- Begin Table -->
    <table border="0" cellpadding="0" cellspacing="0" width="909" align="center">
    <tr>
    <td rowspan="1" colspan="3" width="909" height="166">
              <img name="a10" src="11_1x1.jpg" usemap="#11_1x1"  width="909" height="166" border="0" alt="" /></td>
    </tr>
    <tr>
    <td rowspan="1" colspan="1" width="54" height="320">
              <img name="a11" src="11_2x1.jpg" width="54" height="320" border="0" alt="" /></td>
    <td rowspan="1" colspan="1" width="796" height="320" background="11_2x2.jpg">
              <link rel="stylesheet" type="text/css" href="slides/style.css" />
              <style type="text/css">a#vlb{display:none}</style>
              <script type="text/javascript" src="slides/jquery.js"></script>
              <script type="text/javascript" src="slides/slider.js"></script>
              <div id="wowslider-container1">
              <div class="ws_images">
    <span><img src="slides/9.jpg" alt="" title="" id="wows0"/></span>
    <span><img src="slides/2.jpg" alt="" title="" id="wows1"/></span>
    <span><img src="slides/3.jpg" alt="" title="" id="wows2"/></span>
    <span><img src="slides/4.jpg" alt="" title="" id="wows3"/></span>
    <span><img src="slides/5.jpg" alt="" title="" id="wows4"/></span>
    <span><img src="slides/6.jpg" alt="" title="" id="wows5"/></span>
    <span><img src="slides/7.jpg" alt="" title="" id="wows6"/></span>
    <span><img src="slides/8.jpg" alt="" title="" id="wows7"/></span>
    <span><img src="slides/1.jpg" alt="" title="" id="wows8"/></span>
    </div>
    <div class="ws_bullets"><div>
    <a href="#wows0" title="">1</a>
    <a href="#wows1" title="">2</a>
    <a href="#wows2" title="">3</a>
    <a href="#wows3" title="">4</a>
    <a href="#wows4" title="">5</a>
    <a href="#wows5" title="">6</a>
    <a href="#wows6" title="">7</a>
    <a href="#wows7" title="">8</a>
    <a href="#wows8" title="">9</a>
    </div></div></div></div>
              <script type="text/javascript" src="slides/script.js"></script></td>
    <td rowspan="1" colspan="1" width="59" height="320">
              <img name="a13" src="11_2x3.jpg" width="59" height="320" border="0" alt="" /></td>
    </tr>
    <tr>
    <td rowspan="1" colspan="3" width="909" height="63">
              <img name="a14" src="11_3x1.jpg" width="909" height="63" border="0" alt="" /></td>
    </tr>
    </table>
    <!-- End Table -->
    <table width="840" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
       <td class="mainlink">
    <center>
    <!--drop down menu start HTML-->
    <link rel="stylesheet" type="text/css" href="ddlevelsfiles/ddlevelsmenu-base.css" />
    <link rel="stylesheet" type="text/css" href="ddlevelsfiles/ddlevelsmenu-topbar.css" />
    <link rel="stylesheet" type="text/css" href="ddlevelsfiles/ddlevelsmenu-sidebar.css" />
    <script type="text/javascript" src="ddlevelsfiles/ddlevelsmenu.js"></script>
    <div id="ddtopmenubar" class="mattblackmenu">
    <ul>
    <li><a target="main" href="index.html">Home</a></li>
    <li><a target="main" href="#" rel="ddsubmenu2">Biography</a></li>
    <li><a target="main" href="#" rel="ddsubmenu3">To Be Lead</a></li>
    <li><a target="main" href="#" rel="ddsubmenu4">Gallery</a></li>
    <li><a target="main" href="#">Videos</a></li>
    <li><a target="main" href="#">Memorial Page</a></li>
    <li><a target="main" href="#">Wallpaper</a></li>
    <li><a target="main" href="#">Blog</a></li>
    <li><a target="main" href="#">Join Us</a></li>
    <li><a target="main" href="#">Contact</a></li>
    </ul>
    </div>
    <script type="text/javascript">
    ddlevelsmenu.setup("ddtopmenubar", "topbar") //ddlevelsmenu.setup("mainmenuid", "topbar|sidebar")
    </script>
    <!--Biography HTML-->
    <ul id="ddsubmenu2" class="ddsubmenustyle">
    <li><a target="main" href="randy savage bio.html">Randy Savage Bio</a></li>
    <li><a target="main" href="Randy facts 101.html">Randy's Facts 101</a></li>
    <li><a target="main" href="his early career.html">His Early Career</a></li>
    <li><a target="main" href="Randys career in wwf.html">Randy's Career in the WWF</a></li>
    <li><a target="main" href="randys career wcw.html">Randy's Career in WCW</a></li>
    <li><a target="main" href="#">The Mega Powers </a>
      <ul>
      <li><a target="main" href="mega powers bio.html">Mega powers Bio</a></li>
      <li><a target="main" href="mega powers facts 101.html">Mega Powers Facts 101</a></li>
      </ul>
    </li>
    <li><a target="main" href="pm from randy.html">PM to fans & Elizabeth</a></li>
    <li><a target="main" href="#">Randy's Radio interview</a></li>
    <li><a target="main" href="#">His Death</a></li>
    </ul>
    <!--To be Lead HTML-->
    <ul id="ddsubmenu3" class="ddsubmenustyle">
    <li><a target="main" href="#">Elizabeth Hulette</a>
      <ul>
      <li><a target="main" href="#">Elizabeth Bio</a></li>
      <li><a target="main" href="#">Elizabeth Facts 101</a></li>
      <li><a target="main" href="#">Her Career in the WWF</a></li>
      <li><a target="main" href="#">Her Career in WCW</a></li>
      <li><a target="main" href="#">Later Life</a></li>
      <li><a target="main" href="#">Farewell to a Princess</a></li>
      <li><a target="main" href="#">Elizabeth's Radio Interview</a></li>
      <li><a target="main" href="#">Elizabeth Death</a></li>
      </ul>
    </li>
    <li><a target="main" href="#">Sherri Martel</a></li>
    <li><a target="main" href="#">Gorgeous George</a></li>
    <li><a target="main" href="#">Team Madness</a></li>
    </ul>
    <!--Photo Gallery HTML-->
    <ul id="ddsubmenu4" class="ddsubmenustyle">
    <li><a target="main" href="#">Early Years</a></li>
    <li><a target="main" href="#">ICW Gallery</a></li>
    <li><a target="main" href="#">WWF Gallery</a></li>
    <li><a target="main" href="#">WCW Gallery</a></li>
    <li><a target="main" href="#">NWO Gallery</a></li>
    </ul>
    <!--drop down menu end HTML-->
    </center>
    </td>
      </tr>
    </table>
    <br/><br/>
    <table width="840" border="0" cellspacing="0" cellpadding="0" align="center">
      <tr>
        <td>
        <!-- Start Page Content-->
    </head>
    <body>
        <map name="11_1x1" id="logo_11_1x1">
    <area shape="rect" coords="474,138,578,150" href="http://macho-madness.net" alt=""/>
    <area shape="rect" coords="606,136,712,150" href="mailto:[email protected]" alt=""/>
    <area shape="rect" coords="737,136,835,152" href="http://daxstudios.net" alt=""/>
    </map>
        <h1>Early Years Gallery</h1>
    <div id="gallery" class="lbGallery">
                                  <ul>
                                            <li>
                                                      <a href="images/11.jpg" title=""><img src="images/11_thumb.jpg" width="72" height="72" alt="Flower" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/16.jpg" title=""><img src="images/16_thumb.jpg" width="72" height="72" alt="Tree" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/17.jpg" title=""><img src="images/17_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/18.jpg" title=""><img src="images/18_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/19.jpg" title=""><img src="images/19_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                    <li>
                                                      <a href="images/20.jpg" title=""><img src="images/20_thumb.jpg" width="72" height="72" alt="Flower" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/22.jpg" title=""><img src="images/22_thumb.jpg" width="72" height="72" alt="Tree" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/23.jpg" title=""><img src="images/23_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/25.jpg" title=""><img src="images/25_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/27.jpg" title=""><img src="images/27_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                    <li>
                                                      <a href="images/29.jpg" title=""><img src="images/29_thumb.jpg" width="72" height="72" alt="Flower" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/30.jpg" title=""><img src="images/30_thumb.jpg" width="72" height="72" alt="Tree" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/31.jpg" title=""><img src="images/31_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/32.jpg" title=""><img src="images/32_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                                            <li>
                                                      <a href="images/images.jpg" title=""><img src="images/images_thumb.jpg" width="72" height="72" alt="" /></a>
                                            </li>
                    <li>
      </ul>
    </div>
    <script type="text/javascript">
    $(function(){
                                  $('#gallery a').lightBox({
                                            imageLoading:                              'images/lightbox/lightbox-ico-loading.gif',                    // (string) Path and the name of the loading icon
                                            imageBtnPrev:                              'images/lightbox/lightbox-btn-prev.gif',                              // (string) Path and the name of the prev button image
                                            imageBtnNext:                              'images/lightbox/lightbox-btn-next.gif',                              // (string) Path and the name of the next button image
                                            imageBtnClose:                              'images/lightbox/lightbox-btn-close.gif',                    // (string) Path and the name of the close btn
                                            imageBlank:                                        'images/lightbox/lightbox-blank.gif',                              // (string) Path and the name of a blank image (one pixel)
                                            fixedNavigation:                    true,                    // (boolean) Boolean that informs if the navigation (next and prev button) will be fixed or not in the interface.
                                            containerResizeSpeed:          400,                               // Specify the resize duration of container image. These number are miliseconds. 400 is default.
                                            overlayBgColor:                     "#cccccc",                    // (string) Background color to overlay; inform a hexadecimal value like: #RRGGBB. Where RR, GG, and BB are the hexadecimal values for the red, green, and blue values of the color.
                                            overlayOpacity:                              .6,                    // (integer) Opacity value to overlay; inform: 0.X. Where X are number from 0 to 9
                                            txtImage:                                        'Image',                                        //Default text of image
                                            txtOf:                                                  'of'
    </script>
        <div align="left"></div>
    </p>
        <!-- End Page Content-->
        </td>
      </tr>
    </table>
    <br/><br/><br/>
    <div style="background-color:#222;width:100%;"><br/>
    <table width="870" border="0" cellspacing="10" cellpadding="0" align="center">
      <tr>
       <td width="35%" valign="top">
    <h2>Site Disclaimer</h2>
    <p><strong>Macho-madness</strong> is in no way in contact with World Wrestling Entertainment. All photos are copyright to World Wrestling Entertainment or their respective owners and is being used under the fair copyright of Law 107.</p>
    <p><font color="#000000">&copy;macho-madness.net All right's Reserved.</font> </p>
       </div></td>
        <td width="35%" valign="top">
    <h2>Offical Links</h2>
    <div align="center">
      <table width="269" border="0">
        <tr>
          <td width="94"><div align="center"><a href="https://www.facebook.com/TheMadnessWillNeverBeForgotten"><img src="fb logo.jpg" width="94" height="87" alt="fb logo" longdesc="http://www.macho-madness.net" /></a></div></td>
          <td width="76"><div align="center"><a href="https://twitter.com/machomadnessnet"><img src="twitter logo.jpg" width="76" height="91" alt="twitter logo" longdesc="http://www.macho-madness.net" /></a></div></td>
          <td width="85"><div align="center"><a href="http://pinterest.com/machomadness/"><img src="pinterest logo.jpg" width="79" height="87" alt="pin logo" longdesc="http://www.macho-madness.net" /></a></div></td>
          </tr>
        <tr>
          <td><div align="center"><a href="https://vimeo.com/user13202435"><img src="vimeo.jpg" width="98" height="90" alt="vimeo" longdesc="http://www.macho-madness.net" /></a></div></td>
          <td><div align="center"><a href="http://www.youtube.com/user/mich0679"><img src="youtube logo.jpg" width="83" height="95" alt="youtube logo" longdesc="http://www.macho-madness.net" /></a></div></td>
          <td><div align="center"></div></td>
          </tr>
      </table>
    </div>
    </div></td><td width="29%" valign="top">
    <h2>About Us</h2>
    <p>Macho-madness.net is the  place for all things Randy Savage and is dedicated to the &quot;Memories of Randy Savage.&quot;  We hope you'll take some time to look around and relive some classic moment's from Randy's long time career, and Enjoy!</p>
    </td></tr></table></div>
    </body>
    </html>

  • I sign in tol my Firefox is out of date. did try to do the upgrade but did not work need help

    ''locking this thread as duplicate, please continue at [https://support.mozilla.org/en-US/questions/978554 /questions/978554]''
    I need help to get my sign in working. Need to upgrade?
    how to do that?
    <sub>edit: removed personal information for your protection. (philipp)</sub>

    I sign in told my Firefox is out of date. did try to do the upgrade but did not work. Need help
    Let me know how to get my sign in working

  • Ipod nano playlist not working need help plz

    my ipod nano playlist not working i'm a runner so i set my songs in the order i want them and for the last week they don't play in that order its random.it just skips around the playlist and is really anoyying. not sure what gen my nano is i got it in novber 2011. would love some help thanks

    iPod Tutorials
    iPod Repair Tutorials
    iTunes & iPod Hints & Tips
    iPod nano Troubleshooting Assistant
    iPod Troubleshooting Assistant

  • When I sign in told my firefox is out of date. I did try to do upgrade but did not work, need help

    I need help how to get my sign in working. Do I need to upgrade? If so I need to know how to upgrade.
    Thanks for help
    <sub>edit: removed personal information for your protection. (philipp)</sub>

    Please see https://support.mozilla.org/en-US/kb/websites-say-firefox-outdated-or-incompatible#w_firefox-is-showing-the-wrong-user-agent
    If you have Firefox 25.0.1 then your useagent is stuck at the older 3.6.17 version due to the (.NET CLR 3.5.30729) that was added on end at time.
    User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/'''3.6.17''' (.NET CLR 3.5.30729)

  • ALERT code not working, need help.

    Hello Everyone,
         i'm working in forms 10.1.2.0.2 and i have written some code to call an Alert when the user puts in an invalid number, however, the alert isn't poping up and the cursor will not move out of the field.  This is on a post-text script.
    basic:
    declare
      al_button number;
    al_id alert;
    begin
    i select 3 columns from a table based on input by the user.
    if the input is valid, then the form is populated.  This works no problem.
    however, when the following is not true, the cursor will not leave the field, but the alert will not pop up either.
    if v_nsn = nvl(t_rnsn, 0), then
    select the values and put them in the form.
    else  -- this is not working
    al_id := find_alert ('BAD_NSN_ALERT34');
    if Id_null(al_id) then
    message ('THE ALERT NAMED BAD_NSN_ALERT34 DOES NOT EXIST');
    RAISE FORM_TRIGGER_FAILURE;
    else
    al_button := SHOW_ALERT(al_id);
    if al_button = alert_button1 then
         ...DO SOMETHING;
    else al_button := show_alert (al_id);
    if al_button = alert_button2 then
    do something;
    end if;
    end if;
    end if;
    end if;
    end;

    Why are you using a Post-Text-Item trigger instead of a When-Validate-Item trigger?  How is your user leaving the field that this trigger is attached to?  If the user is mouse-clicking to leave the field - the Post-Text-Item trigger will not fire.  Take a look at the "Post-Text-Item trigger Restrictions" listed in the Forms Help system for this and other restrictions on using the Post-Text-Item trigger.
    Craig...

  • CSS Inherit Not Working (Need Help )

    Try as I might, I can't get the border style to inherit. I
    found the below code in published article and tried it.
    Unfortunately, it did not work as stated or as I would have
    predicted. Basically, I can't get border or any other non default
    inherited style to work. When I render the below html the 3rd
    paragraph starting with the words "You can...." do not have a
    border, either does the <a href>. Accoding to the article and
    my understanding of inheritance they should.
    Here is a link to the article.
    Original
    Article
    Any help would be greatly appreciated.
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    <html>
    <head>
    <title>CSS Structure</title>
    <style>
    div
    font-family: Arial;
    color: blue;
    font-size: .9em;
    border: 1px solid black;
    p
    border: inherit;
    a
    border: inherit;
    </style>
    </head>
    <body>
    <p> Information Technology (IT) has been the most
    famous and attractive field in the last 20 years and many students
    choose to study Computer Science and Information System which
    qualify them to work as Programmers, Developers, Database
    Administrators and Network Engineers.</p>
    <div> The <a href="
    http://www.w3.org">W3C website
    </a>
    contains specifications for web standards and it's very
    useful for web designers, developers and software architectures to
    navigate this website. For example, you have the CSS 2.1
    Specifications and the XHTML 1.0 Specifications discussing
    everything from A to Z about the technology<br>
    <p>You can use CSS with markup languages like HTML,
    XHTML and XML. All those markup languages and also CSS has
    Specifications as the <a href="
    http://www.w3.org">W3C
    website</a></p>
    </div>
    </body>
    </html>

    Sorry - I should have said that they don't inherit for
    shorthand borders, at
    least according to E. Meyer, but I can't get any border
    property to inherit
    either, not that I've ever wanted this to happen.....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "jerrythesurfer" <[email protected]> wrote
    in message
    news:[email protected]...
    > Try as I might, I can't get the border style to inherit.
    I found the
    > below
    > code in published article and tried it. Unfortunately,
    it did not work as
    > stated or as I would have predicted. Basically, I can't
    get border or any
    > other non default inherited style to work. When I render
    the below html
    > the 3rd
    > paragraph starting with the words "You can...." do not
    have a border,
    > either
    > does the <a href>. Accoding to the article and my
    understanding of
    > inheritance
    > they should.
    >
    > Here is a link to the article.
    >
    http://www.devarticles.com/c/a/Web-Style-Sheets/Learn-CSS-Introduction-to-Inheri
    > tance-Specificity-and-Cascade/3/
    >
    > Any help would be greatly appreciated.
    >
    > ----
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN">
    > <html>
    > <head>
    > <title>CSS Structure</title>
    > <style>
    > div
    > {
    > font-family: Arial;
    > color: blue;
    > font-size: .9em;
    > border: 1px solid black;
    > }
    > p
    > {
    > border: inherit;
    > }
    > a
    > {
    > border: inherit;
    > }
    >
    > </style>
    > </head>
    > <body>
    > <p> Information Technology (IT) has been the most
    famous and
    > attractive
    > field in the last 20 years and many students choose to
    study Computer
    > Science
    > and Information System which qualify them to work as
    Programmers,
    > Developers,
    > Database Administrators and Network Engineers.</p>
    > <div> The <a href="
    http://www.w3.org">W3C website
    </a>
    > contains specifications for web standards and it's very
    useful for web
    > designers, developers and software architectures to
    navigate this website.
    > For
    > example, you have the CSS 2.1 Specifications and the
    XHTML 1.0
    > Specifications
    > discussing everything from A to Z about the
    technology<br>
    > <p>You can use CSS with markup languages like
    HTML, XHTML and XML. All
    > those markup languages and also CSS has Specifications
    as the <a
    > href="
    http://www.w3.org">W3C
    website</a></p>
    > </div>
    > </body>
    > </html>
    >

  • Ip SLA failover config not working need help urgent cisco 2911 K9 router

    Hi,
    I am setting up failover wan for one of my cient and seems everything i have configured correctly but its not working. For track i am using google DNS ip 8.8.8.8 and 8.8.4.4 where if i ping 8.8.8.8 from router it pings but not 8.8.4.4. I I think because 8.8.4.4 no pinging so router does not jump if primary gigabitethernet0/0 down.
    Not sure what i am doing wrong. Please find below config details:
    -------------------------------------------config-----
    username admin privilege 15 password 7 XXXXX
    redundancy
    track 10 ip sla 1 reachability
     delay down 5 up 5
    track 20 ip sla 2 reachability
     delay down 5 up 5
    interface GigabitEthernet0/0
     ip address 122.160.79.18 255.0.0.0
     ip nat outside
     ip virtual-reassembly
     duplex auto
     speed auto
    interface GigabitEthernet0/1
     ip address 182.71.34.71 255.255.255.248
    ip nat outside
     ip virtual-reassembly
     duplex auto
     speed auto
    interface GigabitEthernet0/2
     description $ES_LAN$
     ip address 200.200.201.1 255.255.255.0
     ip nat inside
     ip virtual-reassembly
     duplex auto
     speed auto
    ip forward-protocol nd
    no ip http server
    no ip http secure-server
    ip nat inside source route-map giga0 interface GigabitEthernet0/0 overload
    ip nat inside source route-map giga0 interface GigabitEthernet0/0 overload
    ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0 track 10
    ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/1 track 20
    ip route 8.8.4.4 255.255.255.255 GigabitEthernet0/1 permanent
    ip route 8.8.8.8 255.255.255.255 GigabitEthernet0/0 permanent
    ip sla 1  
     icmp-echo 8.8.8.8 source-interface GigabitEthernet0/0
     frequency 10
    ip sla schedule 1 life forever start-time now
    ip sla 2  
     icmp-echo 8.8.4.4 source-interface GigabitEthernet0/1
     frequency 10
    ip sla schedule 2 life forever start-time now
    access-list 100 permit ip any any
    access-list 101 permit ip any any
    route-map giga0 permit 10
     match ip address 100
     match interface GigabitEthernet0/0
    route-map giga1 permit 10
     match ip address 101
     match interface GigabitEthernet0/1
    control-plane
    ------------------------------------------config end

    Hello,
    as Richard Burts state correct the nat configuration is not right. But the ICMP echo request for the IP SLA is traffic, which is generated from the router with a source-interface specified. There shouldn't be any NAT operation at all, or? Iam using IP SLA  for two WAN connections too, but I can't recall  ever seen an entry for the icmp operation in the output of sh ip nat trans.
    To me the static route configuration looks wrong too. As far as I remember it's necessary to specify a next-hop address (Subnet/mask via x.x.x.x) on Multiple Access Broadcast Networks like ethernet, otherwise the Subnet appears as directly connected on the routing table. The configuration "ip route subnet mask <outgoing interface> only works correct for p2p links. With the configuration above i would say there is no routing at all possible except for "real" direct attached networks. Vibs said it's possible to reach the google dns 8.8.8.8 but not the second one 8.8.4.4. I verified that 8.8.4.4 usually answers to ICMP echo-request.
    My guess is that the next hop for the gig 0/0 interface has proxy arp enabled but the next hop for the gig0/1 interface hasn't proxy arp turned on.
    kind regards
    Lukasz

  • Java not working, need help from the pros!!!

    Whenever i go to a website that uses java (like runescape), the window that has the java is all white screen and on the top left side there is a little sheet of paper with a folded corner with a red X on it.
    Java doesn't work, please i need help!
    i am sure i have the current version
    i think it may have something to do with a failed classloader (maybe)

    when i click on the red X, and go java consol, this is that appears:
    +Java Plug-in 1.5.0+
    +Using JRE version 1.5.0_13 Java HotSpot(TM) Client VM+
    +User home directory = /Users/***********+
    +c: clear console window+
    +f: finalize objects on finalization queue+
    +g: garbage collect+
    +h: display this help message+
    +l: dump classloader list+
    +m: print memory usage+
    +o: trigger logging+
    +p: reload proxy configuration+
    +q: hide console+
    +r: reload policy configuration+
    +s: dump system and deployment properties+
    +t: dump thread list+
    +v: dump thread stack+
    +x: clear classloader cache+
    +0-5: set trace level to <n>+

  • TACACS not working - Need help

    Hi,
    I have implemented the TACACS in VPN VRF environment but the same is not working, I am not able to route the ACS servers IP's through the VRF-VPN.
    Configuration pasted below
    aaa authentication login default group tacacs+ line
    aaa authentication login no_tacacs line
    aaa authorization exec default group tacacs+ if-authenticated
    aaa authorization commands 0 default group tacacs+ if-authenticated
    aaa authorization commands 1 default group tacacs+ if-authenticated
    aaa authorization commands 15 default group tacacs+ if-authenticated
    aaa accounting exec default start-stop group tacacs+
    aaa accounting commands 0 default start-stop group tacacs+
    aaa accounting commands 1 default start-stop group tacacs+
    aaa accounting commands 15 default start-stop group tacacs+
    aaa accounting network default start-stop group tacacs+
    ip tacacs source-interface VLAN1
    tacacs-server host X.X.X.X
    tacacs-server host 10.10.10.4
    tacacs-server key 7 ####################333
    tacacs-server administration
    aaa group server tacacs+ tacacs1
    server-private 10.10.10.4 key ############
    ip vrf forwarding LAN
    ip tacacs source-interface VLAN1

    Hi sorry for late reply.
    Please find below the logs from the router
    Feb 12 14:10:28.748: AAA/ACCT/CMD(000000B9): free_rec, count 2
    Feb 12 14:10:28.748: AAA/ACCT/CMD(000000B9): Setting session id 283 : db=846968EC
    Feb 12 14:10:28.748: AAA/ACCT(000000B9): Accouting method=tacacs+ (TACACS+)
    Feb 12 14:10:35.450: AAA/BIND(000000BA): Bind i/f
    Feb 12 14:10:35.450: AAA/ACCT/EVENT/(000000BA): CALL START
    Feb 12 14:10:35.450: Getting session id for NET(000000BA) : db=83E3E3B0
    Feb 12 14:10:35.450: AAA/ACCT(00000000): add node, session 284
    Feb 12 14:10:35.450: AAA/ACCT/NET(000000BA): add, count 1
    Feb 12 14:10:35.450: Getting session id for NONE(000000BA) : db=83E3E3B0
    Feb 12 14:10:36.014: AAA/AUTHEN/LOGIN (000000BA): Pick method list 'default'
    Feb 12 14:10:38.749: AAA/ACCT/CMD(000000B9): STOP protocol reply FAIL
    Feb 12 14:10:38.749: AAA/ACCT(000000B9): Accouting method=NOT_SET
    Feb 12 14:10:38.749: AAA/ACCT(000000B9): Send STOP accounting notification to EM successfully
    Feb 12 14:10:38.749: AAA/ACCT/CMD(000000B9): Tried all the methods, osr 0
    Feb 12 14:10:38.749: AAA/ACCT/CMD(000000B9) Record not present
    Feb 12 14:10:38.749: AAA/ACCT/CMD(000000B9) reccnt 2, csr FALSE, osr 0
    Feb 12 14:10:46.011: AAA/AUTHEN/LINE(000000BA): GET_PASSWORD
    Feb 12 14:11:14.326: AAA/AUTHOR: config command authorization not enabled
    Feb 12 14:11:14.326: AAA/ACCT/CMD(000000B9): Pick method list 'default'
    Feb 12 14:11:14.326: AAA/ACCT/SETMLIST(000000B9): Handle 0, mlist 83E2FF8C, Name default
    Feb 12 14:11:14.330: Getting session id for CMD(000000B9) : db=846968EC
    Feb 12 14:11:14.330: AAA/ACCT/CMD(000000B9): add, count 3
    Feb 12 14:11:14.330: AAA/ACCT/EVENT/(000000B9): COMMAND
    Feb 12 14:11:14.330: AAA/ACCT/CMD(000000B9): Queueing record is COMMAND osr 1
    Feb 12 14:11:14.330: AAA/ACCT/CMD(000000B9): free_rec, count 2
    Feb 12 14:11:14.330: AAA/ACCT/CMD(000000B9): Setting session id 285 : db=846968EC
    Feb 12 14:11:14.330: AAA/ACCT(000000B9): Accouting method=tacacs+ (TACACS+)
    Feb 12 14:11:16.642: AAA/ACCT/EXEC(000000BA): Pick method list 'default'
    Feb 12 14:11:16.642: AAA/ACCT/SETMLIST(000000BA): Handle 0, mlist 83E2FEEC, Name default
    Feb 12 14:11:16.642: Getting session id for EXEC(000000BA) : db=83E3E3B0
    Feb 12 14:11:16.642: AAA/ACCT(000000BA): add common node to avl failed
    Feb 12 14:11:16.642: AAA/ACCT/EXEC(000000BA): add, count 2
    Feb 12 14:11:16.642: AAA/ACCT/EVENT/(000000BA): EXEC DOWN
    Feb 12 14:11:16.642: AAA/ACCT/EXEC(000000BA): Accounting record not sent
    Feb 12 14:11:16.642: AAA/ACCT/EXEC(000000BA): free_rec, count 1
    Feb 12 14:11:16.642: AAA/ACCT/EXEC(000000BA) reccnt 1, csr FALSE, osr 0
    Feb 12 14:11:18.425: AAA/AUTHOR: config command authorization not enabled
    Feb 12 14:11:18.425: AAA/ACCT/243(000000B9): Pick method list 'default'
    Feb 12 14:11:18.425: AAA/ACCT/SETMLIST(000000B9): Handle 0, mlist 83144FF8, Name default
    Feb 12 14:11:18.425: Getting session id for CMD(000000B9) : db=846968EC
    Feb 12 14:11:18.425: AAA/ACCT/CMD(000000B9): add, count 3
    Feb 12 14:11:18.425: AAA/ACCT/EVENT/(000000B9): COMMAND
    Feb 12 14:11:18.425: AAA/ACCT/CMD(000000B9): Queueing record is COMMAND osr 2
    Feb 12 14:11:18.425: AAA/ACCT/CMD(000000B9): free_rec, count 2
    Feb 12 14:11:18.425: AAA/ACCT/CMD(000000B9): Setting session id 286 : db=846968EC
    Feb 12 14:11:18.429: AAA/ACCT(000000B9): Accouting method=tacacs+ (TACACS+)
    Feb 12 14:11:18.649: AAA/ACCT/EVENT/(000000BA): CALL STOP
    Feb 12 14:11:18.649: AAA/ACCT/CALL STOP(000000BA): Sending stop requests
    Feb 12 14:11:18.649: AAA/ACCT(000000BA): Send all stops
    Feb 12 14:11:18.649: AAA/ACCT/NET(000000BA): STOP
    Feb 12 14:11:18.649: AAA/ACCT/NET(000000BA): Method list not found
    Feb 12 14:11:18.649: AAA/ACCT(000000BA): del node, session 284
    Feb 12 14:11:18.649: AAA/ACCT/NET(000000BA): free_rec, count 0
    Feb 12 14:11:18.649: AAA/ACCT/NET(000000BA) reccnt 0, csr TRUE, osr 0
    Feb 12 14:11:18.649: AAA/ACCT/NET(000000BA): Last rec in db, intf not enqueued

  • Page Access Not working - Need help immediately

    Hey,
    I am having a major problem. All of a sudden One of my pages (accessible from the NavBar) will not allow anyone to access it, unless they have a role granted to them of administration. It gives a page not found error. This started for no reason and I am unsure as to why this is happening. Can someone please help me out?
    Thanks,
    Scott

    Nevermind..... I thought it was an htmldb problem. Apparently, we had a session going on that was blocking all non-admins. Problem fixed.

  • IEPG Titan tv not working ,Need help please

    I recently installed MSI tv@nywhere Master into a new Dell XPS system, using all the latest drivers, and programs avaliable on MSI's website, i'm happy to say that everything worked well except for the EPG.
       When I click on a program to record, a box opens up asking for an IP address, whether or not I supply the address the project apears in the schedual but the program does not start.
      After the project was supposed to start, if I open MSIPVS a box opens saying that the server is using the program, and I need to change modes to use it???
      I'm stumped. Any help will be welcome.

    It sounds like you've turned on some Universal Access features.
    (The clue was the black line around selected text boxes.)
    If you have volume turned up, you may hear the system voice speaking the text in the black outlined boxes.
    You can turn the various Universal Access features on/off in System Preferences, System, Universal Access.
    It's also possible to enable/disable various keyboard shortcuts in System Preferences, Hardware, Keyboard & Mouse.

  • Adobe flash player not working- need help urgently

    Hi
    I hope somebody would help me
    I have windows vista home premium, where few months back when I was using the computer it came for a message requesting me to upgrade my adobe flash player to version 10. which I did and its the biggest mistake
    Eversince then I cannot access any videos and the some audios as well.
    where  I visited adobe website and followed the instructions to uninstall the flashplayer and reinstalling,
    but nothing worked so far, hence I'm unable to view y-tube or any other related videos at all.
    I checked the files in c:\windows\system32\macromed\flash and I have only below mentioned two files
    flash10e.ocx
    flashutil10e
    If somebody could help me on it I would truly appreciate it as I need the flash player urgently for my work.
    cheers
    Himali

    Hi Himali,
    Thanks for the info. Following is the information you need to do. Download and SAVE to your Desktop the Adobe Uninstaller: http://kb2.adobe.com/cps/141/tn_14157.html Select the one for Windows.
    Then you will download and SAVE this Installer to your Desktop:
    http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_ax.exe
    After you have done that, then you need to follow these steps.
    1. Disconnect from the Internet
    2. Right click on the Trend Micro icon in your system tray and disable/turn off the Anti-Virus and the Firewall
    3. Check the system tray (that area by the clock) for any icons(applications) that use Flash and disable them.
    4. Go to Tools, and click on Internet Options. Click on the Security Tab and set it to Medium for the Internet Zone.
    5. Close all browsers so you are only looking at your Desktop
    6. Click on the Uninstaller on your Desktop and RUN it. When it is finished, Reboot(restart) your computer. When it is fully
    rebooted, then Reboot again. This is needed to make sure all old Flash files are removed.
    7. Now you will check Trend Micro and the Firewall to make sure it is still disabled. If it isn't, then disable both again.
    8. Click on the Installer on your Desktop and RUN. When finished, Reboot Once.
    9. Check Trend Micro and enable it and the Firewall now.
    10. Re-connect back to the Internet.
    Go here to the Adobe test site: http://www.adobe.com/products/flash/about
    You may want to print these instructions out to make it easier for you to follow. If you have any questions before you start, please ask.
    After you are finished, post back your test results and I will give you some info to check your Flash files.
    Thanks,
    eidnolb

  • Success_URL in web.xml not working - Need help

    Hi:
    I developed my whole application in Jdeveloper 10.1.3.2 and all the security are done through custom module. Everything is working fine except one of the part that is success_url in web.xml.
    1. There are total 10 pages in my application independent of each other.
    2. I configured the custom login procedure and it is working fine.
    3. From Jdeveloper if I run any page (i.e. one of 10 pages) it is prompting me to login and after login it is redirecting to the page I ran.
    My issue is that after the login is completed as in step 3, I want the page to be redirected to predefined page called UserResp.jspx. I don't want to redirect to the page from where the login page was called. As per the notes in the ADF document, I configured the success_url in the adfAuthentication servlet as below. But after login it is not redirecting to the success_url but it is redirecting to the page from where the login was prompted.
    Do I need to perform any other step for this success_url to work. Could you please guide.
    Below is the details of my web.xml.
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>Empty web.xml file for Web Application</description>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/efile-faces-config.xml</param-value>
    </context-param>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>userinterface.DataBindings</param-value>
    </context-param>
    <context-param>
    <param-name>oracle.adf.view.faces.CHECK_FILE_MODIFICATION</param-name>
    <param-value>false</param-value>
    </context-param>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>REQUEST</dispatcher>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>adfAuthentication</servlet-name>
    <servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
    <init-param>
    <param-name>success_url</param-name>
    <param-value>faces/app/user/UserResp.jspx</param-value>
    </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet>
    <servlet-name>UploadMultiFileServlet</servlet-name>
    <servlet-class>oracle.apps.xxcust.servlet.UploadMultiFileServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>UploadMultiFileServlet</servlet-name>
    <url-pattern>/UploadMultiFileServlet</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>adfAuthentication</servlet-name>
    <url-pattern>/adfAuthentication/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <jsp-config/>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>All Pages</web-resource-name>
    <url-pattern>faces/app/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>ADMIN</role-name>
    <role-name>MANAGER</role-name>
    <role-name>USER</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>/Login.jsp</form-login-page>
    <form-error-page>/Login.jsp</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <role-name>ADMIN</role-name>
    </security-role>
    <security-role>
    <role-name>MANAGER</role-name>
    </security-role>
    <security-role>
    <role-name>USER</role-name>
    </security-role>
    </web-app>

    Hi All:
    Thanks for all your help regarding the adfAuthentication success_url. Now I am able to configure to make this work. But now I am facing another issue i.e. I am getting 401 Not authorized message when the success_url is pointed to the jspx page.
    Note: I am using custom login module similar to DBProcOraDataSourceLoginModule so my roles are stored in the custom Role class. So I am not sure how to pass this role info to the security in ADF in order to authorize the page to be viewed.
    Could you please help and can you point me to any specific link.
    Thanks & Regards
    Sridhar Doki

  • Customer Exit not working - need help in diagnosing

    Hi all,
    I need some help in identifying a Customer Exit issue in our QA system. 
    Currently, in Dev I have a customer exit defined and everything works perfectly.  However, the same code which was migrated to QA works fine when testing at the FM level but not when executing at the report level.  I tried inserting a breakpoint and executing the report, however the breakpoint never populates.  There seems to be a communication issue here.  When executing the report the variable does not call the customer exit FM/program. 
    How do you diagnose this problem?  Is this a BASIS issue?
    I tried testing the query in RSRT and I run into the same issue of nothing happening.  I tried deleting the variable and recreating with only the same results. 
    Is there a config or setting that is related to the customer exit functionality within BW?
    Also, when transporting the customer exit code I did not migrate the FM along with the Include.  Is there a proper way to migrate this?
    Thanks,
    DC

    Thanks for your response.
    I did double check the variable name to be exact.  I think the issue maybe related to the project not being activated.  I will update as I diagnose the problem.
    Thanks

Maybe you are looking for