Passing Information from UCCX call variables through trunk SIP to Astersik

                   Hi All,
We need to pass some informations from our UCCX 8.5SU3/CUCM 8.6.2a to our Asterisk Server.
This two PBX are connected by a trunk sip.
Is it possible to do it?I've read about sip header,but i've never work on it.
Is it possible with a javascript?
Could you please help us?
Thanks
Stefano

No. CCX uses JTAPI (CTI/QBE) to integrate with CUCM, not SIP. As such there is no mechanism for it to manipulate or add extra SIP headers. You would need to use one of the native scripting options (e.g. ODBC, HTTP GET/POST, SMTP) or write a custom Java class that can interface natively with the other application. Examples of this exist such as the excellent documents on SFTP, CIFS, and LDAP.
Please remember to rate helpful responses and identify helpful or correct answers.

Similar Messages

  • Passing information from external asp file and getting it in the portal

    Hi,
    I think that the answer for my question is simple but I'm not sure how it is done.
    I would like to pass information from asp page(microsoft server pages) to the portal and extract the information in the portal
    I know how to how to pass the the information as POST or GET method
    but how do I extract the infomation within an iView ?
    and what is the portal URL I need to call from the asp page ? a page URL or an iView URL ?
    Thanks
    Y.R

    Hi,
    In order to use an ASP application in the portal u have to first create a system. In the System Definition Properties, give the url of your ASP page in the Name of server field and the name of the ASP page in the URI field.
    For more clear understanding, please go through the following document
    http://help.sap.com/bestpractices/crossindustry/enterpriseportal/v160/documentation/How-to_Guides/25_HowToUseAppIntegrator_en.pdf
    Best Regards
    Priya

  • How can I pass information from one portlet to another?

    First, some background...
    I am using Portal 5.0.2 and developing portlets using JSP/Java on a remote server.
    I need to pass information from a portlet on pageA to another portlet on pageB, but I can't do it using the traditional methods, such as query string, session, cookies, etc. due to either portal framework limitations or because of functional constraints (basically, a user will not necessarily be logged in to the portal, but he can view anything available to the GUEST user). Here are the different ways I've considered using to save state and their limitations:
    Query string: can't use this because portlets on remote servers don't have access to it
    Cookies: if user disables cookies, code will not function properly
    Session variables: limited to one user's connection with one portlet (i.e., can't access a session variable set in portletA from portletB)
    Application variables: because the user may not be logged in, I have no way of uniquely naming variables, which is a necessity in order to maintain state for EACH user
    User Settings: again, the user may not be logged in, so I can't use these
    PCC: can't access client-side variables because server-side JSP executes first
    Are my assumptions above correct? Has anyone had any success using one of these methods given the same constraints, or does anyone have an alternative solution? I'd certainly appreciate any help anyone could provide.
    Thanks,
    Jose

    One possibility would be to use a Login PEI to set a unique UserInfo Name/Value for the user. I think in 5.0 each guest session is unique, so would have unique UserInfo. Then you could pass this value to your portlet (by specifying it in the web service) and use it as a key into a Application-scoped hashmap where you store your info. In other words, your Application variables option, but you have a way of uniquely naming your variables via PEI-set UserInfo.

  • Passing information from an iView to SAP - ESS Related

    Hi,
    How do you pass information from an iView to SAP?
    For example, in my task the User will log into ESS.
    Then they will click on the iView link and be prompted with a dialog for their service number (how is that done)?
    Now, on SAP's side (backend), I need to take that service number and their user id and pass it to the transaction.
    For the service number, I will have to add leading zero's.
    How is this done?
    What is the ESS cookbook and does anyone have it?
    Thanks,
    John

    Thank you for the response - it gives me a better idea of how this system works.
    But how would you modify the information that is being passed? Would it be passed to a structure, which can be accessed from within SAP? For example, the medical service number would be entered as 15. It would be stored and then my program would extract that number, add leading zero's and call the relevant transaction.
    Please help.

  • HT201250 how can i pass information from one mac to another mac by using the time capsule

    how can i pass information from one mac to another mac by using the time capsule

    If you want to transfer files, settings, etc., you must open Migration Assistant (Applications > Utilities) in the Mac that you want to transfer the files and follow the instructions

  • Passing information from JClient to View Object

    What would be best way to pass information from JClient to View Object. I would like to implement security system, where view object would take information about what specific users can do (not oracle users, I would like to have one user to connect to database only) from an oracle table or stored procedure. Now I need to pass information about user: user name, IP, application etc. to View Object. I have two ideas for possible solution:
    a) dynamic attributes
    b) exporting methods (with custom interface)
    Any suggestions ?
    Todi

    What would be best way to pass information from JClient to View Object. I would like to implement security system, where view object would take information about what specific users can do (not oracle users, I would like to have one user to connect to database only) from an oracle table or stored procedure. Now I need to pass information about user: user name, IP, application etc. to View Object. I have two ideas for possible solution:
    a) dynamic attributesPreferable if you need to store per row information that's dynamic/required for client.
    b) exporting methods (with custom interface)Preferable if it's a one time setup kind of information. Though even that can be achieved by the dynamic attributes.

  • Passing Information From Socket to GUI

    Hi, I'm making a chat client, but I'm having trouble passing information from server's input stream to my GUI. I made two threads, one for sending and one for receiving, and I start them both when I click "connect" after I log in to the server. So what happens is I run my program, the frame appears as I want it to, and then I click connect, and after a little wait the button "unclicks" (or w/e) and nothing happens. I don't know why I am not receiving the messages from the server. If I make the program "GUI-less" it works, I can both send and receive messages via the console. But in the GUI, where I am sending/receiving via my two TextAreas, it doesn't work. Here's my code:
    (I apologize ahead of time for posting so much code in a thread, I tried to cut it down as best as I could.)
    BotWindow class (GUI) - Action Listeners
    public void createProps() {
            outText.setLineWrap(true);  //Text Areas
            outText.setForeground(Color.white);
            outText.setBackground(Color.blue);
            outText.setEditable(false);
            inText.setLineWrap(true);
            inText.setForeground(Color.white);
            connect.addActionListener(this);    //Action Listeners
            disc.addActionListener(this);
            submit.addActionListener(this);
    BotWindow class (GUI) - actionPerformed for connect/disc
    public void actionPerformed(ActionEvent evt) {
            JButton src = (JButton)evt.getSource();
            if(src == connect) {
                try {
                    bnet = new BattleNet("useast.battle.net");
                    bnet.logIn("dynobot1", "test");
                catch(Exception error) {
                    System.out.println(error);
            if(src == disc) {
                try {
                    BattleNet bnet = new BattleNet("useast.battle.net");
                    bnet.logOut();
                catch(Exception error) {
                    System.out.println(error);
    BattleNet class
    import java.io.*;
    import java.net.*;
    public class BattleNet extends SendAndReceive {
        Socket sock;
        InputStream in;
        OutputStream out;
        Send send;
        Receive receive;
        public BattleNet(String server) {
            try {
                sock = new Socket(server, 6112);
                in = sock.getInputStream();
                out = sock.getOutputStream();
                send = new Send(this.out);
                receive = new Receive(this.in);
            catch(Exception error) {
                System.out.println(error);
        public void logIn(String username, String password) {
            byte[] u = username.getBytes();
            byte[] p = password.getBytes();
            try {
                out.write((byte) 0x03);
                out.write((byte) 0x04);
                out.write(u);
                out.write((byte) 0x0a);
                out.write(p);
                out.write((byte) 0x0a);
                receive.start();
                send.start();
            catch(IOException e) {
                System.out.println(e);
        public void logOut() {
            try {
                sock.close();
                in.close();
                out.close();
            catch(Exception error) {
                System.out.println(error);
    SendAndReceive class (with Threads as subclasses)
    import java.io.*;
    import java.net.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class SendAndReceive implements ActionListener {
        JButton src = null; 
        public SendAndReceive() {} 
        public void actionPerformed(ActionEvent evt) {
            src = (JButton)evt.getSource();
    class Send extends Thread {
        OutputStream out;
        SendAndReceive sr = new SendAndReceive();
        BotWindow bw = new BotWindow();
        public Send(OutputStream inputOut) {
            out = inputOut;
        public void run() {
            if(sr.src == bw.submit) {
                String newLine = "\n";
                String messageOut = bw.inText.getText();
                bw.outText.setText(bw.outText.getText() + newLine + messageOut);
                byte[] m = messageOut.getBytes();
                try {
                    out.write((byte) 0x05);
                    out.write(m);
                catch(IOException e) {
                    System.out.println(e);
                String blank = "";
                bw.inText.setText(blank);
                sr.src = null;
    class Receive extends Thread {
        InputStream in;
        SendAndReceive sr = new SendAndReceive();
        BotWindow bw;
        public Receive(InputStream inputIn) {
            in = inputIn;
            bw = new BotWindow();
        public void run() {
            while(true) {  //thinking of doing while(sr.src != bw.submit)
                try {
                    bw.outText.setText(bw.outText.getText() + (char)in.read());
                catch(IOException e) {
                    System.out.println(e);
    }So, to repeat my question, why isn't my GUI receiving the data being passed to it from the BattleNet socket? Also, am I taking the right approach on separating the send and receive methods and is my threading correct?

    Just Look at this code...
    while(true) {  //thinking of doing while(sr.src != bw.submit)
    try {
    bw.outText.setText(bw.outText.getText() + (char)in.read());
    catch(IOException e) {
    System.out.println(e);
    The problematic area is this code itself.
    Try to read text Line by Line basis. You can do this by using readLine() rather than read().
    The modified code should be like this:
    while(true) {  //thinking of doing while(sr.src != bw.submit)
    try {
    String TextRead=in.readLine();
    String Prev_text=bw.outText.getText();
    String new_Text=Prev_text + new_Text;
    bw.outText.setText(new_Text);
    catch(IOException e) {
    System.out.println(e);
    This would make the code easy to read and modify.
    I have faced these kindaa problems during my JAVA project coding. However they have been solved by using a much simpler approach like the one I have used. Although they do the same thing, but anyhow it provides a better result for reasons quite unknown to me!!!

  • Passing Information From Server to GUI

    Hi, I'm making a chat client, but I'm having trouble passing information from server's input stream to my GUI. I made two threads, one for sending and one for receiving, and I start them both when I click "connect" after I log in to the server. So what happens is I run my program, the frame appears as I want it to, and then I click connect, and after a little wait the button "unclicks" (or w/e) and nothing happens. I don't know why I am not receiving the messages from the server. If I make the program "GUI-less" it works, I can both send and receive messages via the console. But in the GUI, where I am sending/receiving via my two TextAreas, it doesn't work. Here's my code:
    (I apologize ahead of time for posting so much code in a thread, I tried to cut it down as best as I could.)
    actionPerformed method for connect and disconnect buttons (in BotWindow class)
    public void actionPerformed(ActionEvent evt) {
            JButton src = (JButton)evt.getSource();
            if(src == connect) {
                try {
                    bnet = new BattleNet("useast.battle.net");
                    bnet.logIn("dynobot1", "test");
                catch(Exception error) {
                    System.out.println(error);
            if(src == disc) {
                try {
                    BattleNet bnet = new BattleNet("useast.battle.net");
                    bnet.logOut();
                catch(Exception error) {
                    System.out.println(error);
    BattleNet class
    import java.io.*;
    import java.net.*;
    public class BattleNet extends SendAndReceive {
        Socket sock;
        InputStream in;
        OutputStream out;
        Send send;
        Receive receive;
        public BattleNet(String server) {
            try {
                sock = new Socket(server, 6112);
                in = sock.getInputStream();
                out = sock.getOutputStream();
                send = new Send(this.out);
                receive = new Receive(this.in);
            catch(Exception error) {
                System.out.println(error);
        public void logIn(String username, String password) {
            byte[] u = username.getBytes();
            byte[] p = password.getBytes();
            try {
                out.write((byte) 0x03);
                out.write((byte) 0x04);
                out.write(u);
                out.write((byte) 0x0a);
                out.write(p);
                out.write((byte) 0x0a);
                receive.start();
                send.start();
            catch(IOException e) {
                System.out.println(e);
        public void logOut() {
            try {
                sock.close();
                in.close();
                out.close();
            catch(Exception error) {
                System.out.println(error);
    SendAndReceive class (with Threads as subclasses)
    import java.io.*;
    import java.net.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class SendAndReceive implements ActionListener {
        JButton src = null; 
        public SendAndReceive() {} 
        public void actionPerformed(ActionEvent evt) {
            src = (JButton)evt.getSource();
    class Send extends Thread {
        OutputStream out;
        SendAndReceive sr = new SendAndReceive();
        BotWindow bw = new BotWindow();
        public Send(OutputStream inputOut) {
            out = inputOut;
        public void run() {
            if(sr.src == bw.submit) {
                String newLine = "\n";
                String messageOut = bw.inText.getText();
                bw.outText.setText(bw.outText.getText() + newLine + messageOut);
                byte[] m = messageOut.getBytes();
                try {
                    out.write((byte) 0x05);
                    out.write(m);
                catch(IOException e) {
                    System.out.println(e);
                String blank = "";
                bw.inText.setText(blank);
                sr.src = null;
    class Receive extends Thread {
        InputStream in;
        SendAndReceive sr = new SendAndReceive();
        BotWindow bw;
        public Receive(InputStream inputIn) {
            in = inputIn;
            bw = new BotWindow();
        public void run() {
            while(true) {
                try {
                    bw.outText.setText(bw.outText.getText() + (char)in.read());
                catch(IOException e) {
                    System.out.println(e);
    }So, to repeat my questions, SendAndReceive class, but I'm not sure if this is the right approach.why isn't my TextArea (BotWindow.outText) not receiving and setting it's text to the information from the server? Is my threading correct? Also, with the way I set up the threads, will the Send function be able to send in the midst of the receive function? I tried to set it up so that it could by implementing ActionListener in my SendAndReceive class, but I am not sure if this is the correct approach.
    P.S. The reason I put this in Swing is because it works without a GUI/Swing components! If it will help, I will post the GUI-less program I made that works.

    Multi-post. Reply to this posting: http://forum.java.sun.com/thread.jspa?threadID=656211

  • Passing Information from one RS to another RS

    How can we pass the information from one RS to another RS?

    yes,from EM when I am testing the webservice it is returning the string properly .
    In my ESB application I am calling this service thru a SOAP Service and I am using a FileAdapter to capture the result.Now to configure the RS shall i choose 'Generate WSDL from schemas' i.e. the request -reply option or 'Select Existing WSDL option'?I am choosing the first one.Now whn I am defining the rule there is a node mismatch in my source and target during mapping.When I am invoking the RS from EM i am getting some exception that "input is null".

  • Need to pass information from MS access database to another prog

    Hi,
    I really need some help here...
    I need to pass selected information from my database to another information.
    I am able to select and display the infotmation but i am not sure how i can transfer the information to the next program. Can any one please offer me some assistance?
    My code is as follow:
    /* Getting data from PSM32 and displaying it *can work* */
    import java.net.URL;
    import java.sql.*;
    import java.lang.String;
    /** Application to create a Ganttchart * */
    public class PSMdb
    public static void main (String argv[])
    //SQLQueryFormat a = new SQLQueryFormat();
    System.out.println("\nEstablishing Connection - Pls Wait... \n");
    /** Get Info fr database**/
    try
         //Connect to the database specified in the URL
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         Connection con = DriverManager.getConnection("jdbc:odbc:PSM32");
         System.out.println("Connection Established.\n");
         //Create a SELECT statement object
         Statement statmt = con.createStatement();
         //Issue the SELECT statement
         String querySt = "SELECT Set, Name, Order " +
         "FROM PMETERS " +
         "WHERE Set = 'BRAKE.BAK' ";
         //Create and execute query
         ResultSet res = statmt.executeQuery(querySt);
           while (res.next())
                String Proj = res.getString(1); //get Proj Name
              String Task = res.getString(2); //get Task Name
              //Print statement
              System.out.println("" +Proj);
              System.out.println("" +Task);
           //Close Statement and Connection
         statmt.close();
         con.close();
         System.out.println("\nConnection Closed - Operation Successful.");
         catch(Exception E)
    //Print out the Exception Error
    System.out.println("Error:" +E );
    }And yes there is another problem. I can compile and run the program in a C:\folder but when i open the document in a project workspace, i cant compile the above code. Can any one please offer me assistance?
    Thanks a million.

    To NanookOITheNorth:
    Could you provide some more relevent information
    about what the other program is and how data should
    be transferred to it? API? Socket? File?was wanted to use the "return task" thing. Issit possible to use that?
    To annie79:
    my next program is supposed to retrive the events in the "task" field and display it in a applet. After retriving the tasks i will be getting the dates to produce the gantt chart. uses the jfree lib functions.
    the code for the applet is as follow
    /* original gantt chart program that can work*/
    import java.applet.*;
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    import java.util.Calendar;
    import java.util.Date;
    import org.jfree.chart.ChartFactory;
    import org.jfree.chart.ChartPanel;
    import org.jfree.chart.JFreeChart;
    import org.jfree.data.category.IntervalCategoryDataset;
    import org.jfree.data.gantt.Task;
    import org.jfree.data.gantt.TaskSeries;
    import org.jfree.data.gantt.TaskSeriesCollection;
    import org.jfree.data.time.SimpleTimePeriod;
    /** Application to create a Ganttchart * */
    public class Ganttchart extends JApplet{
    /** @param title , frame title **/
        public void init() {
            final IntervalCategoryDataset dataset = createDataset();
            final JFreeChart chart = createChart(dataset);
            // add the chart to a panel...
            final ChartPanel chartPanel = new ChartPanel(chart);
            // this size (500, 270) here doesn't matter cos this become the html control
            // how big u wan can change in the html code the width="800" height="600"
            chartPanel.setPreferredSize(new java.awt.Dimension(500, 270));
            setContentPane(chartPanel);
         * Creates a sample dataset for a Ganttchart.
         * @return The dataset.
        public static IntervalCategoryDataset createDataset() {
         //"Task" information should be retrived from the database to replace this current 1
            /*final TaskSeries s1 = new TaskSeries("Scheduled");
            s1.add(new Task("Write Proposal",
                   new SimpleTimePeriod(date(1, Calendar.APRIL, 2001),
                                        date(5, Calendar.APRIL, 2001))));
            s1.add(new Task("Obtain Approval",
                   new SimpleTimePeriod(date(9, Calendar.APRIL, 2001),
                                        date(9, Calendar.APRIL, 2001))));
            s1.add(new Task("Requirements Analysis",
                   new SimpleTimePeriod(date(10, Calendar.APRIL, 2001),
                                        date(5, Calendar.MAY, 2001))));
            final TaskSeries s2 = new TaskSeries("Actual");
            s2.add(new Task("Write Proposal",
                   new SimpleTimePeriod(date(1, Calendar.APRIL, 2001),
                                        date(5, Calendar.APRIL, 2001))));
            s2.add(new Task("Obtain Approval",
                   new SimpleTimePeriod(date(9, Calendar.APRIL, 2001),
                                        date(9, Calendar.APRIL, 2001))));
            s2.add(new Task("Requirements Analysis",
                   new SimpleTimePeriod(date(10, Calendar.APRIL, 2001),
                                        date(15, Calendar.MAY, 2001))));*/
            final TaskSeriesCollection collection = new TaskSeriesCollection();
            collection.add(s1);
            collection.add(s2);
            return collection;
         * Utility method for creating <code>Date</code> objects.
         * @param day  the date.
         * @param month  the month.
         * @param year  the year.
         * @return a date.
        private static Date date(final int day, final int month, final int year) {
            final Calendar calendar = Calendar.getInstance();
            calendar.set(year, month, day);
            final Date result = calendar.getTime();
            return result;
         * Creates a chart.
         * @param dataset  the dataset.
         * @return The chart.
        private JFreeChart createChart(final IntervalCategoryDataset dataset) {
            final JFreeChart chart = ChartFactory.createGanttChart(
                "Ganttchart",  // chart title
                "Task",              // domain axis label
                "Date",              // range axis label
                dataset,             // data
                true,                // include legend
                true,                // tooltips
                false                // urls
    //        chart.getCategoryPlot().getDomainAxis().setMaxCategoryLabelWidthRatio(10.0f);
            return chart;   
    }As for the "run the program in a C:\folder but when i open the
    document in a project workspace, i cant compile the
    above code. Can any one please offer me assistance?"The run time error that i get is "java.lang.NoSuchMethodError: main
    Exception in thread "main" "
    Please give me some leads on how i can cont to proceed?
    Thanks a lot

  • Passing information from webdynpro to CATS system

    Hi all,
    I have a webdynpro application, and i'd like to pass on information from my application to the CATS system.
    Can anyone throw some light on how to go ahead with this?
    Kindly respond at the earliest.
    Regards,
    lisha

    Hi Lisha.
    I'm working on that, and y use the following bapis to manage catsdb data:
    - BAPI_CATIMESHEETMGR_CHANGE
    - BAPI_CATIMESHEETMGR_DELETE
    - BAPI_CATIMESHEETMGR_INSERT
    Change and insert bapis have a table 'CATSRECORDS_IN' that i'm filling from webdynpro before execute the bapis. In this structure are the fields of catsdb that can be inserted or changed. The delete bapi has 'CATSRECORDS' table that only need the 'COUNTERS' which is the key field of catsdb.
    And i'm using the CATS_READ_TIMESHEET_DATA bapi to consult the data in catsdb.
    This bapi has E_CATSD structure, in this structure is the data organized like in CAT2 transaction.
    I hope it help u.
    Regards.
    Gregory.

  • Passing information from applet  to  java script  of same browser

    Hi
    i want to pass some information from applet button click to same browser window html elements where applet exist. how it can be possible
    Thanks
    Dev

    Use JSObject:
    html file:
         <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
                  height="0" width="0" >
            <param name="code" value="someApplet.class" />
            <!--[if !IE]> Mozilla/Netscape and its brethren -->
            <object classid="java:someApplet.class"
                    height="0" width="0"
                    mayscript=true>
            </object>
            <!-- <![endif]-->
          </object>
    <LABEL id="lblOutputText">This text is the HTML text </LABEL>applet
    // new class for jsObject!!!! compile this: javac -classpath "C:\Program Files\Java\jre1.5.0\lib\plugin.jar" someApplet.java
    // since jaws.jar does not exsist anymore
    // in 1.4.0 to compile: javac -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" someApplet.java
    // for msjvm use the -source 1.3 -target 1.1 option so the command looks like this:
    // javac -source 1.3 -target 1.1 -classpath "C:\j2sdk1.4.0_03\jre\lib\jaws.jar" someApplet.java
    import netscape.javascript.*;
    public class someApplet extends java.applet.Applet {
        JSObject win;
        public void init() {
             try{
                 win = JSObject.getWindow(this);
    // you need win.eval("window.close();"); // to close the window. if the current window is not a popup
    // opened by a parent with window.open than the user will get a waring, your next question probably will
    // be "can I stop this warning" and the answer is simple: NO
                 JSObject textBoxLabel = (JSObject) win.eval("document.getElementById('lblOutputText')");
                 textBoxLabel.setMember("innerHTML", "<center><h1>Some text from applet</h1></center>");
            }catch(Exception e){
                 e.printStackTrace();
    }

  • I cannot pass information from my Mac to my external hard drive, what can I do?

    Hello,
    This is my first Mac and I am new to all of it. I have an external hard drive that I use to use with my old PC . On the external hard drive box it says its compatible with both windows and Max os x. I can pass files from my external hard drive to Mac but I cannot pass files from my MacBook Air to my external hard drive. No messages comes up or anything explain why it simply doesnt allow me to do so. What can I do?

    Your hard drive is formatted NTFS for windows.  That format is read-only from OSx.  If it's not needed on Windows anymore, you can use Disk Utility and format it for the Mac.   Mac OS extended (Journaled)  - Partition Map scheme of GUID Partition table.
    Make sure to save any data from the drive as it will be wipped doing the above.

  • Passing information from one jsp to another

    Hi,
    I have a problem when trying to get information from a jsp page. Lets say that a jsp page has a textbox named "bannerurl" and it has the data "http://www.abcd.com?param1=2000?param2=3000". When I try to get the information in an other jsp file using request.getParameter("bannerurl"), I get only the following data - ""http://www.abcd.com?param1=2000". All information including and after the "&" is ignore. This could be because it is recognizing the information after the "&" as an other parameter. How do I solve this problem.
    Thanks.

    Hi
    Are the two jsps below roughly doing what you want your application to do?
    regards
    Stephen
    //jsps
    1st page
    <%@page contentType="text/html"%>
    <html>
    <head><title>JSP Page</title></head>
    <body>
              <form method="post" action="temp2.jsp">
              <table>
              <tr>
                   <td><span id="urlLabel">Enter url</span></td>
                   <td><input type="text" size="50" maxlength="50" name="urlField" /></td>
                   </tr>
              </table>
    <div>
    <input type="submit" value="Submit" name="urlTestField" />
    </div>
    <form>
    </body>
    </html>
    2nd page
    <%@page contentType="text/html"%>
    <html>
    <head><title>JSP Page</title></head>
    <body>
    <% out.write((String)request.getParameter("urlField"));%>
    </body>
    </html>

  • How can I pass information from jsp script to javascript

    Hi, there,
    in my project, after the user login successfully, I want to pop up a window using javascript to show some information retrieving from the database, for example, what's the user's firstname, lastname, visittimes, etc. these information is just visible in jsp script, so I don't know if there is a way to pass these information to javascript, for example, alert window to show these information to the user.
    any hint will be great appreciated!!
    thank you very much for your great help!!

    One possibility would be to use a Login PEI to set a unique UserInfo Name/Value for the user. I think in 5.0 each guest session is unique, so would have unique UserInfo. Then you could pass this value to your portlet (by specifying it in the web service) and use it as a key into a Application-scoped hashmap where you store your info. In other words, your Application variables option, but you have a way of uniquely naming your variables via PEI-set UserInfo.

Maybe you are looking for

  • Sender File Adapter: No Messages

    Hi, I have configured a sender file adapter to read a flat file using file format conversion, in the file poler mode using NFS. I could confirm that the File is being read, and the adapter status from the Adapter framework (is:port/AdapterFramework)

  • Ringer won't switch to vibrate-only mode

    I always keep the ringer volume all the way down to the vibrate setting on my 5s.  Not sure how it happened, but at some point my phone switched out of vibrate mode and now when I use the volume buttons on the side of my phone the volume will go up a

  • String to class object

    Hello, For example, if I have a public class named MY_info which has name and address fields, I want to store MY_info[] array into a string and then retrieve from the string. Is this possible. Otherwise is it possible to store MY_info[] in a cookie a

  • Is RAC node configuration  when disk array fails on one node .

    Hi , We recently had all the filesystem of node 1 of RAC cluster , turned into read only mode. Upon further investigation it was revealed that it was due to disks array failure on node 1 . The database instance on node 2 is up and running fine . The

  • Jdk1.4 on ipaq

    Hello, I need to run a network application, that has been written and compiled with jdk1.4, on a Compaq Ipaq running Linux. I can't find a JVM that supports 1.4 API for that PDA, can you help me? Thanks