Depreciated "center" tag - alternatives?

Hi all
I'm trying to centre three images in a div [thats all three
images are in
one div] and it works beautifully using div align=center BUT
it doesn't
validate because the center tag is depreciated.
Do you know how I can centre these images using "legal"
markup?
The page in question is www.patriotsarms.co.uk/headerMain.php
and the images
are the three icons on the top right.
The site is a work in progress so be gentle with me
Thanks
Judi

Thanks! Perfect. It works. I didn't realise you could use the
text-align
property to align images.....
Thanks again
Judi
"Nancy *ACE*" <[email protected]> wrote in message
news:e2ogm0$d3f$[email protected]..
> set the CSS on the div to text-align:center
>
>
> --
> Nancy Gill
> Adobe Community Expert
> BLOG:
http://www.dmxwishes.com/blog.asp
> Author: Dreamweaver 8 e-book for the DMX Zone
> Co-Author: Dreamweaver MX: Instant Troubleshooter
(August, 2003)
> Technical Editor: DMX 2004: The Complete Reference, DMX
2004: A
> Beginner's
> Guide, Mastering Macromedia Contribute
> Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced
PHP Web
> Development
>
>
> "Judith Kruger" <[email protected]> wrote in
message
> news:e2ofui$c2q$[email protected]..
>> Hi all
>>
>> I'm trying to centre three images in a div [thats
all three images are in
>> one div] and it works beautifully using div
align=center BUT it doesn't
>> validate because the center tag is depreciated.
>>
>> Do you know how I can centre these images using
"legal" markup?
>>
>> The page in question is
www.patriotsarms.co.uk/headerMain.php and the
>> images are the three icons on the top right.
>>
>> The site is a work in progress so be gentle with me
>>
>> Thanks
>> Judi
>>
>
>

Similar Messages

  • center /center tag

    Hello All,
    I would like to modify HTML code to show report in middle. I am looking for where I can put <center></center> tag in the APEX.
    Thanks in advance,
    Sam

    Hi Sam,
    You can modify your report template as you like. Remember if you change the template it will reflect in all other pages as it uses the template globally. Go to the edit page, in the right section of the page under the template click on the report template that you want to edit -
    Add
    <center>tag before the following table tag in Before each row section.
    >
    <table cellpadding="0" border="0" cellspacing="0" summary="">
    #TOP_PAGINATION#
    <tr>
    <td><table cellpadding="0" border="0" cellspacing="0" summary="" class="t6standardalternatingrowcolors">
    >
    add
    </center>after Rows section
    Hope this helps,
    Regards,
    M Tajuddin
    web: http://tajuddin.whitepagesbd.com

  • IE Disregards CENTER Tag

    Hello friends,
    I have an interesting problem.
    I am using DW CS3. I have created a website which seems to be fine. However one page when viewed with IE loses its (centering attributes) - CENTER and appears as a LEFT JUSTIFIED. This is (oddly enough), the only page in five that I did not slice, (Illustrator). Reason; -I had to write some CSS to accommodate an online form.
    The other thing I am trying to remedy is the last two navigation buttons; FILE SPECS & F.A.Q. and REQUEST A QUOTE, are losing their CENTER attributes as well. For some reason they are JUSTIFY LEFT. I have been all through the coding and am still stuck. All seems to be fine when viewed with Fire Fox, but for some reason these two issues are occurring with IE.
    If anyone can lend a hand or point me toward an area to investigate, I would be very grateful hearing from you.
    I have inserted the code below.
    Many thanks in advance for your time, effort and any assistance you can offer.
    David
    CODE_______________________
    <html>
    <head>
    <title>RequestQuote</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--
    .container {
        height: 720px;
        width: 1080px;
        background-image: url(requote.jpg);
        margin-right: auto;
        margin-left: auto;
        margin-top: 20px;
    .email {
        font-family: "Times New Roman";
        font-size: 21px;
        font-style: italic;
        color: #A39161;
        height: 30px;
        width: 308px;
        font-weight: lighter;
        top: 105px;
        position: relative;
        margin-left: 735px;
        text-align: right;
        text-decoration: none;
    .elink {
        font-family: "Times New Roman";
        font-size: 20px;
        font-weight: lighter;
        color: #A39161;
        text-decoration: none;
    .nav {
        height: 230px;
        width: 195px;
        margin-left: 25px;
        top: 150px;
        position: relative;
    .form {
        height: 460px;
        width: 800px;
        margin-right: auto;
        margin-left: 260px;
        font-family: Arial;
        font-size: 14px;
        color: #6D6D6F;
        font-weight: bold;
        position: relative;
    .spacer {
        background-color: #00CC33;
        height: 50px;
        width: 100px;
        position: relative;
    .home {
        height: 46px;
        width: 173px;
        margin-right: auto;
        margin-left: auto;
    .prod {
        height: 46px;
        width: 173px;
        margin-right: auto;
        margin-left: auto;
    .grapdes {
        height: 46px;
        width: 173px;
        margin-right: auto;
        margin-left: auto;
    .filespecs {
        height: 46px;
        width: 173px;
        margin-right: auto;
        margin-left: auto;
    .requote {
        height: 46px;
        width: 173px;
        margin-right: auto;
        margin-left: auto;
    .style1 {
        color: #6D6D6F;
        font-family: Arial;
        font-size: 14px;
        font-weight: bold;
    -->
    </style>
    </head>
    <body bgcolor="#B7A984" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <div class="container">
      <div class="email"><a href="mailto:[email protected]" class="elink"> [email protected]</a></div>
      <div class="nav">
        <div align="center">
          <div class="home"><a href="http://www.expressprintingservice.ca/"><img src="http://www.expressprintingservice.ca/images/homebut.gif" alt="home" width="173" height="46" border="0"></a></div>
          <div class="prod"><a href="http://www.expressprintingservice.ca/prodserv.html"><img src="http://www.expressprintingservice.ca/images/prodserbut.gif" alt="products / services" width="173" height="46" border="0"></a></div>
          <div class="grapdes"><a href="http://www.expressprintingservice.ca/grapdes.html"><img src="http://www.expressprintingservice.ca/images/grapdesbut.gif" alt="graphic design" width="173" height="46" border="0"></a></div>
        </div>
          <div class="filespecs">
            <div align="center"><a href="http://www.expressprintingservice.ca/filespecs.html"><img src="http://www.expressprintingservice.ca/images/filespecbut.gif" alt="file specs / faq" width="173" height="46" border="0"></a></div>
          </div>
          <div class="requote">
            <div align="center"><a href="http://www.expressprintingservice.ca/requote.html"><img src="http://www.expressprintingservice.ca/images/requotebut.gif" alt="request a quote" width="173" height="46" border="0"></a></div>
          </div>
      </div>
      <div class="form"><form name="form1" method="post" action="../../requestquote.php">
          <label for="contactname">Contact Name:</label>
          <input name="contactname" type="text" id="contactname" size="50">
          <label for="phone">Phone:</label>
          <input name="phone" type="text" id="phone" size="30">
          <br>
          <br>
          <label for="companyname">Company Name:</label>
          <input name="companyname" type="text" id="companyname" size="48">
          <label for="fax">Fax:</label>
             <input name="fax" type="text" id="fax" size="30">
             <br>
             <br>
          <label for="email"> Email: </label>
          <input name="email" type="text" id="email" size="59">
             <br>
             <br>
             Please contact me via:
             <input type="radio" name="RadioGroup1" value="Email" id="RadioGroup1">
            Email
            <input type="radio" name="RadioGroup1" value="Phone" id="RadioGroup1">
            Phone
            <input type="radio" name="RadioGroup1" value="Fax" id="RadioGroup1">
    Fax<br>
    <br>
    <label></label>
    <label for="contact"></label>
    <label></label>
    <span class="style1">Product:</span>
    <select name="prod2" id="prod2">
      <option selected>Please Choose</option>
      <option>Brochures</option>
      <option>Business Cards</option>
      <option>Cheques</option>
      <option>Envelopes</option>
      <option>Forms</option>
      <option>Flyers</option>
      <option>Labels</option>
      <option>Letterhead</option>
      <option>Memo / Note Pads</option>
      <option>Newsletters</option>
      <option>Post Cards 4 X 6</option>
      <option>Post Cards 5 X 7</option>
      <option>Presentation Folders</option>
      <option>Rack Cards</option>
      <option>Rubber Stamps</option>
      <option>Self-Inking Stamps</option>
      <option>Tickets</option>
      <option>Wedding Invitations</option>
    </select>
        <label for="label2" class="style1">Services: </label>
    <select name="serv2" id="label2">
       <option selected>Please Choose</option>
       <option>Full Colour Copying</option>
       <option>Black and White Copying</option>
       <option>Receiving Faxes</option>
       <option>Sending Faxes</option>
       <option>Corner Rounding (3/8&quot;)</option>
       <option>Cerlox Binding</option>
       <option>Wiro Binding</option>
    </select>
         <label for="label3" class="style1">Other: </label>
      <input name="oth2" type="text" id="label3" value="" size="34">
      <br>
          <br>
          <label for="quantity">Quantity:</label>
          <input name="quantity" type="text" id="quantity" size="56">
          <br>
          <br>
          <label for="sides">Sides:</label>
          <select name="sides" id="sides">
            <option>Please Choose</option>
            <option>Single Sided</option>
            <option>Double Sided</option>
          </select>
          <label for="finishedsize">Finished Size:</label>
          <input name="finishedsize" type="text" id="finishedsize" size="20">
          <label for="inkcol">Ink Colour:</label>
            <select name="inkcol" id="inkcol">
            <option>Please Choose</option>
            <option>Black</option>
            <option>Reflex Blue</option>
            <option>Process Blue</option>
            <option>Ivy Mint Green</option>
            <option>Forest Green</option>
            <option>Red</option>
            <option>Brown</option>
            <option>Burgundy</option>
            <option>PMS</option>
            <option>Full Colour</option>
          </select>
          <br>
          <br>
          <label for="bind">Bindery Needed:</label>
          <input type="text" name="bind" id="bind">
            ex. padded in 50's, folded, scored / perfed, etc.<br>
          <br>
          <label></label>
          <label> Artwork Required:
          <input type="radio" name="RadioGroup2" value="Yes" id="Artwork Required">
          Yes</label>
          <label>
    <input type="radio" name="RadioGroup2" value="No" id="Artwork Required2">     
    No</label>
          <label for="artwork"><span class="style1">(If artwork is supplied, please indicate program used)</span></label>
          <input name="artwork" type="text" id="artwork" size="22">
          <br>
          <br>
          Additional Information:<br>
          <label for="additinfo"></label>
          <textarea name="additinfo2" id="label" cols="75" rows="2"></textarea>
          <label for="submit"></label>
          <br>
          <input type="submit" name="submit" id="submit" value="Submit">
      </form>
      </div>
    </div>
      </div>
    </body>
    </html>

    Hello Murray,
    How can I thank you?
    My gosh worked like a charm. After studying the code for hours yesterday how coud I have missed that?
    You know, I am the sort of person who likes to understand why these little things happen.
    I wonder why the devil a DOCTYPE was not automatically generated?
    In any case that is a question I will have to research.
    Thank you again Murray.
    VERY much appreciated indeed!

  • Logitech Control Center (LCC) alternative?

    Hi,
    I'm planning to buy the expensive Performance MX M950 mouse, but I wonder if I'll be able to program its several buttons using any other software than LCC, which is quite unstable and has several known issues.
    Are there any other lightweight, snow-leopard compatible alternatives to LCC using which I can program my mouse buttons? I already use SteerMouse, will what work with M950, any other app?
    Thanks in advance for your help.

    Yes, I can uninstall UO but I can't return a $80 mouse (in my country). It'd be practically useless if UO doesn't support it.
    Anyone here who use performance MX with UsbOverdrive?

  • IFrame tag alternative

    Hello,
    If I need to display contents of another http url like www.yahoo.com in a Portlet, is there a BEA portal specific alternative to IFrame? Since IFrame is not JSR168 compliant.
    Thanks in advance!
    <IFRAME SRC="http://www.yahoo.com" height="400" width="100%">
    </iframe>
    -Shashi
    Bearingpoint.

    Hi
    AFAIK , if the server is WSRP compliant , use remote portlets
    otherwise use something like
    http://www.bea.com/framework.jsp?CNT=index.htm&FP=/content/products/third/kapow/
    (i.e. glorified screen scrapers)
    There is also a proxy servlet that comes with BEA you can use
    regards
    deepak

  • GetStringCellValue() is depreciated .. any alternatives ?

    Sorry if i am posting this in a wrong location ,
    I am using Apache POI framework for converting an excel document to XML
    i am using the following classes
    import org.apache.poi.hssf.usermodel.HSSFRow;
    import org.apache.poi.hssf.usermodel.HSSFSheet;
    import org.apache.poi.hssf.usermodel.HSSFWorkbook;I am getting a row value as shown below
    HSSFRow row1 = spreadsheet.getRow(1);
                                  Element revenueElement1 = document.createElement("title");
                                  startElement.appendChild(revenueElement1);
                                  String Value1=row1.getCell((short)1).getStringCellValue();
                                  revenueElement1.appendChild(document.createTextNode(Value1));But the getStringCellValue(); function is showing depreciated in eclipse .. can any one please suggest any other way to get the string value of a cell ?

    Please look at the documentation
    getStringCellValue
    public java.lang.String getStringCellValue()
    Deprecated. Use the HSSFRichTextString return
    get the value of the cell as a string - for numeric cells we throw an exception. For blank cells we return an empty string. For formulaCells that are not string Formulas, we return empty String
    http://poi.apache.org/apidocs/index.html

  • How to center flash movie in browser window

    Can anyone explain how to horizontally center my Flash movie in the web browser window after publishing?
    A bit of background:
    I was able to achieve this using <center></center> tags a few years ago. But I have since upgraded to CS5 and I understand that this old method is now obsolete.
    I have found a few threads/forums that address this, but I know nothing about HTML and these threads don't help me because they assume you have more knowledge than I possess. When opening up the index.html file in Dreamweaver I can't find anything that looks vaguely familiar to what is being discussed. I have found some code samples using <div></div> tags but have no idea where to place it.
    So I will need it explained to me in a step by step fashion, including which file I need to fix and what program I should use. Code samples will be very welcome if you can tell me exactly where it goes.
    Thanks in advance...

    Just realized that there is no scrolling functionality with the .swf generated from the new CS5. Can anyone help out by providing revised code for centering and scrolling?
    I found something elsewhere in the forums that worked for both centering and scrolling that worked fine yesterday, but upon visiting my site today for testing, it did not allow the scrolling, and centering did not work in Firefox. Tested both Safari and Firefox on 2 Macs running Snow Leopard.
    Again, much appreciated - nice to visit forums where people are interested in helping instead of screaming at each other. Will visit the Illustrator or Indesign forum to see if I can help out someone there...

  • How to center a button in a sidebar region

    Unfortunately, position options for buttons only include left and right. If I want to center buttons in a sidebar region, how might that be done?
    It's easy in firebug to modify <td align="left"> to <td align="center"> which fixes everything, but I'm not sure how this might be overridden in apex.
    I've attempted putting center tags in the header/footer of the sidebar region and some stylesheet options (I'm a stylesheet beginner so who knows...) but I've not had any luck.
    Thoughts?
    Thanks!
    Paul

    Hi,
    It would depend on the theme that you are using and what else may be contained within the sidebar region.
    For example, in Theme 12 with only buttons in the region, you could add the following into the page's HTML Header setting:
    &lt;style type="text/css"&gt;
    .t12SideBarNav td td {text-align:center}
    &lt;/style&gt;.t12SideBarNav is the class name used for Theme 12's sidebar region and td td refers to a nested TD (table cell) tag within a TD tag within the region (the region, at least for Theme 12, is a table within a table). So, this aligns the contents of the inner TD tag which contains the buttons.
    Andy

  • Report in AR by profit center

    Hi, We need a report that shows the accounts receivable due by profit center in order to register doubtful accounts reserve,
    We try with FAGLL03 but it takes a long time and most of the times is too heavy and collaps...
    Can anyone help me?
    Thanks in advance...

    You may try two alternatives -
    Use FBL5N report to show due items run it in separate customer ranges if you have huge data. Filter/Group output by profit center.
    Alternatively, copy profit center into a reference field and then you can filter by profit center while running FBL5N. That way performance wont be an issue.
    Regards
    Subodh

  • p tags with attributes not removed from JTextPane

    We are using HTMLEditorKit with JtextPane to create a HTML Document Editor, for our project. [JDK 1.3.1.]
    When we have a simple <p> tag for paragraph in HTML and we start deleting things from end of the document, it works fine. But when we have a <P> tag with attributes like <p align='CENTER'> the delete key deletes the characters but the cursor remains in the line below and doesnot move up as the characters of above para get deleted. The HTML also retains the <p align='CENTER'> tag, which should have been removed. It seems its not able to identify <p> tags with attributes as Html para tags, and so not deleting it.
    How do we solve this without migrating to jdk1.4 ? Please help.

    Usually attributes such as 'align=center' are deleted along with a tag, regardless of whether it is a p tag or another one. But you would have to carefully test what exactly gets deleted because attributes are not only stored with paragraphs. They can exist for single characters and as well come from a style sheet.
    The best is to generate a dump of your document before and after deletion.
    You can use something like the below code (it is not optimized at all and thus could be implemented better but it works) to produce a dump
      public void listElements(Element elem, int indent) {
        int i;
        String is = getIndent(indent);
        String elemName = elem.getName();
        Document elemDoc = elem.getDocument();
        String cont = "";
        String theText = "";
        System.out.println(is + "--start-----");
        System.out.println(is + "Element Name:" + elemName);
        if(elemName.equals(new String("content"))) {
          try {
            theText = elemDoc.getText(
                    elem.getStartOffset(),
                    elem.getEndOffset() - elem.getStartOffset());
            System.out.println(is + "Content: " + theText);
            if(theText.indexOf("\r") > -1) {
              System.out.println(is + " plus \\r");
            if(theText.indexOf("\n") > -1) {
              System.out.println(is + " plus \\n");
          catch (Exception e) {
        listAttributes(elem, indent);
        if(!elem.isLeaf()) {
          for(i=0;i<elem.getElementCount();i++) {
            listElements(elem.getElement(i),indent+2);
        System.out.println(is + "---end----");
      public void listAttributes(Element elem, int indent) {
        Object key;
        String attr;
        String attrName;
        int pos;
        String is = getIndent(indent);
        AttributeSet as = elem.getAttributes();
        Enumeration an = as.getAttributeNames();
        try {
          while(an.hasMoreElements()) {
            key = an.nextElement();
            attrName = key.toString();
            attr = as.getAttribute(key).toString();
            System.out.println(is + "Attribute Name: " +
                      attrName + " Attribute Content: " + attr);
            if(attr.indexOf("\r") > -1) {
              System.out.println(is + " plus \\r");
            if(attr.indexOf("\n") > -1) {
              System.out.println(is + " plus \\n");
        catch (Exception e) {
          e.printStackTrace();
      }Hope that helps
    Ulrich

  • What does a folder with alternating ? and finder icons mean?

    After booting my G5, it now goes to a blue screen containing a solitary folder in the center with alternating "?" and "finder" icons in the center of it. They flash for approximately 22 times, stop on the "finder" icon briefly, then start up again. I was told that this is a sign that my hard drive was 'fried'. Can anyone verify this--or perhaps give me other information on what might be occurring. All I want to do is reformat my hard drive and give the unit to my grandkids for researching, word processing, etc.--as it is only running Tiger 10.4.11.  Any help would be appreciated.

    Thanks for the information, Chris. I did run disk one of the system install, buy it would not take me to the hard drive in the G5--only gave me an icon for a remote(online) startup. Any other suggestion as I tried resetting the PRAM and the SMU--both of which did basically anything new?

  • Htaml tags used in Flash 5

    In Flash 5, How can we center the text in dynamic text box with html property selected? I used center tag and also align attribute in font tag, but I couldn't get text in center.

    Try using the paragraph tag to align it.  <p align="center">

  • Title, meta tags for seo, where to put in code..?

    Hi guys
    Im trying to optimise my first ever site and Im doing it in dreamweaver. Ive figured out the title and meta tags are html and was just wondering whereabouts in my html code should I put them...?
    Are they before the body tag..? Are they before my first div tag in the code..?
    Are they in a specific div tag, e.g header div=title tag,  meta tag = main content div....?
    Any help would be great
    Cheers :-)

    I wasnt recommending he use meta-keywords, I was just answering his question. However, my employer has a huge static site with thousands of products and he is always listed in the top 5, if not number one in google searches. His site is all text with one image on each product page with an alt tag. He doesnt have ANY back links whatsoever, but uses page text content, meta-keywords, and meta-descriptions extensively. He doesnt even use heading tags. His site layout is with tables, and he uses deprecated html such as <font> and <center> tags on every page. Of course we have discussed the problems his site is going to encounter eventually with regards to his layout and use of the deprecated tags.
    I'm not saying search engines use meta-keywords, but I have to say what ever he's done has worked very well.
    My point is, I read and read about what search engines use and dont use to rank and index pages, yet I see contradictions everyday to both sides.

  • Alternating color runs in a table

    I have a bean that returns a few ArrayLists. I am displaying the results in a jsp in a table. What is the best way in jsp for me to get the colors of the <tr> to alternate?

    This works - I think adding the values into the pageContext is key:
    <%@ page language="java" %>
    <%@ page import="java.util.ArrayList" %>
    <%@ page import="java.util.List" %>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%
        List payPeriods = new ArrayList();
        for (int index = 0; index < 10; ++index)
            payPeriods.add(new Integer(index*index));
        pageContext.setAttribute("payPeriods", payPeriods);
    %>
    <center>
    <h3>Alternating Color Test</h3>
    <table border="1">
        <tr bgcolor="#ffad00">
            <th>Row Number</th>
            <th>Value</th>
        </tr>
        <c:forEach items="${payPeriods}" var="payPeriod" varStatus="status">
            <c:choose>
                <c:when test="${(status.count % 2) == 0}">
                    <tr bgcolor="#77ccff">
                </c:when>
                <c:otherwise>
                    <tr bgcolor="#ffffff">
                </c:otherwise>
            </c:choose>
                <td>
                    <c:out value="${status.count}"/>
                </td>
                <td>
                    <c:out value="${payPeriod}"/>
                </td>
            </tr>
        </c:forEach>
    </table>
    </center>It's not exactly your case, but it does show the alternating colors. I'll leave the changes to you.

  • Doubts about: tag nesting error in Struts project

    Hello, people...
    I'd like to know why this error is happenning... Does someone can help me, please? The code is below:
    *** JSP Page ***
    <%@ taglib uri="struts-html" prefix="html"%>
    <%@ taglib uri="struts-bean" prefix="bean"%>
    <%@ taglib uri="struts-logic" prefix="logic" %>
    <%@ taglib uri="project-tag" prefix="tag"%>
    <html:html>
    <head>
         <title><bean:message key="label.project"/></title>
    </head>
    <body onLoad="window_load();">
    <table border="0" width="100%">
    <tr>
    <td>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
         <tr>
         <td align="right"><!-- Bot?o Voltar --></td>
         </tr>
         <tr class="FonteTituloTela">
         <td><bean:message key="titulo.pesquisarEmpreendimento"/></td>
         </tr>
         </table>
    </td>
    </tr>
    <tr>
    <td>
         <html:form action="/pesquisarEmpreendimentoPopup.do" method="get" onsubmit="return validatePesquisarEmpreendimentoPopupForm(this);">
         <html:hidden property="action" />
         <table width="550">
         <tr>
         <td colspan="3"><bean:message key="titulo.dadosDaPesquisa"/></td>
         </tr>
         <tr>
         <td><bean:message key="label.codigo"/></td>
         <td colspan="2">
         <html:text property="nu_codigo" size="7"/>     
    </tr>
         <tr>
         <td><bean:message key="label.nome"/></td>
         <td colspan="2">
         <html:select property="criterio">
         <html:option value="1"><bean:message key="label.cboIniciando"/></html:option>
         <html:option value="2"><bean:message key="label.cboContendo"/></html:option>
         </html:select>     
         <html:text property="no_municipio" size="40"/>     
         </tr>
    <tr>
         <td>
              <tag:rollover imagemUp="<%=SiwarContext.getContextPath().concat(\"imagem/btn_confirmar_on.gif\")%>" imagemDown="<%=SiwarContext.getContextPath().concat(\"imagem/btn_confirmar_off.gif\")%>" onClick="javascript:document.pesquisarEmpreendimentoPopupForm.submit();"/>
         </td>
         </tr>
    </table>
         </td>
    </tr>
    <tr>
         <td align="center">
              <tag:subir width="500">
         </td>
    </tr>
    </table>
    </html:form>
    </body>
    </html:html>
    *** ActionForm ***
    package jm.action;
    import java.io.IOException;
    import org.apache.struts.action.*;
    import jm.form.PesquisarEmpreendimentoPopupForm;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class PesquisarEmpreendimentoPopupAction extends Action {
    public ActionForward execute( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) {
    PesquisarEmpreendimentoPopupForm pesquisarEmpreendimentoPopupForm = (PesquisarEmpreendimentoPopupForm) form;
    // Acessar l?gica de neg?cio
    return mapping.findForward("pesquisarEmpreendimentoPopupFwd");
    *** Form class***
    package br.gov.caixa.siwar.tratarproponentes.form;
    import org.apache.struts.action.*;
    import org.apache.struts.validator.*;
    public class PesquisarEmpreendimentoPopupForm extends ValidatorForm {
         private String nu_codigo;
         private String no_municipio;
         public String getNo_municipio() {
              return no_municipio;
         public String getNu_codigo() {
              return nu_codigo;
         public void setNo_municipio(String no_municipio) {
              this.no_municipio = no_municipio;
         public void setNu_codigo(String nu_codigo) {
              this.nu_codigo = nu_codigo;
    *** Struts-config ***
    <form-beans>
    <form-bean name="pesquisarEmpreendimentoPopupForm" type="jm.form.PesquisarEmpreendimentoPopupForm" />
    </form-beans>
    <action-mappings>
    <action name="pesquisarEmpreendimentoPopupForm" type="jm.action.PesquisarEmpreendimentoPopupAction" path="/pesquisarEmpreendimentoPopup" scope="request" validate="false">
    <forward name="pesquisarEmpreendimentoPopupFwd" path="/jsp/tratarproponentes/PesquisarEmpreendimentoPopup.jsp" />
    </action>
    </action-mappings>
    *** validation ***
    <formset>
    <form name="pesquisarEmpreendimentoPopupForm">
    <field property="nu_codigo" depends="required,maxlength">
         <arg0 key="pesquisarEmpreendimentoPopupForm.nu_codigo"/>
         <var>
         <var-name>maxlength</var-name>
    <var-value>3</var-value>
         </var>
         </field>
         <field property="no_municipio" depends="required,maxlength">
         <arg0 key="pesquisarEmpreendimentoPopupForm.no_municipio"/>
         <var>
         <var-name>maxlength</var-name>
              <var-value>40</var-value>
         </var>
         </field>
    </form>
    </formset>
    Thanks,
    Vanisi Leal

    It's not about whether we can read the code and figure it out. It's about the fact that most of us have better things to do then to take your long bit of code and config files, (which you don't have the decency to put in code tags), read it or set things up to run it just to see what the problem is.
    You say there is a problem, so you must have run it and gotten some error or some unexpected other output, yet you can't be bothered to post that as well? You're title is not an error message that points to anything. If you posted the actual problem then you would get better responses.
    You can stuff your sorry's in a sack!

Maybe you are looking for

  • Signed, cached JNLP applet doesn't start when updating from 1.6 to 1.7

    Hi, yesterdays forced upgrade from Java6 to Java7 uncovered a nasty surprise for us: We're running a game client through JNLP embedded in the browser using signed all-permission jars. The certificate is definitely valid and hasn't timed out. When upg

  • Big problem with i cloud password

    Hi, I have email by W.cn and now the email its blocked by the company and when i try to sign up in the app store the password coming error and the same with the i cloud which i am sure the password its correct and i try to fix that with to much solut

  • TA38571 I can STREAM, but I cannot SYNC (I don't have another library linked to my Apple TV)

    I can only STREAM, but I cannot SYNC Note: I do NOT have another itunes library linked to my Apple TV Thanks!

  • UWL and workflows

    Hi all i newly started working on portal side to connect to MDM workflows. 1) can you please tell me about that what is the workflows in MDM? 2) how to configure workflows in Portal? then how to start the workflows in portal. i need to integrate the

  • Premiere CS4 won't play any video - Overlay?

    Hi, since installing Prem CS4 on Windows 7 when I try to play video through premiere the audio is fine but the video won't stays at a frozen frame. If I scroll the timeline the video moves through but doesn't play at all in the preview bin or in the