CFEXECUTE / ant script return do not result in the CF

I have a batch script that is running an ant script that is running "cvs log h application.cfm" on the cvs server.

When I run the script commands manually on the command line, everything works fine.

When I run the command via CFEXECUTE script, the batch works very well, the ant script works fine, but the cvs command does not seem to do anything. The results of the tag are:
[echo] front
[echo] after

As you will see the (unchanged with the exception of the cvsroot attribute) attached ant script, echoes are and part of the cvs command.
When running from the command line, I get the results of the cvs log command between these lines, but I get nothing with the CF.

Any ideas on how to get this to work at all will be greatly appreciated.


I use 7.01, but I corrected the tag CFEXECUTE by restarting the service CF twice.

I also managed to finally get the CVS little work - changing : ext: to : ssh: -which I'm sure I've tried before and it wouldn't work, but it works now so I'm very happy.

Tags: ColdFusion

Similar Questions

  • script return do not store any data info

    Hi everyone, I think I'm missing something simple but impossible to find the tail of it.

    Here is a commonly used script that I've used in the past, but since I moved to another machine its not return don't not data store news.

    My CSV is full of great info, but the column for the data store is empty.  Thanks in advance.

    $VCServerName = "myVcenter".
    $VC = to connect-VIServer $VCServerName
    $ExportFilePath = "c:\Export-VMInfo.csv".
    $Report = @)
    $VMs = get - VM
    $Datastores = get-Datastore. Select Name, Id
    $VMHosts = get-VMHost | Select Name, Parent
    {ForEach ($VM to $VMs)
    $VMView = $VM | Get-View
    $VMInfo = {} | Select VMName Powerstate, OS, file, IPAddress, ToolsStatus, host, Cluster, data store, NumCPU, MemMb, DiskGb, DiskFree, DiskUsed
    $VMInfo.VMName = $vm.name
    $VMInfo.Powerstate = $vm. PowerState
    $VMInfo.OS = $vm. Guest.OSFullName
    $VMInfo.IPAddress = $vm. Guest.IPAddress [0]
    $VMInfo.ToolsStatus = $VMView.Guest.ToolsStatus
    $VMInfo.Host = $vm.host.name
    $VMInfo.Cluster = $vm.host.Parent.Name
    $VMInfo.Datastore = ($Datastores | where {$_.}) ID-match (($vmview.)) Data store | Select - first 1) | Select the value). Value} | Select name). Name
    $VMInfo.NumCPU = $vm. NumCPU
    $VMInfo.MemMb = [math]: round (($vm.)) (MemoryMB), 2)
    $VMInfo.DiskGb = [math]: Round ((($vm.)) Hard drives | Measure-Object-CapacityKB property-sum). Summary * 1 k / 1 GB), 2)
    $VMInfo.DiskFree = [math]: Round ((($vm.)) Guest.Disks | Measure - Object - property FreeSpace-sum). Summary / 1 GB), 2)
    $VMInfo.DiskUsed = $VMInfo.DiskGb - $VMInfo.DiskFree
    $Report += $VMInfo
    }
    $Report = $Report | Sort-Object VMName
    IF ($Report - don't ' ') {}
    $report | Export-Csv $ExportFilePath - NoTypeInformation
    }
    $VC = disconnect-VIServer-confirm: $False

    Strange, I just ran your script, and I get the info from the data store in the CSV file.

    Error messages?

    I guess that Get-Datastore returns all your data warehouse?

  • HS. Entity.Member return do not name of the entity

    Hi Experts,

    I tried to create custom log files in order to check the sequential progress of my rules, I even managed to create the log file to the desired location.

    But I'm unable to print the course pov entity markr or any other member function in the log file.

    Here are the rules file that I downloaded.

    Void NoInput()

    HS = pov_entity. Entity.Member

    HS. NoInput 'an Exp.S #Actual #Travel.

    Call WriteToFile ("No. Input for" & pov_entity)

    End Sub

    Void writeToFile (String)

    On Error Resume Next

    Const ForReading = 1, ForWriting = 2, ForAppending = 8

    Dim fso, f

    Set fso = CreateObject ("Scripting.FileSystemObject")

    The value of f = fso. OpenTextFile("D:\hfmcustomlogs\Hfmlog1.txt",8,True)

    f.WriteLine String & "" & Now()

    f.Close

    On Error GoTo 0

    End Sub

    Resulted in the content of the log file

    No entry for 12/11/2014 05:18:53

    In the log file as you can see has led the current entity pov member does not appear.

    Did I miss something in the rule file or what I need to make changes in the properties of the application.

    Thanks in advance

    Try:

    Void calculate)

    HS = pov_entity. Entity.Member

    HS. Exp 'an Exp #Elec = A Exp #Travel'

    Call WriteToFile ("calculation of electrical Exp in" & pov_entity)

    End Sub

  • SYS_CONTEXT return do not results

    Hi - noobie question, sorry in advance.

    I am a student at OCA, and I came across a feature called SYS_CONTEXT

    [http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions184.htm#SQLRF06117]

    I'm trying to retrieve my IP using SYS_CONTEXT ('USERENV', 'IPAddress'). SQL * more accepting but nothing back and I don't know why. I tried a few arguments (e.g. SYS_CONTEXT (' USERENV', 'AUTHENTICATION_DATA' ") but still nothing is returned.) Still using USERENV as I believe that it is the namespace built into Oracle.

    all the tips at this stage.

    PS I am connected to OracleXE as SYSTEM

    How you connect to the database? And it is a database that is installed on your local computer?

    If you use SQL * more

    sqlplus scott/tiger
    

    creates a connection needed to the database. You're not going via TCP/IP so that you have an IP address.

    sqlplus scott/tiger@tns_alias
    

    will go over TCP/IP to the listener and create a 'normal' connection that will have an IP address.

    Justin

  • Property RemotePanel.ConnToServers return do not results

    Hello!

    I'm trying to detect connections from the remote panel to my labview application.  I created this chiseled of the following code:

    When I run the present and then connect remotely with this other computer sitting next to me, the picture remains empty.

    I'm using LabVIEW 2009.  Any input is greatly appreciated.

    It turns out that this particular property of the reference App you'll get not facing away from struggling.  Don't know what this particular property is intended.

    The list of connections remote panel is accessed through a reference of VI Invoke node.  If you open a reference to the current VI, you can get a list of connections of the remote panel and make decisions based on this list:

    -Nic

  • SQL that don't return do not results

    Hello

    I executed
    select * from semestru;
    and I myself
                                         ID                               AN_SCOLAR SEM DATA_START  DATA_SFARSIT
    --------------------------------------- --------------------------------------- --- ----------- ------------
                                          1                                       3 I   15.09.2000  26.02.2001
                                          2                                       4 I   16.09.2001  27.02.2002
                                          3                                       5 I   14.09.2002  23.02.2003
                                        118                                     104 I   17.09.2011  17.02.2012
                                          5                                       6 I   17.09.2003  25.02.2004
                                          6                                       7 I   16.09.2004  26.02.2005
                                          7                                       8 I   16.09.2005  24.02.2006
                                          9                                       3 II  04.03.2001  14.06.2001
                                         10                                       4 II  06.03.2002  16.06.2002
                                         11                                       5 II  05.03.2003  15.06.2003
                                         12                                       6 II  16.03.2004  16.06.2004
                                         13                                       7 II  08.03.2005  19.06.2005
                                         14                                       8 II  08.03.2006  18.06.2006
                                         15                                       9 II  07.03.2007  16.06.2007
                                         16                                      10 I   10.09.2007  24.02.2008
                                         17                                      10 II  04.03.2008  04.07.2008
                                         19                                      11 I   15.09.2008  20.02.2009
                                         20                                      11 II  03.03.2009  15.06.2009
                                         21                                       9 I   16.09.2006  23.02.2007
                                        119                                     104 II  05.03.2012  15.06.2012
     
                                         ID                               AN_SCOLAR SEM DATA_START  DATA_SFARSIT
    --------------------------------------- --------------------------------------- --- ----------- ------------
                                         22                                      12 I   *17.06.2009*  23.02.2010
                                         23                                      12 II  03.03.2010  14.06.2010
                                         24                                      13 I   15.09.2010  25.02.2011
                                         25                                      13 II  07.03.2011  15.06.2011
    I put my date 17.06.2009 system.
    When I run
    select * from semestru where data_start=sysdate i got no results. Why?
    
    Regards,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

    Don't forget SYSDATE is inclusive of seconds, so you need to TRUNC he put at midnight.

    Try:

    select * from semestru where data_start=TRUNC(sysdate);
    

    And if that doesn't work, try:

    select * from semestru where TRUNC(data_start)=TRUNC(sysdate);
    
  • PowerShell / script PowerCLI is not execution of the stimulus package SRM

    I posted this in the community of the Site Recovery Manager, but thought that the PowerCLI community may be able to help as well. *****

    I can't run a script PowerShell to a recovery plan, even if I can't run interactively from the SRM of recovery server and command CMD run OK.

    Here is the error I get:

    Error: user designed legend "C:\Windows\system32\cmd.exe /c C:\test.cmd" has not returned in 300 seconds.

    The recovery plan called test.cmd, which is basically redirected to the PowerShell script.

    REM ===== test.cmd =====
    @echo off
    echo > C:\1.txt
    C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoLogo -ExecutionPolicy RemoteSigned -Command C:\test.ps1
    echo > C:\3.txt
    REM ===== end of test.cmd =====
    

    Test.cmd called test.ps1, that only creates a CSV file for troubleshooting.

    # ===== test.ps1 =====
    Add-PSSnapin VMware.VimAutomation.Core -ErrorAction SilentlyContinue     # Load VMware PowerCLI functionality
    Write-Host foo | Export-CSV C:\2.txt
    exit
    # ===== end of test.ps1 =====
    

    Note that I created the process text files to see where the script stops. When I run test.cmd of the stimulus package, 1. txt is created, but 2. txt and txt 3. are not created. When I run test.cmd interactively from the SRM of recovery server, all three text files are created.


    My environment is 4.1 SRM and PowerCLI 4.1 build 332441 U1.

    Any help would be appreciated. Thank you.

    Things to check.

    (1) under which the account is the .cmd file and therefore the .ps1 file, executed in SRM?

    Maybe the RS account does not have the same privileges

    (2) I would like to start the PowerShell engine in the with the parameter - NoProfile .cmd file.

    A general Council, try to use the cmdlets Start-Transcript and Stop-Transcript at the beginning and at the end of your PS script.

    Have you ever tried to create a .txt file before loading the PowerCLI snap?

  • Scripts of symbol not showing in the symbol Properties window

    Hello

    I just installed trial of fireworks on my macbook and I will try out, but ran into problems with the creation of rich symbols.

    I created a symbol, put it in the library, created the script (file located in common library > custom symbols), updated the symbol in the library of doc. When I select in the file, the properties of the symbol window is empty. I tried it with scripts and various symbols. What I am doing wrong?

    I add my symbol with script.

    Fireworks - symbol.zip

    Thank you

    Mikk

    Thanks for your reply.

    I tried different line symbols. Empty for all the properties of the symbol window.

    sth is broken? The trial version should be fully functional right?

    This is a new installation and everything seems to work ok

    * UPDATE

    Restart the program and the computer has not helped but now I also closed the window of properties of the symbol and then the software restared. Seems it worked today.

    (.. .after 2 days of browsing the web and you are looking for a solution... hope it works now properly)

  • When I go to Express Scripts it will not advance to the login page

    "Firefox prevented this page automatically redirecting to another page.

    Then on the right side is has an "allow" tab which sends it forward.
    Dump this section and let it go forth. I do not need the added command. I go to this site because I need to know about my prescription medical supplies.
    

    Click on the orange button Firefox, go to Options | Options | Advanced and in the tab general, uncheck "Warn me when Web sites try to recharge or redirect". See accessibility

  • PowerShell script to delete files based on the current Date

    I know using PowerShell Get-Date will look at the current date.  I would like to make a very basic PS Script that will remove a file over 8 days based on the current date.  According to me, with the help of a if/then the function will be necessary.  I am very new to scripting if Im not sure how the syntax is written.  Any help is appreciated.

    This issue is beyond the scope of this site and must be placed on Technet or MSDN

    http://social.technet.Microsoft.com/forums/en-us/home

    http://social.msdn.Microsoft.com/forums/en-us/home

  • "Cable not connected to the network adapter.

    WRT400N did not come after start stop and cold pc.  Windows Vista repair & diagnostic returns "cable not connected to the network adapter.  I tried to plug and re - plug cable ethernet; router power off (+ 10 sec.); Linksys repair; reset the modem, etc.  The success of the Internet, but no router.  The only solution is a pc "restart" and then the appropriate router port lights up and all is well.  What is the real solution please?

    Hi Helm,

    I finally got the router to work after several reboots and struggles.  in any case, I'm always game to try almost anything if you have any other suggestions...

    Thank you

  • ORA-06504: PL/SQL: return variables of the game results or the query types do not match

    Hello!

    I have a simple object type and a proecdure in which I am trying to use it to insert into another table

    -object

    CREATE ORREPLACETYPEmt_mtg ASOBJECT

    (

    ACOL NUMBER ,

    BCOL NVARCHAR2 (100)

    );

    CREATE ORREPLACETYPEREF_MTG ASTABLEOFMt_MTG ;

    -same structure as the use of sampletbl target table in the cursor query

    create table tbl_MT_MTG

    (

    ACOL NUMBER ,

    BCOL NVARCHAR2 (100)

    );

    -procedure

    CREATE ORREPLACEINTERIORTEST_PROCEDURE1

    AS

    ref_cur sys_refcursor ;

    REFR ref_mtg ;

    BEGIN

    OPEN ref_cur FOR

    Select acol,

    BCOL

    DE sampletbl rownum<10;

    Fetch ref_cur in bulk collectintorefr;

    Insert intotbl_MT_MTG(acol,bcol)selectacol,bcol fromtable(refr);

    commit;

    CLOSE Ref_cur;

    END;

    /

    When I run this procedure fails with

    ORA-06504: PL/SQL: return variables of the game results or the query types do not match

    ORA-06512: at "TEST_PROCEDURE1", line 10

    ORA-06512: at line 2

    Any help on this please...

    Thanks to an OLD POST below

    so perfect helped me! Thank you

    Tubby

    After 5 years of more :-)

    How to store refcursor in collection How to store refcursor in collection

  • Validator do not return is not the results.

    Hi all

    I extended the StringValidator class in order to create a user name validator. When a new user is registered, the user name is validated on the server to check if it exists.

    The code is not thrown error and I know the remoteobject calls to work. The push sets the message, but the problem is that the result is not returned.

    The flow is correct?

    public class PosUsernameValidator extends StringValidator {
              
              private var userServiceRO:RemoteObject = new RemoteObject();
              private var validatorResults:Array = new Array();
              
              public function PosUsernameValidator(){
                   super();
                   userServiceRO.destination = "UserService";
                   userServiceRO.getUserByUserName.addEventListener("result", getUserByUserNameRH);
                   userServiceRO.getUserByUserName.addEventListener("fault", getUserByUserNameFH)
              }
              
              override protected function doValidation(value:Object):Array {
                   validatorResults = super.doValidation(value); 
                   return doForUserName(value);
              }
              
              private function doForUserName(value:Object):Array{
                   userServiceRO.getUserByUserName(String(value));
                   return validatorResults;
              }
              
              private function getUserByUserNameRH(r:ResultEvent, t:Object = null):void{
                   var user:User = r.result as User;
                   if(user!=null){
                        validatorResults.push(new ValidationResult(true, null, "Username error","Username already taken!"));
                   }
              }
              
              private function getUserByUserNameFH(f:FaultEvent, t:Object = null):void{
                   Alert.show(ObjectUtil.toString(f));
              }
              
         }
    

    Once the error message string from the server side, link it to property 'errorString' of any component of entry, you want to display the error on. This will give you the red border and a ScreenTip as if you used a validator. Don't forget to set the error return string to "" to clear the message once validation passes.

  • SYS_REFCURSOR: Variables of the game results or the query return types do not match

    Hello
    I have 2 snippets below, it codes marked 'Test 1' does not work, it gives the error message, see the code below. Why it gives an error? The second code succeeds and works according to the needs.

    Test1 in brief:
    Call proc P3
    Proc calls P3 P1

    Test 2 in brief:
    Call func P2,
    Proc calls P2 P1.

    ---


    1. test 1, it breaks down:
    create or replace procedure P1 ( i_name IN VARCHAR2, 
       o_cur          out   SYS_REFCURSOR )
    is
       v_cur          SYS_REFCURSOR;   
    begin
       open o_cur for
          select i_name from dual;
    end P1;
    /
    
    create or replace function P2 ( i_name IN VARCHAR2
    ) 
    return SYS_REFCURSOR
    is
       v_cur          SYS_REFCURSOR;   
    begin
       p1( i_name, v_cur); 
       return v_cur;
    end P2;
    /
    
    create or replace procedure P3 ( i_name IN VARCHAR2, 
       o_cur          out   SYS_REFCURSOR )
    is
       v_cur          SYS_REFCURSOR;   
    begin
       p1( i_name, o_cur);      
    end P3;
    /
    
    
    declare
       v_name         varchar2(100) := 'test1';
       v_cur          SYS_REFCURSOR;      
       v_fetch_var    varchar2(100);
    begin
       P3(v_name, v_cur);
       --v_cur := P2(v_name);
       
       if v_cur%ISOPEN then
          dbms_output.put_line('v_cur%ISOPEN=true');
       else
          dbms_output.put_line('v_cur%ISOPEN=false');
       end if;
       --
       loop
          fetch v_cur into v_fetch_var;
             exit when v_cur%notfound;
             dbms_output.put_line('v_fetch_var='||v_fetch_var);
       end loop;
    end;
    /*
    Output:
    v_cur%ISOPEN=true
    ORA-06504: PL/SQL: Return types of Result Set variables or query do not match
    ORA-06512: at line 16
    */
    2. test cycle 2, he succeeds:
    create or replace procedure P1 ( i_name IN VARCHAR2, 
       o_cur          out   SYS_REFCURSOR )
    is
       v_cur          SYS_REFCURSOR;   
    begin
       open o_cur for
          select i_name from dual;
    end P1;
    /
    
    create or replace function P2 ( i_name IN VARCHAR2
    ) 
    return SYS_REFCURSOR
    is
       v_cur          SYS_REFCURSOR;   
    begin
       p1( i_name, v_cur); 
       return v_cur;
    end P2;
    /
    
    create or replace procedure P3 ( i_name IN VARCHAR2, 
       o_cur          out   SYS_REFCURSOR )
    is
       v_cur          SYS_REFCURSOR;   
    begin
       p1( i_name, o_cur);      
    end P3;
    /
    
    
    declare
       v_name         varchar2(100) := 'test1';
       v_cur          SYS_REFCURSOR;      
       v_fetch_var    varchar2(100);
    begin
       --P3(v_name, v_cur);
       v_cur := P2(v_name);
       
       if v_cur%ISOPEN then
          dbms_output.put_line('v_cur%ISOPEN=true');
       else
          dbms_output.put_line('v_cur%ISOPEN=false');
       end if;
       --
       loop
          fetch v_cur into v_fetch_var;
             exit when v_cur%notfound;
             dbms_output.put_line('v_fetch_var='||v_fetch_var);
       end loop;
    end;
    /*
    Output:
    PROCEDURE P1 compiled
    FUNCTION P2 compiled
    PROCEDURE P3 compiled
    anonymous block completed
    v_cur%ISOPEN=true
    v_fetch_var=test1
    */
    Published by: CharlesRoos on February 8, 2010 05:06

    CharlesRoos wrote:

    Thenn should be documentation that says "recovery of the data type that sys_refcursor fails if you pass by reference too often."

    I can't really work on what your nested code is supposed to do, but in a simple example, this statement is false.

    SQL> create or replace procedure p1 (l_c out sys_refcursor)
      2  is
      3  begin
      4      open l_c for select dummy from dual;
      5  end;
      6  /
    
    Procedure created.
    
    SQL> create or replace procedure p2 (l_c out sys_refcursor)
      2  is
      3  begin
      4      p1 (l_c);
      5  end;
      6  /
    
    Procedure created.
    
    SQL> var c refcursor
    SQL> exec p2 (:c)
    
    PL/SQL procedure successfully completed.
    
    SQL> print c
    
    D
    -
    X
    
    SQL> create or replace procedure p3 (l_c out sys_refcursor)
      2  is
      3  begin
      4      p2 (l_c);
      5  end;
      6  /
    
    Procedure created.
    
    SQL> exec p3 (:c)
    
    PL/SQL procedure successfully completed.
    
    SQL> print c
    
    D
    -
    X
    
    SQL>
    

    However, I would say from a Ref Cursor once between PL/SQL procedures is already too.

    Re: Extract of the cursor variable

    And there is documentation saying that.

    http://download.Oracle.com/docs/CD/E11882_01/AppDev.112/e10472/static.htm#CIHCJBJJ

    Purpose of cursor Variables

    Variable cursor allows you to pass between PL/SQL stored subprograms and their clientssets of query results. This is possible because the PL/SQL and its clients share a pointer to the work area where the result set is stored.

  • appeal of XHTML to servlet return do not answer, do not call servlet

    I xhtml in a web app using a servlet, but the answer of the servlet does not appear. The original xhtml displays once you press the submit button. I tried different alternatives for the servlet response, but I get the same result every time. I added logging to the servlet, but it seems that the servlet is not called at all.

    XHTML:
    <?xml version="1.0" encoding="UTF-8"?>
    <!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" xml:lang="en" lang="en"
    xmlns:f="http://java.sun.com/jsf/core" 
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:ejstreegrid="https://unfccc.int/nais/ejstreegrid"
    xmlns:grid="http://java.sun.com/jsf/composite/gridcomp"
    xmlns:nais="http://java.sun.com/jsf/composite/naiscomp">
    <body>
    <ui:composition template="/templateForm.xhtml">
    <ui:define name="title">Some title</ui:define>
    <ui:param name="currentPage" value="somepage.xhtml" />
    <ui:define name="body">
    name to be added<br/><br/>
    <form action="someServlet" method="post">
    <input type="text" name="someName" />
    <input type="submit" />
    </form>
    </ui:define>
    </ui:composition>
    </body> 
    </html>
    servlet web app called:
    package netgui.servlet;
    
    import java.io.IOException;
    import java.util.Enumeration;
    
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    
    public class someServlet extends HttpServlet {
    private static final long serialVersionUID = 1L;
    
    public someServlet() {
    super();
    }
    
    protected void doGet(HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException   {
    processRequest(request, response);
    }
    
    protected void doPost(HttpServletRequest request,
    HttpServletResponse response) throws ServletException, IOException {
    processRequest(request, response);
    }
    
    private void processRequest(HttpServletRequest request,
    HttpServletResponse response) throws IOException {
    
    try {
    response.getWriter().write("some response");
    } catch (Exception e) {
    logger.error(e.getMessage());
    e.printStackTrace();
    response.getWriter().println("Error: " + e.getMessage());
    }}}
    
    I also have a menu.xhtml that is calling the xhtml file:
    
    <?xml version="1.0" encoding="UTF-8"?>
    <!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"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:ui="http://java.sun.com/jsf/facelets">
    
    <body>
    <script type="text/javascript">
    $(document).ready(function() {
    $("#btn").click(function() {
    $("#upload").click(); 
    return false; 
    }); 
    });
    </script>   
    <ui:composition>
    <div id="navigation_bar">
    <ul id="topbarleft">
    <c:choose>                  
    <c:when test="${currentPage=='somepage.xhtml'}">
    <li><b>Some Page display</b></li>
    </c:when>
    <c:otherwise>
    <li><h:outputLink value="somepage.jsf">
    <h:outputText value="some page" />
    </h:outputLink></li>
    </c:otherwise>
    </c:choose>
    </ul>
    </div>
    </ui:composition>
    </body>
    </html>
    Y at - it a special format to send a form to a servlet of xhtml? Any ideas what could be the problem?

    Published by: Atlas77 on April 16, 2012 06:53

    Published by: Atlas77 on April 16, 2012 06:54

    Published by: Atlas77 on April 16, 2012 06:56

    Published by: Atlas77 on April 16, 2012 07:27

    Call it a guess, you're not the first to fall into the trap of the nested :) form Its too easy to simply slap a high h:form somewhere near the top of the tree and forget it.

    For the future: remember that the browser is actually doing the work when you submit a form. If something goes wrong, it appears in the HTML source as you can see by using the function "view page source" from the browser. It pays to know HTML and especially the limits if you want to understand such things by yourself. When you locate the faulty HTML code, it is usually not so hard more to trace what is bad in the JSF source.

Maybe you are looking for

  • Very slow SP6100

    From my 6100 Pro Satellite takes forever and changing programs going very slowly. Green focused on the HARD disk at the front is not lighting. It could mean the HD not working anymore? I tried to find some utilities to test on the net, but without su

  • Satellite A210 randomly turns off

    Sorry if this has been covered before. My A210 works perfectly under normal conditions of use, I use it for 2 games only. World of Warcraft and sims. When I play either, after 5 to 10 minutes of play, the laptop lights out, as if Id held down the pow

  • Windows Server 2012 R2, R2 2008 update 12/08/2015 disabled asp classic download

    I have a Windows Server 2012 R2 and Windows Server 2008 R2 running native IIS. The web server allows downloading files using just classic asp... no plug-ins or third-party add-ins. The two servers installed updates 09/12/2012 off the capacity of the

  • where are you going on the private research office totouch?

    private and no research revealing hidden Ahuh! I know what I'm getting for Christmas...

  • Fuse with iGroove, speakers, USB connections

    I did a lot of scanning on these boards, try to understand something, I hope someone can help me.  (I see a lot of suggestions for Jerry-rigging through the headphone jack, which is unacceptable...)  I bought a Klipsch iGroove for out sounds mp3 on d