Post Data cant send to tag with script-variable

Hi everybody have a problem, i have a jsp site where i get with the get method in the address line 2 datas; id and data
http://localhost:8084/Tennis/delete.jsp?data=News&id=6
and this data i want to give my tag which is in the delete.jsp
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@taglib uri="WEB-INF/tlds/lib.tld" prefix="lib"%>
<html>
<head><title>JSP Page</title></head>
<body>
<%-- <jsp:useBean id="beanInstanceName" scope="session" class="beanPackage.BeanClassName" /> --%>
<%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
<lib:delete data="News" id=<%pageContext.getRequest().getParameter("id")%>/>
</body>
</html>
i tried several possibilities but nothing was working
<lib:delete data="News" id=<%pageContext.getRequest().getParameter("id")%>/>
-->org.apache.jasper.JasperException: /delete.jsp(10,36) quote symbol expected
<lib:delete data="News" id="<%pageContext.getRequest().getParameter("id")"%>/>
-->org.apache.jasper.JasperException: /delete.jsp(10,79) equal symbol expected
so i have no answer on this problem
i Hope some developers would help me pls :)
Yours Faithfullly
Josef Wilfinger

<lib:delete data="News" id="<%=request().getParameter("id")%>" />
//on BEA weblogic you might have to enclose in single quotes instead of double
<lib:delete data="News" id='<%=request().getParameter("id")%>' />
//or if you have a JSP2.0 container (eg Tomcat 5)
<lib:delete data="News" id="${param.id}" />

Similar Messages

  • Cant send txt pic with droid incredible

    im trying to send and recieve pictures thru my txting? why cant i down load any pics sent to me or i cant send out any pics? help

        I love being able to send picture messages. Therefore, I am able to empathize with you and we can do all we can to get your pictures to download and send.
    Do you get an error when you try to view the picture?
    First, clear the cache for messaging http://bit.ly/OkLKdI
    Once that has been completed,clear out any old messaging threads from previous conversations, lastly  perform a soft reset http://bit.ly/ta20ck.
    Try the messaging again.
    Tamara H.
    Follow us on Twitter @VZWSupport

  • Cant send MMS messages with the new iphone4s. Can recieve but not send!

    Recieved an MMS message but cant send them.. Anyone else the same? Or help how to fix this please?! x

    you may need to enter the correct APN settings for your carrier.

  • Error while posting data to sender axis soap adapter

    Hello,
    I am trying to post the data to following url
    http://sapxis:50000/XIAxisAdapter/MessageServlet?senderService=temp&interface=os%5Ftest&interfaceNamespace=http%3A%2F%2Ftest%2Ecom%2Fxi%2FPOC
    But I am getting following error:
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <soapenv:Body>
          <soapenv:Fault>
             <faultcode>soapenv:Server.generalException</faultcode>
             <faultstring>failed to invoke the module proessor; nested exception is:
         com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=temp;TS=null;AN=os%5Ftest;ANS=http%3A%2F%2Ftest%2Ecom%2Fxi%2FPOC;</faultstring>
             <detail>
                <ns1:hostname xmlns:ns1="http://xml.apache.org/axis/">sapxis</ns1:hostname>
             </detail>
          </soapenv:Fault>
       </soapenv:Body>
    </soapenv:Envelope>
    Please help.
    Thanks in advance,
    Beena.

    Thanks Stefan.
    Yes, sender agreement is there and it is also there in CPA Cache.
    CPAObject: (Binding) keys: ObjectId=02cb8f5717cc35e582f072b26138a0f8 values: Direction=I
    ActionNamespace=http://test.com/xi/POC ToParty= FromParty= HeaderMappingConfig=null MappedActionNamespace=null MappingClassName=null ActionName=os_test AdapterNamespace=http://sap.com/xi/XI/System MappedActionName=null ToService= AdapterSWCV=b38bcd00e47111d7afacde420a1145a5 FromService=temp AdapterType=SOAP MappingId=null Attributes=<?xml version="1.0" encoding ...
    http://sapxis:50000/XIAxisAdapter/MessageServlet page also shows the status OK for required components and Warning for optional components.
    Am I missing something?
    Thanks,
    Beena.

  • Sending iCal invites with Scripts

    Hello,
    I have created an Applescript to open a website for an iCal event and invited my boss. However, when he receives the invite, he does not receive the script (nor does his iCal show an alarm if I have set one on my end either). Is there a way that iCal can automatically set the alarm for both myself and the invitee (in this case, my boss)? And, can I have the invite sent with the script attached? Without having to send a separate email, then going onto his computer and setting up the invite he has accepted?
    In this example, I created an iCal event to open ebay at a certain time in order to bid on an item. I want him to have the script (or the event alarm) sent to him when I send him the iCal event invite. Hope this is clear.
    Thanks!
    Jennifer
    Dual G4   Mac OS X (10.4.2)  

    Is there a way that iCal can automatically set the alarm for both myself and the invitee?
    No. The invitation does not include alarm details.
    Can I have the invite sent with the script attached?
    No. You have no control over the contents of the email sent to the attendees.
    Why not just send him an email with the url at the appropriate time? You can use Andreas Amann's Mailscripts to schedule a message for delivery - and since now it is your message, if you really want the complexity you can send him an applescript attachment.
    AK

  • Custom Tag with script in attribute.

    Hi,
              I use a custom tag in which an attribute is generated dynamicly.But it
              doesn't work.
              Here is the sample:
              <tlt:MyTag MyAttr="<%= "abc"%>" />
              the result is MyTag doesn't work correctly but output <tlt:MyTag
              MyAttr="abc" /> in the browser source file.My server is wls5.1 sp6.
              Can I use this approach?
              Pan
              

    Pan YangBin wrote:
              >
              > Hi,
              > I use a custom tag in which an attribute is generated dynamicly.But it
              > doesn't work.
              >
              > Here is the sample:
              > <tlt:MyTag MyAttr="<%= "abc"%>" />
              That's because the value of MyAttr attribute is included in the same
              quotes as the value of the expression. Change the line to:
              <tlt:MyTag MyAttr='<%= "abc"%>' />
              and it should do the trick.
              >
              > the result is MyTag doesn't work correctly but output <tlt:MyTag
              > MyAttr="abc" /> in the browser source file.My server is wls5.1 sp6.
              Oh, I see. You didn't specify that the page uses the Tag Library which
              is done by
              <%@ taglib uri="/uri_to_your_TLD" prefix="tlt" %>
              Another mistake is that the name of the "MyAttr" attribute begins with
              the uppercase letter, so at the end the page compilation will result
              with an error saying that appropriate attribute won't be found or so.
              Change the name of "MyAttr" to "myAttr" or whatever you like, but it
              must start with the lowercase letter.
              Take a look at JavaServer Pages specification available at
              http://java.sun.com/products/jsp. There you can find loads of answers,
              esp. a chapter about Tag Extenstions.
              > Pan
              Jacek Laskowski
              HP Consulting
              

  • Writing Server Repost Script to post data to Eloqua

    Hello!
    Newbie here.
    Been trying to follow tutorials on form repost and found one article:
    Eloqua Artisan: Using Form Reposts for Advanced Form Integration
    Currently I'm stuck on step#5.
    Can anyone enlighten me on writing a server repost script to post data to Eloqua.
    A sample script will be very much appreciated.
    Thanks in advanced!

    Hey Theresa,
    I can help you out with that. Can you tell me what languages are supported on the server you're trying to re-post from (e.g. PHP, Ruby, ASP, etc.)?
    Thanks,
    Ilya Hoffman
    Synapse Automation

  • Create and send email issue with UCCX/IP-IVR 8.0 script

    Hi all,
    I am facing issue with create and send email option with script. In my call flow there is an option to offer call to key in their phone number and script need to pass that phone number to supervisor as an email. I have created the script but every time when I key in the phone number is pass through the unsuccessful node. Please find the script as attachment.
    Thanks and Regards,
    Ashfaque

    Hi How Yee,
    Which version of UCCX/IPIVR you are using and what is the type of license? Because this feature is only supported with Premium License. Please check the UCCX data sheet from the below link.
    http://www.cisco.com/en/US/partner/prod/collateral/voicesw/custcosw/ps5693/ps1846/data_sheet_c78-629807.html
    You will get the information under "Integrated IVR Features with Server Software" of table:4.
    Thanks and Regards,
    Ashfaque.

  • How do I modify invoice request xml file by adding posting date?

    Hi,
    We import customer invoice requests via xml files from an external data source. Currently the standard SAP xml file does not include the posting date, and invoices enter SAP with a blank posting date. When the invoice is released, the posting date is taken from the invoice date.
    Due to our month end processes, we have hundreds of invoice requests every month where we do not want posting date to equal the invoice date, and for each of those invoices the posting date is manually entered one invoice at a time during the release process. This is very time consuming.
    We would like to build functionality in our external system to create the posting date at the xml file generation stage. Could anyone let us know the following:
    - what is the name of the posting date field on invoice requests (invoice documents)?
    - where would we place the additional script in the xml file?
    I'm attaching one of our current xml files (which already contains one section that has been customized)
    Your suggestions would be appreciated.
    Thanks,
    Kerstin

    Kerstin,
    The closest i could find in the WSDL of the Manage Invoice Request Web Service that handles this integration is "<ProposedInvoiceDate>" or possibly even "<ProposedDeviatingPostingdate>", both of which sit directly under the <CustomerInvoiceRequest> element.
    For more information, go to the Service Explorer, find the ManageInvoiceRequestsIn Web Service, download the WSDL, and open it in SOAP-UI or something similar. This way you can see all the fields that you can write to, which is where i found these two elements.

  • Report on most recent posting date

    Hi experts,
    My report needs to show the fields profit center and its posting date.posting date should have a selection variable for the user to enter a key date.The report should show only the last posting date for every profit center before the key date.
    my doubt is that the data in the infoprovider should be compared to get the last posting date. is it possible to read the data and get the recent posting date in the customer exit for the variable on posting date.
    Please suggest the possible ways of doing this.

    Hi Krishna,
    The recent posting date for the profit centre can not be stored as a transaction data in the cube and it can not be derived in the customer exit.
    You have to add a date field as the master data attribute of profit centre and populate that from the transaction cube data to get last posting date for each profit centre.
    You can then show is as the nav attaribute of profit centre in the report.
    Thanks,
    Krishnan

  • Possible to send POST data WITHOUT a submit button?

    Is it possible to send POST data without a submit button, but
    instead, using PHP redirect or PHP header?
    I need to process a form's POST values before sending some
    selected values to a third party web
    site. So I'd like to be able to send processed POST values to
    that site, without asking the user to
    click on a submit button again.
    how?...
    seb ( [email protected])
    http://webtrans1.com | high-end web
    design
    Downloads: Slide Show, Directory Browser, Mailing List

    You can't send client-side data with server-side scripting, I
    think. You
    can do it with javascript, but then your form is dependent on
    js being
    enabled....
    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
    ==================
    "(_seb_)" <[email protected]> wrote in message
    news:eosqf2$p0n$[email protected]..
    > Is it possible to send POST data without a submit
    button, but instead,
    > using PHP redirect or PHP header?
    > I need to process a form's POST values before sending
    some selected values
    > to a third party web site. So I'd like to be able to
    send processed POST
    > values to that site, without asking the user to click on
    a submit button
    > again.
    > how?...
    >
    >
    > --
    > seb ( [email protected])
    >
    http://webtrans1.com | high-end web
    design
    > Downloads: Slide Show, Directory Browser, Mailing List

  • How can I send post data through nsurlrequest?

    Hi.
    I'm working on an application which needs to make requests to a php gateway. I tried many examples I found on google, but none of them worked for me.
    First I was working with GET, and it worked just fine, but now, as I need to send more complex data, GET isn't a solution anymore. I have three params to send: module which is a string containing a php class name, method: the function in the class, and params for the function which is usually an indexed array.
    The following method makes the request to the server, but for some reason, doesn't send the POST data. If I var_dump($_REQUEST) or var_dump($_POST), it turns out, the array is empty. Can somebody tell me, what am I doing wrong? Is there some kind of a sandbox, which prevents data from being sent to the? I also tried to send some random strings, which aren't json encoded, no luck. The sdk version is 5.1, and I'm using the iPhone simulator from xcode.
    If it is possible I would like to solve this problem without any additional libraries (like asihttp).
    And here is the code:
    +(NSObject *)createRequest:(NSString *)module: (NSString *)method: (NSArray *)params
        NSString *url       = @"http://url/gateway.php";
        NSData *requestData = nil;
        NSDictionary *data  = [NSDictionary dictionaryWithObjectsAndKeys:
                module, @"module",
                method, @"method",
                params, @"params",
                nil];
        NSString *jsonMessage = [data JSONRepresentation];
        NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:url]];
        NSString *msgLength = [NSString stringWithFormat:@"%d", [jsonMessage length]];
        [request addValue: @"text/xml; charset=utf-8" forHTTPHeaderField:@"Content-Type"];
        [request addValue: msgLength forHTTPHeaderField:@"Content-Length"];
        [request setHTTPMethod:@"POST"];
        [request setHTTPBody: [jsonMessage dataUsingEncoding:NSUTF8StringEncoding]];
        requestData     = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
        NSString *get   = [[NSString alloc] initWithData:requestData encoding:NSUTF8StringEncoding];
        NSLog(@">>>>>>%@<<<<<<",get);
    Thank you.

    raczzoli wrote:
    I'm working on an application which needs to make requests to a php gateway. I tried many examples I found on google, but none of them worked for me.
    Why not?
    Unfortunately, you are dealing with a number of different technologies that have been cobbled together over the years. You could write a PHP server that would respond correctly to this request, but not using basic methods like the $_POST variable. PHP was designed for HTML and true forms. What you are trying to do is make it work as a general purpose web service over the HTTP protocol. You can do that, but not with the form-centric convenience variables.
    The following is a basic program that will populate the $_POST variable.
    #import <Foundation/Foundation.h>
    int main(int argc, const char * argv[])
      @autoreleasepool
        // insert code here...
        NSLog(@"Hello, World!");
        NSString  * module = @"coolmodule";
        NSString * method = @"slickmethod";
        //NSArray * params = @[@"The", @"Quick", @"Brown", @"Fox"];
        NSString * params = @"TheQuickBrownFox";
        NSString * url = @"http://localhost/~jdaniel/test.php";
        NSDictionary * data  =
          [NSDictionary
            dictionaryWithObjectsAndKeys:
              module, @"module",
              method, @"method",
              params, @"params",
              nil];
        //NSString *jsonMessage = [data JSONRepresentation];
        //NSData * jsonMessage =
        //  [NSJSONSerialization
        //    dataWithJSONObject: data options: 0 error: nil];
        NSMutableArray * content = [NSMutableArray array];
        for(NSString * key in data)
          [content
            addObject: [NSString stringWithFormat: @"%@=%@", key, data[key]]];
        NSString * body = [content componentsJoinedByString: @"&"];
        NSData * bodyData = [body dataUsingEncoding: NSUTF8StringEncoding];
        NSMutableURLRequest * request =
          [[NSMutableURLRequest alloc] initWithURL: [NSURL URLWithString:url]];
        //NSString * msgLength =
        //  [NSString stringWithFormat: @"%ld", [jsonMessage length]];
        NSString * msgLength =
          [NSString stringWithFormat: @"%ld", [bodyData length]];
        [request
          addValue: @"application/x-www-form-urlencoded; charset=utf-8"
          forHTTPHeaderField: @"Content-Type"];
        [request addValue: msgLength forHTTPHeaderField: @"Content-Length"];
        [request setHTTPMethod: @"POST"];
        //[request setHTTPBody: jsonMessage];
        [request setHTTPBody: bodyData];
        NSData * requestData =
          [NSURLConnection
            sendSynchronousRequest: request returningResponse: nil error: nil];
        NSString * get =
          [[NSString alloc]
            initWithData: requestData encoding: NSUTF8StringEncoding];
        NSLog(@">%@<",get);
      return 0;
    I have written this type of low-level server in PHP using the Zend framework. I don't know how to do it in basic PHP and wouldn't bother to learn.
    Also, you should review how you are sending data. I changed your example to send the appropriate data and content-type for the $_POST variable. If you had a server that could support something else, you could use either JSON or XML, but your data and content-type would have to match.

  • My camera  icon is not working on my sms so i cant send picture with sms? what to do?

    My camera  icon is not working on my sms part?
    so i cant send picture with sms? what to do?

    Double tap Home button, delete Camera app in multitask-bar.
    Do a
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data
    By the way, picture go through as MMS not SMS, do you have a SMS/MMS plan with your carrier?
    Have you spoken with them?

  • MIR7 exchange rate is not modefied with respect to posting date

    Hi Experts,
    In our SAP system , we use MIR7 to create park invoice at first ,and then use MIR4 to change the parked invoice and post it.
    but when creating parked invoice, it's in say June and the exchange rate is 100, and when we create real invoice from parked invoice, it's October and exchange rate turns to 115.
    Then I change the posting date in the invoice from June to Ocetober, but the exchange rate is still 100 it is not changing according to the new posting date. How can I solve this problem, please give me a solution a.s.a.p.
    Thanks in advance for your help.
    Regards
    Sunil

    Hi Pankaj,
    There are so many options e.g you can check in oinm select that particular item sort on docdate and check inqty and compare with your goods issue date if it is same then send same transaction to approval if you want.
    Thanks
    Sachin

  • Asset Acquisition with Asset Value Date earlier than GI post.date

    Dear all,
    I am curently using SAP ECC 6.0. We are not creating AuC assets but directly capitalizing assets from investment accounts.
    If a material is issued with a date in March and i try to acquire it with asset value date from a previous period, for example in February, the system doesnt issue any message and lets me post the transaction. The accountants claim that this hadnt been possible in the earlier version of SAP 4.6 that we had been using and that the system had issued an error message - "Posting not possible (Value date earlier than capitalization date)"
    The accounting logic is that you cant capitalize an asset with a date earlier than the date when it has been in use, i.e. in our case it`s the date the material has been issued from the warehouse.
    Does someone know what logic does SAP follow in this case - and if i can set a validation control that will check and compare the two dates?
    Any opinion would be appreciated
    KR
    Severina Koleva

    We are on ECC 5.0 and we do get that message, but it is a warning.
    AA348...
    that said, you can setup a validation using GGB0 and asset accounting

Maybe you are looking for

  • User Exit: Saving data in Production Order Header Long Text

    Hi PP Gurus, Can any one let me know which user exit can be used to save some data in the Long Text of Production Order Header. We try PPCO0007, it works well on ECC, but my client's system version is 4.7, it does not work. In 4.7 version, is there a

  • Adobe Indesign 3 Menu grayed out

    All the tools in the menu along the top are grayed out. They are unworkable. Also when I initially open Indesign 3, the title page opens but lacks the green and red button on the upper left corner and seems disabled. I reinstalled Indesign 3 and thou

  • Re : Availability check in third party

    Hi       While creating sales order for third party scenatio a availability check is automatically carried out. But for noraml sales processes if stock is there it does nor check availability. I want to know how to avoid the availability check in thi

  • PCMCIA to SCSI (68 pin HD)

    What PCMCIA to SCSI adapter is "the one to get"? I'm thinking of using a Powerbook to run a remote audio recording studio (MOTU firewire interface with DP software). I require ultrawide SCSI (68 pin HD connector) for the hard drives (ATA is unaccepta

  • Opening iWeb in Rapidweaver

    How do I open a iWeb files in RapidWeaver to upload FTP? Thanks Gary