Unabl to retrieve request parameters sent using AJAX

Hi
I have a html form
<form name="chpass">
                    <input type="text" name="newPass" id="newPass">
                    <input type="text" name="passwordChange" id="passwordChange">
                    <input type="text" name="user" id="user" value="<%= ((UserRegistrationObj)listItems.get(i)).getfName() %>">
                    <a onclick="ajaxFunction();">New</a>
                </form>Below is javascript code which sent request to server location ChangePass.do as a POST request
     function ajaxFunction(){
     var ajaxRequest;  // The variable that makes Ajax possible!
     try{
          // Opera 8.0+, Firefox, Safari
          ajaxRequest = new XMLHttpRequest();
     } catch (e){
          // Internet Explorer Browsers
          try{
               ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");
          } catch (e) {
               try{
                    ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");
               } catch (e){
                    // Something went wrong
                    alert("Your browser broke!");
                    return false;
        ajaxRequest.onreadystatechange = function(){
          if(ajaxRequest.readyState == 4){
                    alert(ajaxRequest.responseText);
               document.chpass.passwordChange.value = ajaxRequest.responseText;
     ajaxRequest.open("POST", "ChangePass.do", true);
     ajaxRequest.send(null);
}Now in my java code when I am trying to retrieve parameters in html form, I am getting NULL.
   String userId = request.getParameter("user");
  String newPass = request.getParameter("newPass");What could be the possible reason !

Yes,
Below is my servlet code :
  protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
        response.setContentType("text/html;charset=UTF-8");
        PrintWriter out = response.getWriter();
        try {
          String userId = request.getParameter("user");
String oldPass = request.getParameter("oldPass");
  String newPass = request.getParameter("newPass");
  UserRegistrationBackend obj = new UserRegistrationBackend();
  String authMsg = "Authenticated";
     authMsg = obj.changePass(PasswordService.getInstance().encrypt(newPass), userId);
     out.println(authMsg);
        } finally {
            out.close();
    } It is not taking any time for servlet to process. I have debugged it and found.
It is just after last line... that it is waiting somewhere.

Similar Messages

  • Howt to retrieve the parameters sent from an iView in WDA

    Hi,
    I´m sending some parameters form the Portal iView containign the WDA component, how can I retrieve the parameters sent in to my webdynpro ABAP development.
    Kind Regards,
    Gerardo J

    Hi Gerado,
    Go to the window in your WD ABAP component.
    Declare those parameters as importing type in HANDLEDEFAULT method.
    You will receive the values at runtime in these parameters.
    Please check this wiki also. It tells about reading URL parameters in WD ABAP but it will work the same way for iView paramters.
    [http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoreadURLparametersinWebDynproforABAP|http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoreadURLparametersinWebDynproforABAP]
    I hope it helps.
    Regards,
    Sumit

  • Request and response using Ajax...

    Hi' does anyone know how to get 2 or more response if using ajax? (let's say that it's more than 1 response).
    cos XMLHttpRequest only can retrieve for one response at time. does anyone know how to solve this?
    Thanks a lot....

    what i mean like this, i have a multiply function in my jsp, code like this :
    <%
        String a = request.getParameter("a");
        String b = request.getParameter("b");
        total = ( (Integer.parseInt(a))*(Integer.parseInt(b)) );
        out.println(total);
        out.println("hello");
    %>it prints total and hello.
    How to handle it in my javascript? ajax just handle the response with xmlHttp.responseText. So all the output are handle in only in xmlHttp.responseText). how to make my ajax can receive 2 output from server seperately?
    Thanks...
    Btw this is my ajax source :
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <html>
         <head>
              <title>Ajax Multiply Example</title>
              <script language="Javascript">
                 xmlHttp = null;
                   function postRequest(strURL){
                        if(window.XMLHttpRequest){ // For Mozilla, Safari, ...
                             xmlHttp = new XMLHttpRequest();
                        else if(window.ActiveXObject){ // For Internet Explorer
                             xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
                        xmlHttp.open('POST', strURL, true);
                        xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
                        xmlHttp.onreadystatechange = function(){
                             if (xmlHttp.readyState == 4){
                                 //alert(xmlHttp.responseText);
                                 updatepage(xmlHttp.responseText);                           
                        xmlHttp.send(strURL);
                   function updatepage(str){
    //i don't know how to modify in this.can anyone help?
                        document.getElementById('result').value = str;
                        document.getElementById('helloField').value = str;                        
                   function callMultiply(){
                        var a = parseInt(document.f1.a.value);
                        var b = parseInt(document.f1.b.value);
                        var url = "multiply.jsp?a=" + a + "&b=" + b + "";
                        postRequest(url);
              </script>
         </head>
         <body>
              <h1 align="center"><font color="#000080">Ajax Example</font></h1>
              <form name="f1">
                   <input name="a" id="a" value="">
                   <input name="b" id="b" value="">
                   <input name="result" type="text" id="result">
                   <input name="helloField" type="text" id="helloField">
                   <input type="button" value="Multiply" onClick="callMultiply()" name="showmultiply">
              </form>
         </body>
    </html>

  • WHY? Request Parameters From Form are NULL

    I have the following process, which by the way has been working successfully for months, until just recently.
    1) User comes to JSP page to upload images through a form that has the <input type="file"> fields as well as <input type="hidden"> to hold a few essential values.
    2) User submits form, form action attribute set to go to a Servlet
    3) Servlet reads all request params and inserts the images into a database.
    I have code to read in the images...I use classes from the org.apache.commons package.
    I could only assume it was the servlet that was the problem, but doubted that because why would it work all these months than suddenly stop.
    I set up a test html page with a form and had it go to a jsp page to read the request params and print them out. To my suprise they all had NULL values.
    Which tells me that the params aren't being read from the form.
    How could this be??
    Here is some example code snippets from my test pages:
    HTML PAGE
    <html><body>
    <form name="images" action="testing_operations.jsp" enctype="multipart/form-data" method="post">
    <input type="hidden" name="Customer_Number" value="4750">
    <table>
    <tr><td>
    <input type="file" name="image1" />
    </td></tr>
    <tr><td>
    <input type="file" name="image2" />
    </td></tr>
    <tr><td>
    <input type="submit" value="submit">
    </td></tr>
    </table>
    </form>
    </body>
    </html>JSP PAGE
    String cus = request.getParameter("Customer_Number");
    out.println("cus : " + cus +"<br>");
    String image = request.getParameter("image1");
    out.println("image: " + image); 
    I'm stumped...what am I doing wrong?
    I can't continue until I get this figured out, can anybody help me with this?
    Message was edited by:
    Love2Java

    I ran my original app with the enctype and without it:
    the tomcat dos-prompt that shows exceptions lists out this below...
    org.apache.commons.fileupload.FileUploadException: Processing of multipart/form-data request failed.
    C:\jakarta-tomcat\temp\upload_00000009.tmp (The system cannot find the path specified)
    at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:429)
    at org.apache.jsp.testing_operations_jsp._jspService(testing_operations_jsp.java:113)The code on line 113 in testing_operations.jsp is:
    List items = upload.parseRequest(request);
    and what is this .tmp file its trying to find?? I'm passing it an image off my local disk, not a .tmp file, there isn't even a temp folder in my jakarta-tomcat main folder....
    It is failing on this line because it isn't reading the request parameters sent in, thus why too when I test for the values of the params they return null.
    True, when I take out the enctype my test page will show the values, but this doesn't help me. I need that enctype attribute in there to process the images sent in through the fields.
    So where does this leave me??
    I went to the apache site for the commons upload and they have a more current version than what I'm using which is version 1.0, they have 1.1.1
    I downloaded the new version but had no success in using it, the compiler couldn't find a class I attempted to use.
    I still don't understand how this could be working and then suddenly stop.

  • How to encode request parameters?

    Hi I'm running a small web application developed with JSP pages. But it turns out that it relies on cookies to maintain sessions, which is a limitation if the client's cookie setting disables cookies.
    I know that I could encode the request parameters and use GET method to communicate information between client and server, but have no idea how this is done.
    Can you give me some code, or recommend some tutorial to me? Thanks!

    1. If you don't want to use cookies, you could use URL rewriting to append the session ID. When you redirect to another page, do something like the following:
    a. first choose whether you want to forward or sendRedirect: (the following example is a redirect)
    //encode the parameter values to encode special characters, such as spaces
    String parameterOne = java.net.URLEncoder.encode("some value");
    String parameterTwo = java.net.URLEncoder.encode("some other value");
    //build the query string any way you want
    String queryString="?key1="+parameterOne+"&key2="+parameterTwo;
    /* Use response.encodeRedirectURL if running it through a sendRedirect.
       Doing so will rewrite the url with the session ID appended to the
       end. */
    response.sendRedirect(response.encodeRedirectURL("some.jsp"+queryString));This little code snippet demonstrates two things. It shows that URL rewriting can be used to append the session ID. It also shows you how to encode parameters (i.e. use URLEncoder.encode()).
    If you want to encode your string in the JSP, you could also do it using javascript:
    <script language="JavaScript">
    <!--
       //this is just an example javascript function
       function openPage() {
          var thisForm=document.formName;
          /* get your form element values (these are text boxes).
             Note: the javascript escape() function url encodes the values.
                   there are also other js functions to do this. */
          var paramOne=escape(thisForm.paramOne);
          var paramTwo=escape(thisForm.paramTwo);
          var queryString="?paramOne="+paramOne+"&paramTwo="+paramTwo;
          window.open("some.jsp"+queryString,"some_window_name");
       }//end openPage
    //-->
    </script>Or, you could build it using JSP expressions and scriptlets. Its really up to you. These are just rudimentary examples to help you get started.

  • Request Error - The server encountered an error processing the request. The exception message is 'Unable to retrieve the requesting user's identity

    I'm trying to create an Orchestrator Connector in Service manager, It is not going well.
    The most resent alarm is
          <p class="heading1">Request Error</p>
          <p>The server encountered an error processing the request. The exception message is 'Unable to retrieve the requesting user's identity.'
       For the Orchestrator Web Service URL: I have http://Server_Name:81/Orchestrator2012/Orchestrator.svc/
    I created a new Run As account that uses Windows authentication, when I test the connection thats the alarm I get.
    Paul Arbogast

    Hi,
    Can you access the URL using a browser? Does it work with the credentials used for the RunAs account?
    Strange error message though - are the account you are running the console with, present in the SCSM CMDB?
    Regards
    //Anders
    Anders Asp | Lumagate | www.lumagate.com | Sweden | My blog: www.scsm.se

  • Error :Unable to retrieve data from iHTML servlet for Request2 request

    I open bqyfile to use HTML in workspace.
    When I export report to excel in IR report.
    Then I press "back" button I get error"Unable to retrieve data from iHTML servlet for Request2 request "
    And I can not open any bqyfiles in workspace.
    Anybody gat the same question? Thanks~

    Hi,
    This link will be helpful, the changes is made in the TCP/IP parameter in the registry editor of Windwos machine. I tried the 32 bit setting for my 64 bit machine (DWORD..) and it worked fine for me..
    http://timtows-hyperion-blog.blogspot.com/2007/12/essbase-api-error-fix-geeky.html
    Hope this helps..

  • Unable to retrieve values from request.getAttribute()

    I had a JSP file called targetJspPage.jsp that contains the following statement within a set of <form> tags:
    <% request.setAttribute "url","/myProj/targetJspPage.jsp");%>This information is then submitted to a servlet using POST method which will use a RequestDispatcher to retrieve the the url from the request attribute that I had set just now. The statement is as follows:
    RequestDispatcher dispatcher = getServletContext().getRequestDispatcher((String)request.getAttribute("url"));
              if (dispatcher != null)
                   dispatcher.forward(request, response);The purpose of this procedure is to let the servlet know which JSP file it is suppose to forward the processed results. The url is always the url of the page that is calling the servlet. Eg. In this case, my JSP file is targetJspPage.jsp which resides in myProj folder. So, in this JSP file, the url set for the servlet will be /myProj/targetJspPage.jsp. But my problem now is that the (String)request.getAttribute("url") statement in the servlet always returns null. Why is that so?
    This type of question was asked numerous times in the forums but the solutions aren't working. I do not want to use a session to store the value. However, I also tried using session before and the result is the same.

    Hi Sad,
    1.
    Is it possible that you post the codes that we can see clearly what is going on? (If possible only).
    (Unless I'm wrong, it may be that the request.setAttribute is used to pass object on the server side only, ie you can't use the request.setAttribute to keep data like the session object during the client-server trips of request/response.
    The fact that you get null for (String)request.getAttribute("url") is because the Browser send a new request object which is different from the old one (request.setAttribute which is gone once we down the client)
    (2. I want to learn too, and hope some one will find a solution for you)
    -- Paul.

  • How can i upload file using ajax post request and jsp

    Hi
    this is my code files
    addPhoto.jsp
    <html>
    <head>
    <title>Add Photo</title>
    <script>
    var optionNo = 0;
    var i=1;
    var val=0;
    var file = 0;
    var exten = new Array(".jpg",".jpeg",".gif");
    function addValues()
         for(var i=0;i<5;i++)
              optionNo += 1;
              oNewOption = new Option();
              oNewOption.text = optionNo;
              oNewOption.value = optionNo;
              addSelect.add(oNewOption);
    function addBoxes()
         var str = "";
         var j=0;
         val = document.getElementById('addSelect').value;
         for(j=1; j<= val; j++)
              str = str + '<font size=3>file:' + j + '</font>';
              str = str + '<input type="file" id=filepath'+ j +' name=file'+ j + ' onchange="uploadFile(hidden'+ j + '.value)"><div id="result'+ j +'"></div>
              str = str + '<input type="hidden" name="hidden' + j + '" value=' + j +'>';
         document.getElementById('addPhoto').innerHTML = str;
    function uploadFile(value)
    var str = "filepath" + value;
    file = value;
    var param = document.getElementById(str).value;
    var parameter = "filepath=" + param;
    alert(parameter.length);
    if(checkValidity(param))
    var url = "uploadFile.jsp";
    if (window.XMLHttpRequest) {
    req = new XMLHttpRequest();
    } else if (window.ActiveXObject) {
    req = new ActiveXObject("Microsoft.XMLHTTP");
    req.open("POST", url, true);
    req.setRequestHeader("Content-type", "multipart/form-data");
    //req.setRequestHeader("Content-length", parameter.length);
    req.setRequestHeader("Connection", "close");
    req.onreadystatechange = callback;
    req.send(null);
         else
              document.getElementById("result" + file).innerHTML = "upload .jpeg,.jpg,.gif Files Only";
    function callback() {
    if (req.readyState == 4) {
    updatepage(req.responseText);
    function updatepage(str){
         document.getElementById("result" + file).innerHTML = str;
    function checkValidity(str)
         var i=0;
         var j=0;
         var str1 = str.substring(str.lastIndexOf("."),str.length);
         alert(str1);
         for(i=0;i<exten.length;i++)
         if(str1.search(exten) != -1)
              j++;
              break;
         if(j>0)
              return true;
         else
              return false;
    </script>
    </head>
    <body onload="addValues()">
    <h5>Add Photo(s)</h5>
    <select id="addSelect" name="addSelect" onchange="addBoxes()">
    <option id="select" selected>Select</option>
    </select>
    <div id="addPhoto"></div>
    </body>
    </html>
    uploadFile.jsp
    <%@page import="java.io.*"%>
    <%
    /*try
    String contentType = request.getContentType();
         System.out.println(request.getMethod());
         System.out.println("Content type is :: " +contentType); 
         if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0))
              DataInputStream in = new DataInputStream(request.getInputStream());
              DataInputStream in1 = in;
              int formDataLength = request.getContentLength();
    System.out.println(formDataLength);
              byte dataBytes[] = new byte[formDataLength];
              int byteRead = 0;
              int totalBytesRead = 0;
              while (totalBytesRead < formDataLength)
                   byteRead = in1.read(dataBytes, totalBytesRead, formDataLength);
                   totalBytesRead += byteRead;
              out.println("<br>totalBytesRead : " + totalBytesRead + " : formDataLength = " + formDataLength);
         } catch(Exception e) {
              e.printStackTrace();
         try
         String filePath = request.getParameter("filepath");
         System.out.println(filePath);
         File f= new File(filePath);
         String path = f.getName();
         String contentType = request.getContentType();
         System.out.println(contentType);
         //InputStream in = new FileInputStream(filePath);
         DataInputStream in = new DataInputStream(request.getInputStream());
         int formDataLength = request.getContentLength();
         System.out.println(formDataLength);
    byte[] buf = new byte[1024];
    OutputStream out1 = new FileOutputStream("c:/docs/" + path);
    int len;
    while ((len = in.read(buf)) > 0) {
    out1.write(buf, 0, len);
    in.close();
    out1.close();
         out.write("File Uploaded SucssesFully");
    catch(Exception e)
         e.printStackTrace();
         out.write("error while Writing File");
    %>
    the above code in request.getContentType() i am getting 0. I am not passing the content length. for the same application with out using Ajax i am
    getting the size of file... it is very very urgent for me.. pls help me out on this...
    Any one having the code on this pls mail me the code...
    my mail id ... [email protected]
    Regards
    Ashok Kumar

    Sure, you can upload a file, using a form input element of type file. You pick this up with a servlet, though you need a special request wrapper to sort out the multi-part request you get back that way (there's a suitable package on jakarta.apache.org/commons)
    The servlet decrypts the file and can pass the results to a JSP for display.
    Don't try to do the complicated stuff in a JSP, it all gets incredibly messy, and that's not what JSPs are for.

  • JSF 2.0 f:ajax: How to limit what is sent in AJAX request?

    Is there a way in JSF 2.0 with f:ajax (or direct JavaScript equivalent) to limit what parts of a form are sent in AJAX request, like it's counterpart f:ajax render attribute which limits what is returned back from AJAX request.
    When f:ajax execute attribute is set to some value it only affects what is processed on server, but whole form is still sent as part of AJAX request.

    This is a bug. onerror was not getting set probably in AjaxBehavior component. Fix in progress.
    Will let you know when fix is in.
    -roger

  • # of parameters you can pass using AJAX

    I have a weird problem with an AJAX form combined with a CFC.  Just to rule out any possibilities, is there a limit on the number of input fields you can pass to a CFC using AJAX?  I only ask because it appears when the entire form is filled out the page throws an error that the CFC can't be found.
    Also, I'm noticing that 2 of the parameters are out of order (in red). Would that make a difference?  I'm also not sure why they are out of order when getting passed because they are not that way on the form.  Am I missing something here?
    CFC
    <cffunction name="LyricOpera" access="remote" returntype="array" output="false">
        <cfargument name="CurrentApplicationStep" type="string" default="" />
        <cfargument name="ScreenSelection" type="string" default="" />
        <cfargument name="Role1" type="string" default="" />
        <cfargument name="Opera1" type="string" default="" />
        <cfargument name="Company1" type="string" default="" />
        <cfargument name="Year1" type="string" default="" />
        <cfargument name="Role2" type="string" default="" />
        <cfargument name="Opera2" type="string" default="" />
        <cfargument name="Company2" type="string" default="" />
        <cfargument name="Year2" type="string" default="" />
        <cfargument name="Role3" type="string" default="" />
        <cfargument name="Opera3" type="string" default="" />
        <cfargument name="Company3" type="string" default="" />
        <cfargument name="Year3" type="string" default="" />
        <cfargument name="Aria1" type="string" default="" />
        <cfargument name="Aria1Opera" type="string" default="" />
        <cfargument name="Aria1Language" type="string" default="" />
        <cfargument name="Aria2" type="string" default="" />
        <cfargument name="Aria2Opera" type="string" default="" />
        <cfargument name="Aria2Language" type="string" default="" />
        <cfargument name="Aria3" type="string" default="" />
        <cfargument name="Aria3Opera" type="string" default="" />
        <cfargument name="Aria3Language" type="string" default="" />
        <cfargument name="Variable1Name" type="string" default="" />
        <cfargument name="Variable1Institution" type="string" default="" />
        <cfargument name="Variable1Address1" type="string" default="" />
        <cfargument name="Variable1City" type="string" default="" />
        <cfargument name="Variable1State" type="string" default="" />
        <cfargument name="Variable1Province" type="string" default="" />
        <cfargument name="Variable1Zipcode" type="string" default="" />
        <cfargument name="Variable1PostalCode" type="string" default="" />
        <cfargument name="Variable1Phone" type="string" default="" />
        <cfargument name="Variable1IntlPhone" type="string" default="" />
        <cfargument name="Variable1Country" type="string" default="" />
        <cfargument name="Variable1Email" type="string" default="" />
        <cfargument name="Variable2Name" type="string" default="" />
        <cfargument name="Variable2Institution" type="string" default="" />
        <cfargument name="Variable2Address1" type="string" default="" />
        <cfargument name="Variable2City" type="string" default="" />
        <cfargument name="Variable2State" type="string" default="" />
        <cfargument name="Variable2Province" type="string" default="" />
        <cfargument name="Variable2Zipcode" type="string" default="" />
        <cfargument name="Variable2PostalCode" type="string" default="" />
        <cfargument name="Variable2Phone" type="string" default="" />
        <cfargument name="Variable2IntlPhone" type="string" default="" />
        <cfargument name="Variable2Country" type="string" default="" />
        <cfargument name="Variable2Email" type="string" default="" />
    From Firebug
    argumentCollection{
    "CurrentApplicationStep":"Lyric-Opera",
    "ScreenSelection":"Submit",
    "Role1":"Abigail",
    "Opera1":"The Crucible",
    "Company1":"Kingwood Summer Opera",
    "Year1":"2010",
    "Role2":"Title role",
    "Opera2":"Suor Angelica",
    "Company2":"Kingwood Summer Opera",
    "Year2":"2008",
    "Role3":"Lauretta",
    "Opera3":"Gianni Schicchi",
    "Company3":"Sam Houston State University",
    "Year3":"2007",
    "Aria1":"Tacea la notte placida",
    "Aria1Opera":"Il Trovatore",
    "Aria1Language":"Italian",
    "Aria2":"Song to the Moon",
    "Aria2Opera":"Rusalka",
    "Aria2Language":"Czech",
    "Aria3":"Embroidery Aria",
    "Aria3Opera":"Peter Grimes",
    "Aria3Language":"English",
    "Variable1Name":"Todd R Miller",
    "Variable1Institution":"Lonestar College Kingwood",
    "Variable1Address1":"20000 Kingwood Dr",
    "Variable1City":"Kingwood",
    "Variable1State":"TX",
    "Variable1Province":"",
    "Variable1Zipcode":"77339",
    "Variable1Phone":"281-312-1485",
    "Variable1IntlPhone":"",
    "Variable1Country":"USA",
    "Variable1Email":"[email protected]",
    "Variable2Name":"Anne Heath-Welch",
    "Variable2Institution":"Todd Miller",
    "Variable2Address1":"309 East 13th Street",
    "Variable2City":"Houston",
    "Variable2State":"TX",
    "Variable2Province":"",
    "Variable2Zipcode":"77008",
    "Variable2Phone":"832-335-9108",
    "Variable2IntlPhone":"",
    "Variable2Country":"USA",
    "Variable2Email":"[email protected]",
    "Variable1Postalcode":"",
    "Variable2Postalcode":"",
    "Submit":"Continue"}
    methodLyricOpera
    returnFormat
    json

    The fix is to set "setHTTPMethod("POST");" for the AJAX proxy.  By default, the proxy function "setHTTPMethod("method");"  is set to "GET" and 47 input fields with corresponding data is over the limit.  The proxy function, "setHTTPMethod("method");", must be set to "POST" to avoid this error.

  • Problem in using request parameters in jstl xml code

    hi,
    my need is to get a request parameter and use the variable in jstl(xml) select conditions.
    my code is ,
    <%String txname=request.getParameter("tname");%>
    <x:forEach var="fe" select="$doc/transaction/tx[@tname=${txname}]/field">
         <field>ss <x:out select="$fe/@fname"/> </field>
    </x:forEach>
    i'm using tomcat5.0. I deployed the jstl.jar, standard.jar, jaxen.jar and saxpath.jar in WEB-INF/lib directory.
    I able to run other jstl(xml) files which doesn't need any variables from out side.
    i used the scirpt for getparameter as i unable to get the code ${param.tname}
    help me.
    urs
    pavan.

    Looks like you haven't imported the taglib:
    JSTL1.0: <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    JSTL1.1: <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    You use JSTL1.0 in JSP1.2 containers (eg Tomcat 4)
    You use JSTL1.1 in JSP2.0 containers (eg Tomcat 5)
    also check this post if you have further troubles. It has basic troubleshooting for JSTL.

  • Any solution to unable to retrieve purchased apps in a new iPad - using same Apple ID, same country but different payment method.

    Any solution to unable to retrieve purchased apps in a new iPad using same Apple ID, same country but different payment mode?

    Hello there, Tag2011.
    The following Knowledge Base article offers up great information on the process of downloading a previous purchase:
    Download past purchases
    http://support.apple.com/kb/ht2519
    Particularly useful in your instance:
    Before you begin
    Sign in with the Apple ID that you used for the original purchase.
    See which Apple ID you used to download an item.
    See if the content is available for redownload. Previously purchased items might not be available if they're no longer on the iTunes Store. If you changed your Apple ID from one country to another, you can’t download items you purchased in a previous country.
    and then to download again:
    Apps
    Tap App Store.
    If you're using an iPhone or iPod touch, tap Updates, then tap Purchased.
    If you're using an iPad, tap Purchased.
    Find the item that you want to download.
    Tap the Download icon. After the app downloads, you can open it from the Home screen.
    If you can't find the item that you purchased in the iTunes Store, report a problem with the item. You can report a problem with a purchase made within the last 90 days.
    If you have a problem with an older purchase, contact iTunes Store support.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How to retrieve export parameters using startrfc?

    When using the standard SAP client program <b>startrfc</b> to  remotely call an ABAP function in SAP, is it possible to retrieve the export parameters?
    The startrfc program only seems to allow you to send an import parameter (using the –E option)  and to send/retrieve a table, using the –T option.
    For example, the function BAPI_USER_EXISTENCE_CHECK exports the parameter RETURN of type BAPIRET2. How can you retrieve this export parameter using the startrfc program?

    HI Linda,
    Create an export variable and in the parameter reference give the field reference of the field like this VBELN[], then this forms a structure parameter...
    Then place all your recorded SAPGUI/TCD with in Message/EndMessage Block, and make a rule as an expected message, something like this...
    MODE                    MSGID           MSGNR    MSGV1
    'E'               '/DBM/COMMON'     467     E_VBELN     
    MSGID & MSGNR might differ in your case use them accordingly, also check the previous log and make sure that the order number is MSGV1, if it is in MSGV2, place the variable E_VBELN in the MSGV2 field of the message Rule.
    This should generally fetch you all the order numbers...
    But in some situations it didnt work in my case, so here is the second solution...
    MESSAGE ( MSG_1 ).
    SAPGUI/TCD RECORDING
    ENDMESSAGE ( E_MSG_1 ).
    DO ( &TFILL ).
    IF ( E_MSG_1[&LPC]-MSGID = '/DBM/COMMON' AND E_MSG_1[&LPC]-MSGNR = 467 ).
         E_VBELN[V_COUNT]-TABLE_LINE = E_MSG_1[&LPC]-MSGV1.( V_COUNT Should also be declared, but as a local variable)
         V_COUNT = V_COUNT + 1.
    ENDIF.
    ENDDO.
    This was you will get all the order numbers in one variable, which you can access in any script while looping the varable based on its length..
    Check and modify accordingly.
    Hope this helps..
    Best regards,
    Harsha
    PS: award points if this answer helps solve your issue.

  • Why does viber keep asking me to set up again? I have   it up about 3 times now and if I don't have my mobile  when overseas will be unable to retrieve the sms code. I am using an ipad mini

    Why does viber keep asking me to set up again when I have already set it up about 3 times and used it successfully. Will be overseas without my mobile and will be unable to retrieve the sms code to set it up if this happens when I am away so should I reinstall it ?

    ISSUE FINALLY RESOLVED!!!!!!
    So, it turns out, I had to restore the iPhone...with a twist! Here are the steps:
    FIRST BACK UP YOUR DEVICE
    1. Go to the library (Hold option, click on "go" in the finder, then go to library)
    2. Go to your iTunes folder in this Library (not application support, the main iTunes folder)
    3. Go to the iX software folder (i.e., iPhone software, iPad software, etc.) and delete the file in this folder
    4. Hook up the phone and then click on restore iPhone.
    At this point, it will redownload the entire OS again. You must then restore the iPhone. As it is downloading the iOS, you can disconnect and use your phone for probably however long you want (I did the restore the same day as the download) and when you are ready you can hook up the phone and restore it.
    THE MOST IMPORTANT STEP FOLLOWS:
    And one many may dislike. Upon restoring the phone, you MUST select "Set-Up as new iPhone"
    You need to make sure you've backed up EVERYTHING elsewhere. 3rd party, non-apple/icloud apps will lose data through this method, and you'll lose all texts, your call history, and super old voicemails. The upside is that, if you've backed up, then you can just restart the process if you forgot something. But seeing as how the popup was interfering with my ability to use iCloud (I couldn't sync anything, such as calendar events, reminders, etc.,  unless I had gone into mail to sign in to iCloud), it was totally worth it....no more popups.
    My only wish is that this thread becomes popular. Many people have this issue and you should only use this method as a super last resort (after trying literally everything I had written previously).

Maybe you are looking for

  • Problems previewing InDesign CS5.5 exported EPUBs in Apple iBooks, on an iOS device.

    I have EPUB Creation problems when I use my InDesign CS 5.5 document from my first EPUB book, as a template to create my other two EPUB books. My customer gave me a job that forced me to learn how to do EPUBs – and I'm still learning.  I created thre

  • Problems with Tiling in PhotoShop CS6

    Hello! I am having difficulty with tiling in PhotoShop CS6.  I am trying to do a half drop repeat and a block (brick) repeat using a single image that I've manipulated with filters, etc. When I make the pattern and then apply it to a new document, I

  • HT4623 I am unable to activate my 3gs after updating to ios 6.0.1

    I am unable to activate my 3gs iphone after updating its software from ios 5 to ios 6.0.1. It gives the message: "Your iPhone could not be activated because the activation server is temporarily unavailable. Try connecting your iPhone to iTunes to act

  • Scanning with Photosmart 7520 crop to bounds not working

    Hello,  I am scanning a lot of photos for a slideshow I'm putting together. I scanned several photos and they came through just perfectly using the "crop to bounds" option. I sent those files over to a folder and started a new batch, and now when it

  • TechNet Wiki Activity not Showing in our Profiles

    This has been reported in the "MSDN and TechNet Profile and Recognition System Discussions" forum, but I thought it would be appropriate to also report the issue here: No Wiki activity has been reflected in our profiles for several days, perhaps sinc