Remove parameter from Request

Hi,
my Servlet computes a request (doGet()-method) with some parameters (e.g. http://myApp/test?param=Hello).
Then it forwards to another servlet/jsp:
request.getRequestDispatcher("/mySite").forward(request, response);
But before forwarding, I want to remove the parameters! How can I do this?
I cannot find a method like "request.removeParamter(param)" in the API!
Thanks
Daniel :-)

Hi everyone.
I had a similar problem and I've resolved it with a workaround: I needed to forward a Servlet to the Servlet itself, for multiple data posting, so I used a request attribute to determine if I was processing the first call or the next ones.
I think this workaround will work also when you must forward Servlet1 to Servlet2.
Here's the code:
In the first time call (or in Servlet1):
if (...some conditions...) {
// Instead of removing parameter...
request.setAttribute("switch","Y");
In the next calls (or in Servlet2):
String par = null;
String switch = (String)request.getAttribute("switch");
if (switch == null) {
par = (String)request.getParameter("par");
I know that in this way the "par" parameter is not really removed, however, if you managed the attribute "switch" correctly, it would be null.
Don't forget to remove the attribute from the request when you no longer need it. Let's clean our junks... ;-)
Hope this helps.
Carlo

Similar Messages

  • To find number of parameter from request

    Freinds,
    Is there any way to find out number of parameter submitted from request object. But the constraint will be with out going through loop.
    Example
    int count = 0;
              Enumeration list = request.getParameterNames();
              while (list.hasMoreElements())     {
                   count++;
                   list.nextElement();
              }

    Can some body help me to resolve the warning created by this line
    ArrayList paramList = null;
    paramList = new ArrayList(Collections.list(request.getParameterNames()));CheckFilter.java:96: warning: [unchecked] unchecked conversion
    found : java.util.Enumeration
    required: java.util.Enumeration<T>
    paramList = new ArrayList(Collections.list(request.getParameterNames()));
    ^
    CheckFilter.java:96: warning: [unchecked] unchecked method invocation: <T>list(java.util.Enumeration<T>) in java.util.Collections is applied to (java.util.Enumeration)
    paramList = new ArrayList(Collections.list(request.getParameterNames()));
    ^
    CheckFilter.java:96: warning: [unchecked] unchecked call to ArrayList(java.util.Collection<? extends E>) as a member of the raw type java.util.ArrayList
    paramList = new ArrayList(Collections.list(request.getParameterNames()));

  • Getting value of parameter from request object

    If i submit a form using button element of html form then i dont get name of the button element as Parameter of request object and hence its value.
    why and how?
    Thanks in advance

    what do you mean submit a form with a button? You don't submit a form with a button, you submit it with a submit element. Unless you use Javascript to submit from an onclick handler in the button. In which case, you aren't submitting from the button, but from the script. I'm not sure that buttons are sent in forms. Why would they? If you are using buttons and Javascript, then you could use a hidden field and set it's value to the button's value when it's clicked before submitting the form.

  • Get Date parameter from request

    hi all,
    i've a JSP in which there is a date field, in the JSP i'm declaring a date variable and use request.getParameter but the date variable store another date with time part while i want the entered date without time part...any help?

    My CO --------------------------
    if( pageContext.getParameter("Submit") != null)
    String userid = (new Integer(pageContext.getUserId())).toString();
    String personid = (new Integer(pageContext.getEmployeeId())).toString();
    String v_date = pageContext.getParameter("StartDate")+"";
    String v_end_date = pageContext.getParameter("EndDate")+"";
    System.out.println("call to process request0 : " + userid);
    System.out.println("call to process request0 : " + personid);
    System.out.println("call to process request0 : " + v_date);
    System.out.println("call to process request0 : " + v_end_date);
    Serializable[] params = {personid,v_date,v_end_date};
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    String empUserid = pageContext.getUserName();
    System.out.println(pageContext.getUserName());
    System.out.println("Calling initMoverQuery");
    am.invokeMethod("initMoverQuery", params);
    System.out.println("Call out of initMoverQuery");
    My AM------------------------------------------------------------
    public void initMoverQuery(String pid,String sd,String ed)
    System.out.println("In init Query of AM" +pid);
    EmployeeMoverVOImpl vorep = getEmployeeMoverVO1();
    Number personid = new Number(Integer.parseInt(pid));
    System.out.println("user id"+ personid);
    System.out.println("start date"+ sd);
    System.out.println("end date"+ ed);
    if (vorep == null)
    MessageToken[] tokens = { new MessageToken("OBJECT_NAME", "EmployeeMoverRepVO1")};
    throw new OAException("AK", "FWK_TBX_OBJECT_NOT_FOUND", tokens);
    if (!vorep.isPreparedForExecution())
    // vorep.initQuery(personid,sd1,ed1);
    vorep.setWhereClauseParam(0,personid);
    vorep.setWhereClauseParam(1,sd);
    vorep.setWhereClauseParam(2,ed);
    vorep.executeQuery();
    System.out.println("End SP VO Query");
    }

  • Pass parameter from request

    Hi,
    I have 2 pages, in page2 CO2, it passes parameter 'cancel'
    processFormRequest{
    else if("Cancel".equals(pageContext.getParameter("event")))
    pageContext.putParameter("cancel", "Y");
    pageContext.forwardImmediately("OA.jsp?page=/company/oracle/apps/xxg2c/goaling/webui/Xxg2cGoalSheetSearchePG",
    null,(byte)0,null,null,true,null);
    in page1, CO1, I get the parameter 'cancel'.
    processRequest{
    cancel = pageContext.getParameter("cancel");
    Now, if I want pass 'cancel' to processFormRequest of CO1, how should I do it?
    thanks
    Lei

    Lei,
    To get the value in co1, there are two alternatives:
    1)Pass value in hashmap:
    HashMap hmap= new HashMap();
    hmap.put("cancel","Y");
    pageContext.forwardImmediately("OA.jsp?page=/company/oracle/apps/xxg2c/goaling/webui/Xxg2cGoalSheetSearchePG",
    null,(byte)0,null,hmap,true,null);
    in page1, CO1 processRequest, you can get it by
    cancel = pageContext.getParameter("cancel");
    2)Pass param in url itself:
    pageContext.forwardImmediately("OA.jsp?page=/company/oracle/apps/xxg2c/goaling/webui/Xxg2cGoalSheetSearchePG&cancel=Y",
    null,(byte)0,null,null,true,null);
    in page1, CO1 processRequest, you can get it by
    cancel = pageContext.getParameter("cancel");
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Removing node from private parameter

    hey wondering if anyone can help me with some coursework im doing
    im trying to remove a record from a queue by using a parameter from a class.
    class QueueNode
         private      String      document ;      
         private      String      owner ;      
         private      int           size ;           
         private     QueueNode     next ;
         private     QueueNode     previous ;
         public QueueNode (String document , String owner , int size)
              this.document = document ;
              this.owner = owner ;
              this.size = size ;
              next = null ;
              previous = null ;
         public String getDocument()
              return document ;
         public String getOwner()
              return owner ;
         public int getSize()
              return size ;
         public QueueNode getNext()
              return next ;
         public QueueNode getPrevious()
              return previous ;
         public void setDocument(String document)
              this.document = document ;
         public void setOwner(String owner)
              this.owner = owner ;
         public void setSize(int size)
              this.size = size;
         public void setNext(QueueNode next)
              this.next = next ;
         public void setPrevious(QueueNode previous) //this is the part im having trouble with
              this.previous = previous ;
    class Queue           
         private     QueueNode start ;
         private     QueueNode end ;
         public Queue ()     
              start = new QueueNode("","",0) ;
              start = null ;
              end = new QueueNode("","",0) ;
              end = null ;
         public void add ( String document, String owner, int size )
              if ( start == null )
                   start = new QueueNode(document,owner,size) ;
                   end = start ;          
         else                              
                   QueueNode temp = new QueueNode(document,owner,size) ;
                   temp.setNext (end) ;                              
                   end.setPrevious (temp) ;     
                   end = temp ;               
         public boolean isEmpty ()          
              return ( start == null) ;
         public QueueNode remove ()     
              QueueNode temp = new QueueNode("","",0) ;
              if ( start == null )
                   return null ;      
              else if ( start.setPrevious == null)
                        temp = start ;
                        start = null ;          
                        return temp ;     
                   else
                        temp = start ;     
                        start = start.setPrevious ;     
                        return temp ;                                        
         public void displayAll ()     
              QueueNode temp = new QueueNode ("","",0) ;     
              temp = start ;               
              while ( temp ! = null )     
                   System.out.println ( "Document: " + temp.getDocument() ) ;
                   System.out.println ( "Owner: " + temp.getOwner() ) ;
                   System.out.println ( "Size: " + temp.getSize() ) ;
                   temp = temp.setPrevious ;     
    and these are the errors im getting
    Queue.java:47: cannot resolve symbol
    symbol : variable setPrevious
    location: class QueueNode
              else if ( start.setPrevious == null)
    ^
    Queue.java:56: cannot resolve symbol
    symbol : variable setPrevious
    location: class QueueNode
                        start = start.setPrevious ;     
    ^
    Queue.java:74: cannot resolve symbol
    symbol : variable setPrevious
    location: class QueueNode
                   temp = temp.setPrevious ;     
    ^
    3 errors
    any help appreciated
    thanks

    Let's look at the first error:
    Queue.java:47: cannot resolve symbol
    symbol : variable setPrevious
    location: class QueueNode
    else if ( start.setPrevious == null) You are confusing the field previous:
    private QueueNode previous ;with the method setPrevious:
    public void setPrevious(QueueNode previous)
        this.previous = previous ;
    }That would be like confusing your weight with trying to lose weight.
    Here is how a field might be used:
    temp.previous = null;
    other = temp.previous;
    if (another == temp.previous)Here is how setPrevious is used.
    temp.setPrevious(null);Does this make any sense?

  • Removing jsessionid parameter from url of Webdynpro iview

    Hi All,
             While i create a Webdynpro iview from SAP Webdynpro iview template, the generated url gets appended with the parameter jsessionid as shown.
    http://server:port/webdynpro/dispatcher/local/session/New_app;<b>jsessionid</b>=(J2EE14778100)ID1600385450DB11689045888563713719End
    I don't want this parameter to be appended and exposed in the url of the ivew. Is there any way i can hide/remove this parameter from the generated url?
    Regards,
    Vijay.K

    Hi All,
             I found that, the Webdynpro template which is an App-Integrator appends the parameter jsessionid to the generated URL. So, i tried changing some properties of the system regarding session, but i couldn't remove this parameter from URL.
    I also found that, custom Application integrators can also be developed. So, is it possible to get rid of the jsessionid parameter by developing a custom App-Integrator for Webdynpro application?
    Please help me in this regard.
    Regards,
    Vijay.K

  • CUP. How to remove a deleted active Request Type from Request Access screen

    Hi,
    I created a new Request Type in CUP, assigned actions, marked it active and saved.
    I then deleted the Request Type without first marking it as inactive.
    The request type is still visible on the 'Request Access' page but no longer visible on the 'Request Type' screen in Configuration.
    Is there a way to remove this from the 'Request Access' page without rebooting?
    Thanks,
    Babak

    Dude I just helped you pass the 1000 point barrier.
    Excellent answer, refreshing the cache in the Miscellaneous section worked.
    Well done.

  • Remove a name/value pair from request

    Hi, guys:
    I am trying to programmatically remove a name/value pair from
    request in my jsp file. For example, if I have a path like
    the following:
    http://localhost:8080/mysampleweb/initpage?isHome=true
    If I want to remove "isHome=true" and produce the following
    path:
    http://localhost:8080/mysampleweb/initpage
    Is there a way to do it?
    regards,

    I think you can use respose.sendRedirect(request.getRequestURI())

  • Passing a parameter from one class to another class in the same package

    Hi.
    I am trying to pass a parameter from one class to another class with in a package.And i am Getting the variable as null every time.In the code there is two classes.
    i. BugWatcherAction.java
    ii.BugWatcherRefreshAction.Java.
    We have implemented caching in the front-end level.But according to the business logic we need to clear the cache and again have to access the database after some actions are happened.There are another class file called BugwatcherPortletContent.java.
    So, we are dealing with three java files.The database interaction is taken care by the portletContent.java file.Below I am giving the code for the perticular function in the bugwatcherPortletContent.java:
    ==============================================================
    public Object loadContent() throws Exception {
    Hashtable htStore = new Hashtable();
    JetspeedRunData rundata = this.getInputData();
    String pId = this.getPorletId();
    PortalLogger.logDebug(" in the portlet content: "+pId);
    pId1=pId;//done by sraha
    htStore.put("PortletId", pId);
    htStore.put("BW_HOME_URL",CommonUtil.getMessage("BW.Home.Url"));
    htStore.put("BW_BUGVIEW_URL",CommonUtil.getMessage("BW.BugView.Url"));
    HttpServletRequest request = rundata.getRequest();
    PortalLogger.logDebug(
    "BugWatcherPortletContent:: build normal context");
    HttpSession session = null;
    int bugProfileId = 0;
    Hashtable bugProfiles = null;
    Hashtable bugData = null;
    boolean fetchProfiles = false;
    try {
    session = request.getSession(true);
    // Attempting to get the profiles from the session.
    //If the profiles are not present in the session, then they would have to be
    // obtained from the database.
    bugProfiles = (Hashtable) session.getAttribute("Profiles");
    //Getting the selected bug profile id.
    String bugProfileIdObj = request.getParameter("bugProfile" + pId);
    // Getting the logged in user
    String userId = request.getRemoteUser();
    if (bugProfiles == null) {
    fetchProfiles = true;
    if (bugProfileIdObj == null) {
    // setting the bugprofile id as -1 indicates "all profiles" is selected
    bugProfileIdObj =(String) session.getAttribute("bugProfileId" + pId);
    if (bugProfileIdObj == null) {
    bugProfileId = -1;
    else {
    bugProfileId = Integer.parseInt(bugProfileIdObj);
    else {
    bugProfileId = Integer.parseInt(bugProfileIdObj);
    session.setAttribute(
    ("bugProfileId" + pId),
    Integer.toString(bugProfileId));
    //fetching the bug list
    bugData =BugWatcherAPI.getbugList(userId, bugProfileId, fetchProfiles);
    PortalLogger.logDebug("BugWatcherPortletContent:: got bug data");
    if (bugData != null) {
    Hashtable htProfiles = (Hashtable) bugData.get("Profiles");
    } else {
    htStore.put("NoProfiles", "Y");
    } catch (CodedPortalException e) {
    htStore.put("Error", CommonUtil.getErrMessage(e.getMessage()));
    PortalLogger.logException
    ("BugWatcherPortletContent:: CodedPortalException!!",e);
    } catch (Exception e) {
    PortalLogger.logException(
    "BugWatcherPortletContent::Generic Exception!!",e);
    htStore.put(     "Error",CommonUtil.getErrMessage(ErrorConstantsI.GET_BUGLIST_FAILED));
    if (fetchProfiles) {
    bugProfiles = (Hashtable) bugData.get("Profiles");
    session.setAttribute("Profiles", bugProfiles);
    // putting the stuff in the context
    htStore.put("Profiles", bugProfiles);
    htStore.put("SelectedProfile", new Integer(bugProfileId));
    htStore.put("bugs", (ArrayList) bugData.get("Bugs"));
    return htStore;
    =============================================================
    And I am trying to call this function as it can capable of fetching the data from the database by "getbugProfiles".
    In the new class bugWatcherRefreshAction.java I have coded a part of code which actually clears the caching.Below I am giving the required part of the code:
    =============================================================
    public void doPerform(RunData rundata, Context context,String str) throws Exception {
    JetspeedRunData data = (JetspeedRunData) rundata;
    HttpServletRequest request = null;
    //PortletConfig pc = portlet.getPortletConfig();
    //String userId = request.getRemoteUser();
    /*String userId = ((JetspeedUser)rundata.getUser()).getUserName();//sraha on 1/4/05
    String pId = request.getParameter("PortletId");
    PortalLogger.logDebug("just after pId " +pId);  */
    //Calling the variable holding the value of portlet id from BugWatcherAction.java
    //We are getting the portlet id here , through a variable from BugWatcherAction.java
    /*BugWatcherPortletContent bgAct = new BugWatcherPortletContent();
    String portletID = bgAct.pId1;
    PortalLogger.logDebug("got the portlet ID in bugwatcherRefreshAction:---sraha"+portletID);*/
    // updating the bug groups
    Hashtable result = new Hashtable();
    try {
    request = data.getRequest();
    String userId = ((JetspeedUser)data.getUser()).getUserName();//sraha on 1/4/05
    //String pId = (String)request.getParameter("portletId");
    //String pId = pc.getPorletId();
    PortalLogger.logDebug("just after pId " +pId);
    PortalLogger.logDebug("after getting the pId-----sraha");
    result =BugWatcherAPI.getbugList(profileId, userId);
    PortalLogger.logDebug("select the new bug groups:: select is done ");
    context.put("SelectedbugGroups", profileId);
    //start clearing the cache
    ContentCacheContext cacheContext = getCacheContext(rundata);
    PortalLogger.logDebug("listBugWatcher Caching - removing markup content - before removecontent");
    // remove the markup content from cache.
    PortletContentCache.removeContent(cacheContext);
    PortalLogger.logDebug("listBugWatcher Caching-removing markup content - after removecontent");
    //remove the backend content from cache
    CacheablePortletData pdata =(CacheablePortletData) PortletCache.getCacheable(PortletCacheHelper.getUserHandle(((JetspeedUser)data.getUser()).getUserName()));
    PortalLogger.logDebug("listBugWatcher Caching User: " +((JetspeedUser)data.getUser()).getUserName());
    PortalLogger.logDebug("listBugWatcher Caching pId: " +pId);
    if (pdata != null)
    // User's data found in cache!
    PortalLogger.logDebug("listBugWatcher Caching -inside pdata!=null");
    pdata.removeObject(PortletCacheHelper.getUserPortletHandle(((JetspeedUser)data.getUser()).getUserName(),pId));
    PortalLogger.logDebug("listBugWatcher Caching -inside pdata!=null- after removeObject");
    PortalLogger.logDebug("listBugWatcher Caching -finish calling the remove content code");
    //end clearing the cache
    // after clearing the caching calling the data from the database taking a fn from the portletContent.java
    PortalLogger.logDebug("after clearing cache---sraha");
    BugWatcherPortletContent bugwatchportcont = new BugWatcherPortletContent();
    Hashtable httable= new Hashtable();
    httable=(Hashtable)bugwatchportcont.loadContent();
    PortalLogger.logDebug("after making the type casting-----sraha");
    Set storeKeySet = httable.keySet();
    Iterator itr = storeKeySet.iterator();
    while (itr.hasNext()) {
    String paramName = (String) itr.next();
    context.put(paramName, httable.get(paramName));
    PortalLogger.logDebug("after calling the databs data from hashtable---sraha");
    } catch (CodedPortalException e) {
    PortalLogger.logException("bugwatcherRefreshAction:: Exception- ",e);
    context.put("Error", CommonUtil.getErrMessage(e.getMessage()));
    catch (Exception e) {
    PortalLogger.logException("bugwatcherRefreshAction:: Exception- ",e);
    context.put(     "Error",CommonUtil.getErrMessage(ErrorConstantsI.EXCEPTION_CODE));
    try {
    ((JetspeedRunData) data).setCustomized(null);
    if (((JetspeedRunData) data).getCustomized() == null)
    ActionLoader.getInstance().exec(data,"controls.EndCustomize");
    catch (Exception e)
    PortalLogger.logException("bugwatcherRefreshAction", e);
    ===============================================================
    In the bugwatcher Action there is another function called PostLoadContent.java
    here though i have found the portlet Id but unable to fetch that in the bugWatcherRefreshAction.java . I am also giving the code of that function under the bugWatcherAction.Java
    ================================================
    // Get the PortletData object from intermediate store.
    CacheablePortletData pdata =(CacheablePortletData) PortletCache.getCacheable(PortletCacheHelper.getUserHandle(
    //rundata.getRequest().getRemoteUser()));
    ((JetspeedUser)rundata.getUser()).getUserName()));
    pId1 = (String)portlet.getID();
    PortalLogger.logDebug("in the bugwatcher action:"+pId1);
    try {
    Hashtable htStore = null;
    // if PortletData is available in store, get current portlet's data from it.
    if (pdata != null) {
    htStore =(Hashtable) pdata.getObject(     PortletCacheHelper.getUserPortletHandle(
    ((JetspeedUser)rundata.getUser()).getUserName(),portlet.getID()));
    //Loop through the hashtable and put its elements in context
    Set storeKeySet = htStore.keySet();
    Iterator itr = storeKeySet.iterator();
    while (itr.hasNext()) {
    String paramName = (String) itr.next();
    context.put(paramName, htStore.get(paramName));
    bugwatcherRefreshAction bRefAc = new bugwatcherRefreshAction();
    bRefAc.doPerform(pdata,context,pId1);
    =============================================================
    So this is the total scenario for the fetching the data , after clearing the cache and display that in the portal.I am unable to do that.Presently it is still fetching the data from the cache and it is not going to the database.Even the portlet Id is returning as null.
    I am unable to implement that thing.
    If you have any insight about this thing, that would be great .As it is very urgent a promt response will highly appreciated.Please send me any pointers or any issues for this I am unable to do that.
    Please let me know as early as possible.
    Thanks and regards,
    Santanu Raha.

    Have you run it in a debugger? That will show you exactly what is happening and why.

  • Error while running a Discoverer Workbook with parameter from command line

    I am trying to run a discoverer report from command line and export the results in xls on to my local machine. I could do it fine for a simple workbook, but if I add a parameter(madatory) to the workbook and run it from command line specifying the parameter value I wanted to run the report for, I do not get any results. Here is the command line I am using.
    dis51usr.exe /connect user/password@database /apps_user /apps_responsibility "System Administrator" /eul EUL_US /open C:\Disco\Test.DIS /sheet Testsheet /parameter Period Jan-07 /export xls C:\Disco\X.xls /batch
    Parameter value is entered in correct format(Jan-07).
    When I removed /batch from this to see if I get any error, Discoverer Desktop opened up, logged in and gets terminated saying 'Oracle Discoverer Desktop has encountered a problem and need to close. We are sorry for the inconvenience.'
    Did anybody come across this issue before?

    Hello,
    If you have a few minutes, Windows is also aborting for me:
    the differences are, my situation is:
    a) am running the command line from a .bat file
    b) am NOT running with parms, want the discoverer query to come up for the user
    c) am running a query from the database
    i am signing in as myself BUT running a query that was created by a generic user called SREG
    c) if i run the .bat file from Windows Explorer, the query opens fine
    d) if i execute the .bat file from within Microsoft Access using the shell command,
    the query opens and then aborts RIGHT BEFORE the parm screen would display
    e) btw, if i modify the .bat file, to run a query from MY database signon, then (d) - running .bat file
    from vb using SHELL command works
    Do you have a ideas as to why (d) does not work? I would be very grateful for your time, tx, sandra
    this is what i posted yesterday, tx: Re: Running Discoverer command line
    tx, sandra

  • Clearing variable from Request object

    Hi everyone,
    After getting value from request.getParameter("var"), I want to clear this "var" variable from request scope. So that in the next coming statements if i again call the same request.getParameter("var") statement than it must return null
    So how to handle this issue of clearing certain variable from request scope or flushing the whole request object

    I don't know what you are trying to do but it sounds confused. I would suggest you read the parameter once, at the beginning of the code. Store it in a variable and use that variable as necessary. If you still need help then would you explain what you are trying to achieve here.

  • Pass parameter from page link to report

    <span><font face="Verdana, Geneva, Arial, Sans-serif" size="2">How can I pass 3 parameter values from a link on one page to a report or CrystalReportViewer.<br /><br />Report is a CR/VS 2005 web report in C#<br /><br />Parameter fields in the report are:<br />   CampaignID<br />   BeginDate<br />   EndDate</font> <p><font face="Verdana, Geneva, Arial, Sans-serif" size="2">So say link page URL looks like this:<br /></font><a href="http://localhost/reports/campaign_report/default.aspx?CampaignID=61325&BeginDate=1/1/2006&EndDate=1/2/2006" target="_blank" title="http://localhost/reports/campaign_report/default.aspx?CampaignID=61325&BeginDate=1/1/2006&EndDate=1/2/2006"><font face="Verdana, Geneva, Arial, Sans-serif" size="2">http://localhost/reports/campaign_report/default.aspx?CampaignID=61325&BeginDate=1/1/2006&EndDate=1/2/2006</font></a><br /><font face="Verdana, Geneva, Arial, Sans-serif" size="2">and I want to pass these values to the report and bypass the Parameter Prompt Page.</font></p><p><font face="Verdana, Geneva, Arial, Sans-serif" size="2">When i run this link the report viewer page says "missing parameters"</font></p><p><font face="Verdana, Geneva, Arial, Sans-serif" size="2">Do I need to add something to the default.aspx.cs page?<br /></font><font color="#0000ff">--<br /><br /><font face="Verdana, Geneva, Arial, Sans-serif" size="2">protected</font></font><font face="Verdana"><font size="2"> <font color="#0000ff">void</font> Page_Load(<font color="#0000ff">object</font> sender, <font color="#008080">EventArgs</font></font></font><font face="Verdana" size="2"> e)<br />{<br />     Parameter.Field1 = (CampaignID);<br />     Parameter.Value1 = Request.QueryString("CampaignID");<br />     ...??<br />}<br /><br />--
    <br /></font><font face="Verdana" size="2">Any help would be greatly appreciated?<br /><br />Thank you,<br />Jason</font> </p></span>

    Â Hi Jason
     You are correct. The Viewer object will not automatically look at the URL and try to assign the values. You need to grab these values from the URL and properly assign them to the parameter objects.
    Rob Horne
    [My Blog | /blog/10]

  • Cannot remove an update request in Mac App Store

    A friend used my macbook pro to purchase an app. I no longer wanted that app and deleted it.  However, the Mac App Store keeps asking me to update the app and when I click on 'update' it asks for my friend's App Store ID.  I would like to remove this update request so I can get back to using update all.
    Anyone know which file on my Mac holds these requests?

    Any ideas on what that file is called?
    Yes, it's called a pirated app. Most of the times that folks see an update for Angry Birds and an Apple ID of someone else, it means that they have a pirated app. Angry Birds is not on their Mac, but someone has cracked an app that is sold in the Mac App Store (MAS) with the MAS-receipt from the free Angry Birds app.
    This is the method that I came up with last year when pirated apps first started showing up after the advent of the MAS.
    Finding a pirated app -
    When a stranger's Apple ID appears on your Mac in conjunction with an update for an app that you have never installed, you have a pirated app on your Mac. This pirated app has been cracked with the MAS receipt from the Angry Birds app acquired by the person whose Apple ID you see.
    You may not have realized that it was a pirated app when you installed it. You may have believed that it was a trail version or a "free" version.
    All MAS apps have a MAS receipt in their app bundle. Check any app acquired from the MAS. Right click on the app's icon in your Apps folder and choose Show package contents. In the Contents folder is a _MASReceipt folder and in that folder is the coded MAS receipt. It has the Apple ID of the MAS account that bought/acquired the app from the MAS. It is that receipt that the MAS uses to alert you that an app has an update. There would not be a notice of an update with someone else's Apple ID showing in the MAS on your Mac, if there was not an app with a receipt from this person's account somewhere on your Mac.
    Download the free app FindAnyFile (FAF);
    http://apps.tempel.org/FindAnyFile/
    This app is easier to use and seems to be more powerful than Spotlight. Open FAF and in the box type _MASReceipt and press Find. It should come up with a list of every app on the Mac with a MAS receipt. Compare the apps with receipts in FAF's list with your purchased apps list in the Mac App Store. The odd app out should be the pirated app.

  • ABAP program to take input parameter from variant, execute KSB1 and export

    Hi Friends,
    My client asking  change request in CO
    The Change request is "ABAP program to take input parameter from variant, execute KSB1 and export the output into an excel sheet and park the document in a designated location"
    Pls let me know  actually i am a FICO consultant what i can do in this change request
    Thanks,
    Santi

    Hi
    First I dont you would need to create a ABAP to generate the report in Excel.
    You can look at this option. Execute the report Go to->Change Layout, Click on the view option, On the Preferred View Select Microsoft Excel, Save the layout, provide a layout name with /XYZ.
    Now when you want to execute KSB1 with excel, just execute KSB1 with /XYZ layout, it would open in Excel, export to which ever location you want.
    Or just simply save the report as Excel using the Excel button on the tool bar.
    Regards,
    Suraj

Maybe you are looking for