Passing String Parameters using forward tag

Hi...
Can anyone please tell me how to pass string parameters using the forward tag, and how to access it?
And while we're at it, can one pass a String variable using <forward> ?
Thanks... :-)

PS...
Does anyone know what this error is:
NullPointerException at PageContext.forward(...) Thanks again...

Similar Messages

  • Pass two parameters using extraParams attribute in protlet:createWebFlowURL tag

    Ho do I pass two parameters using extraParams attribute in portlet:createWebFlowURL?

    <portlet:createWebFlowURL event="RTFM" extraParams="read=manual&do=you">
    "Linda" <[email protected]> wrote:
    >
    Ho do I pass two parameters using extraParams attribute in portlet:createWebFlowURL?

  • Passing VM Parameters through Applet Tag

    Is there some way to pass Runtime JVM parameters through the Applet Tag?
    something like -D"java.security.policy="xxx"
    <Applet >
    <Param Name="JVM_PARAM" Value="-D"java.security.policy="xxx"">
    </Applet>

    Is there a way to set JVM parameters directly in the applet tag? i.e., not by passing generic parameters and then calling setProperty, and not by setting the JVM parameters in the Plug-in control panel.
    For some reason, setProperty will not work correctly in my applet. I can set the new property value, immediately do a getProperty and verify that the new value is returned, but the JVM still uses the old value throughout the life of the applet.
    And I don't want to set the parameter in the control panel, because I don't won't this parameter set for all applets that use the plug-in.
    Thanks,
    Ken

  • Reports 6i Encrypting query string parameters using Web.Show_Document()

    I am developing Forms 6i form which initiates a report on our reports server (using rwcgi60) using a call to Web.Show_Document(). However, we pass several parameters to the report from the form which we'd like to encrypt, otherwise they're likely to be abused.
    For example, I might have something like:
    http://www.myserver.com/dev60cgi/rwcgi60?report=MYREPORT&p_unsecure_param=1234
    I am aware of the following document which describes how to use a JavaBean implmentation and client cookie to hide sensitive information using a client side cookie - but this appears to be specific to hiding user logon information - can it be extended to cover any parameter on the query string?
    http://www.oracle.com/technology/products/forms/pdf/secure_webshowdoc_rep6i.pdf
    ...or will I have to provide my own solution - e.g. perhaps using the DBMS_OBFUSCATION encryption and decryption functions to pass an encrypted parameter string to the report, and have the report decrypt the string on the reports server....
    I should probably point out that the parameter values are dynamic - not static, so adding an entry to cgicmd.dat isn't going to solve my problem.
    Any ideas?
    Shane

    Frank,
    Thanks for confirming this - this is what I had suspected - just wanted to check that there wasn't already some inbuilt functionality which I had overlooked. DBMS_OBFUSCATION_TOOLKIT it is then!
    Shane

  • Problem in relativeURL using forward tag

    Hi,
         I have two folders namely first and second, which is under root of Tomcat Apache 4.0 (i.e webapps). In first folder I have one.jsp and second folder two.jsp.
    One.jsp
    <jsp:forward page=�/second/two.jsp� />
    tow.jsp
    <%
    out.println(�Second folder�);
    %>
         if I execute the one.jsp, server shows the given error.
    Apache Tomcat/4.0.3 - HTTP Status 404 - /second/two.jsp
    type Status report
    message /second/two.jsp
    description The requested resource (/second/two.jsp) is not available.
    If I give the full url like this http://localhost/second/two.jsp in forward tag. server shows the given error.
    if I execute the one.jsp, server shows the given error.
    Apache Tomcat/4.0.3 - HTTP Status 404 - /http://localhost/second/two.jsp
    type Status report
    message /http://localhost/second/two.jsp
    description The requested resource (/http://localhost/second/two.jsp) is not available.
    pleace guide me.
    regards,
    mohan.

    If I use ../ second/two.jsp, server throws the exception.
    type Exception report
    message Internal Server Error
    description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
    at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:414)
    note : In page tag i.e <%@ page language="java" buffer="24kb" %> or
    <%@ page language="java" %> . I get the same error.
    But if I set buffer="none" for page tag, will not forward i.e terminated before forward tag.
    Reg,
    Mohan.

  • How to pass request parameters using html:link in struts

    Hi All,
    I am trying to send parameters to action class using <html:link>.
    Can anybody give sample code how to do it?
    Thanks in advance.
    By
    K.Siva Prasad Reddy

    hi,
    you can pass the parameters in link like this
    http://www.xyz.com&username=someuserID&password=somePassword
    username and password are parameters which you want to pass as paramets to server..hope this will work for you...
    Thanks
    Surya

  • Failure using {CALL } syntax & passing string params w/ # (hash)

    We are experiencing a problem calling functions using the {CALL } syntax and passing string parameters that contain # (hash) symbols. Apparently, something interprets the # inside the string literal and fails the call.
    We use this syntax with procedure calls from a Java applet to an Oracle 8i database using the 8.1.6.2.0 ODBC Oracle driver. The applet is running under the Java 1.3.1 plug-in and we are using a third party JDBC, type III, driver from JDataConnect to link the applet to the Oracle ODBC driver.
    Any insight on this would be greatly appreciated.

    What's the result of con.getAutoCommit()?
    You might try con.setAutoCommit(true) to see if that sorts it.
    /k1

  • Encrypt query string parameters

    Hi All,
     I have a SharePoint designer workflow email. I want to send encrypted link to users within email. Is there any way to send encrypted query string parameters?
     Please guide me how to send parameters with url in email so that users cannot see it.
      All suggestions are highly appreciated.
    Regards and Thanks 

    Hi,
    Per my knowledge, we can't Encrypt query string parameters in SharePoint Designer.
    As a workaround, we can encrypt query string parameters using C# code and store the URL in a list. Then we can get the URL in SharePoint Designer.
    http://www.codeproject.com/Articles/33350/Encrypting-Query-Strings
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part

    Hi,
    I want to pass multiple query string values using the same parameter in Query String (URL) Filter Web Part like mentioned below:
    http://server/pages/Default.aspx?Title=Arup&Title=Ratan
    But it always return those items whose "Title" value is "Arup". It is not returned any items whose "Title" is "Ratan".
    I have followed the
    http://office.microsoft.com/en-us/sharepointserver/HA102509991033.aspx#1
    Please suggest me.
    Thanks | Arup
    THanks! Arup R(MCTS)
    SucCeSS DoEs NOT MatTer.

    Hi DH, sorry for not being clear.
    It works when I create the connection from that web part that you want to be connected with the Query String Filter Web part. So let's say you created a web part page. Then you could connect a parameterized Excel Workbook to an Excel Web Access Web Part
    (or a Performance Point Dashboard etc.) and you insert it into your page and add
    a Query String Filter Web Part . Then you can connect them by editing the Query String Filter Web Part but also by editing the Excel Web Access Web Part. And only when I created from the latter it worked
    with multiple values for one parameter. If you have any more questions let me know. See you, Ingo

  • Use hyperlink to open another page , and pass some parameters to that page

    Hi
    Thank you for reading my post.
    How i can use hyperlink to open another jsp file in a new window meanwhile pass some parameters to it.
    for example i need something like this :
    http://127.0.0.1:8080/myProj/faces/Viewmessage.jsp?messageID=10
    i can not use session bean because i must open that in a new window and use hyperlink not Action
    Thank you

    I tried the following in the equivalent of your Viewmessage (page bean):
            ExternalContext eContext = FacesContext.getCurrentInstance().getExternalContext();
            String text = "Parameters: ";
            Iterator it = eContext.getRequestParameterNames();
            Map requestParams = eContext.getRequestParameterMap();
            while (it.hasNext()) {
                String key = (String)it.next();
                String value = (String)requestParams.get(key);
                text += "; " + key + " = " + value;
            staticText1.setText(text);That works as expected when you reach that new page via a hyper link.
    The session object is also the same as in your `old' window. So be careful about synchronization!
    I hope this helps.
    -- Marco

  • Passing hard-coded string parameters into a FUNCTION

    I created a Function that accepts two INT and two VARCHAR2 parameters. I want to access it in a SELECT statement and manually pass in parameters to it.
    For example,
    SELECT FN_MYFUNC(10, 20, 'string1', 'string2') FROM DUAL;
    However, when I do this the hard-coded strings don't seem to be recognized by the Function. But, if I were to pass in a Fieldname from a TABLE then the above function works. Is there something extra I need to do to pass in hard-coded strings into a function?

    I have pasted the function where this problem is occuring below. If I use it in a SELECT, for example....
    SELECT fn_GetRegValueFromRegData(3, 3, 'REG', '119') FROM DUAL;
    .....it returns blank everytime when it should return a numeric value. However, this only occurs if I hard-code the parameter values (like above). However, if I pass in fieldnames from a TABLE, for example.....
    SELECT fn_GetRegValueFromRegData(RegLink, EeLink, ChqType, RegCode) FROM RegData;
    ......then I get data back! Any idea why data is returned when I pass in fieldnames but not when I pass in hard-coded parameter values?
    =================================================
    CREATE OR REPLACE FUNCTION fn_GetRegValueFromRegData
    (p_RegLink INT,
    p_EELink INT,
    p_ChequeType VARCHAR2,
    p_RegCode1 VARCHAR2,
    p_RegCode2 VARCHAR2 := '-1')
    RETURN NUMBER
    AS
    v_regvalue NUMBER(14,5);
    BEGIN
    BEGIN
    --retrieve data using the REGCODE1 value
    SELECT a.regvalue INTO v_regvalue
    FROM regdata a
    WHERE a.RegCode = p_RegCode1
    AND a.RegLink = p_RegLink
    AND a.eeLink = p_EELink
    AND a.ChqType = p_ChequeType
    AND a.EndDate IS NULL;
    EXCEPTION
    WHEN OTHERS
    THEN
    --retrieve data using the REGCODE2 value
    SELECT a.regvalue INTO v_regvalue
    FROM regdata a
    WHERE a.RegCode = p_RegCode2
    AND a.RegLink = p_RegLink
    AND a.eeLink = p_EELink
    AND a.ChqType = p_ChequeType
    AND a.EndDate IS NULL;
    END;
    RETURN v_regvalue;
    END;
    /

  • [svn:osmf:] 13412: WebPlayer: optimizing JS code to forward all query string parameters to WebPlayer.swf .

    Revision: 13412
    Revision: 13412
    Author:   [email protected]
    Date:     2010-01-11 02:02:20 -0800 (Mon, 11 Jan 2010)
    Log Message:
    WebPlayer: optimizing JS code to forward all query string parameters to WebPlayer.swf.
    Modified Paths:
        osmf/trunk/apps/samples/framework/WebPlayer/html-template/index.template.html
        osmf/trunk/apps/samples/framework/WebPlayer/src/Configuration.as

    ls -l /var/run/lighttpd/
    And how are you spawning the php instances? I don't see that in the daemons array anywhere.
    EDIT: It looks like the info in that page is no longer using pre-spawned instances, but lighttpd adaptive-spawn. The documentation has been made inconsistent it looks like.
    You will note that with pre-spawned information, the config looks different[1].
    You need to do one or the other, not both (eg. choose adaptive-spawn, or pre-spawn..not both).
    [1]: http://wiki.archlinux.org/index.php?tit … oldid=8051 "change"

  • I need to pass some parameters to my forward,like that:

    I need to pass some parameters to my forward,like that:
    www.something/myapp/newslist.do?sysId=4
    How can i passes parameters in Struts forward tag
    i want like
    <forward name="norecordfound" path="/ijscostandbillinginquiry.jsp?show=true&msg=norecordfound"/>
    How can i do ...now it's showing parsing error

    Just what can you do to the iPod?
    Can you restore to factory settings/new iPod via iTunes?
    iTunes: Restoring iOS software
    What about going to Settings>General>Reset>Erase all content and setting?

  • Probs sharing a report that uses SETPARAM to pass multiple parameters

    Ok we have master DB account Disco that creates reports. I also have oracle acct Duser for the users to run the reports.
    Per Metalink Note:304192.1, we've got the setparam stuff working to pass in date parameters into our sheet. This works fine when I run the report as Disco. When I try to share the report to Duser, it still prompts for the dates, but then the report returns all 0's for the results. I have no idea why this is happening.
    Any suggestions on how to share reports with other users that pass in parameters would be much appreciated. thanks!!
    Allen

    Hi Allen,
    I would always recommend that you use sys_context to pass parameters. You can search this site for sys_context or take a look at (Re: Passing multiple parameters into Custom Folder... for more details.
    Rod West

  • What is the use of passing String[] args in main() method?

    what is the use of passing String[] args in main() method?
    Is there any specific use for this ?

    actually my sir asked me the same question & I gave
    the same reply as given by you........but he further
    asked what is the use of this also??
    ie accepting cmd line args at runtime??is there any
    specific purpose ??Apart from the one you just mentioned? No

Maybe you are looking for