Need help w/ JSP formating a page.

Ok. I need to make the following code work. I think it needs help w/ formating is all. Below is the JSP page I would like it in as well as where I think the code should go. Not shure how to get it to display the output though.
var fullSessionName;
Function startHODSession(sessionName) {
var i = document.HODApplet.startSession(sessionName);
if (i == 0) {
fullSessionName = sessionName + document.HODApplet.getSessionID();
I need to run that part of code and display the output on a webpage. Any help would be awosme as I am lost w/ JSP more of a vb kind of guy. but learning quickly. Thanks for any help or advice.
Thanks
My JSP file:
<%--
Document : index
Created on : Oct 7, 2008, 7:14:58 AM
Author : tl01mjf
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@page import ="java.applet.Applet" %>
<%@page import = "ibm.eNetwork.HOD.BaseApplet" %>
<%@page import = "ibm.eNetwork.HOD.HostOnDemand" %>
<%@page import = "ibm.eNetwork.HOD.JSHostOnDemand" %>
<%
CODE GOES HERE
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h2>Hello World!</h2>
<input type="text" name="AgentID" value="" />
<input type="submit" value="Push IT" name="id"/>
</body>
</html>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

Great catch on the aplet and maybe that is where I am going wrong. So let me back up a little and maybe you can get me out of my bind.
Basically what I want for a test app is: a little text box w/ a button. type in an number and click the button.
the button will then send the info to a terminal emulator. (ibm host on demand)
So that is what the 3 include statements where for. I got that from the API example.
so what I really need the page to do is print the list of connections.
so I need to get the latest session ID:
var fullSessionName;
Function startHODSession(sessionName) {
var i = document.HODApplet.startSession(sessionName);
if (i == 0) {
fullSessionName = sessionName + document.HODApplet.getSessionID();
Then run:
public int sendKeys1 (String text)
The string being what was put in the box.
for right now i do not need error checking and i know the screen will be on the right spot to accpet the input.
so if there is a better way to make it work using an applet....Im all for it.
any ideas would be great.
thanks

Similar Messages

  • Need help accessing the router web page.  I have been tol...

    Need help accessing the router web page.  I have been told my router is acting like a switch and the IP address is not in the proper range.  I have tried reseting the router (hold for 30 sec and unplug for 5 mins).  Didn't work.
    thanks

    What router are you using?  Almost all Linksys routers use 192.168.1.1 as the default local IP address, but there is at least one that uses 192.168.16.1 , namely the WTR54GS  (not the WRT54GS).
    You need to try again to reset the router to factory defaults.
    To reset your router to factory defaults, use the following procedure:
    1) Power down all computers, the router, and the modem, and unplug them from the wall.
    2) Disconnect all wires from the router.
    3) Power up the router and allow it to fully boot (1-2 minutes).
    4) Press and hold the reset button for 30 seconds, then release it, then let the router reset and reboot (2-3 minutes).
    5) Power down the router.
    6) Connect one computer by wire to port 1 on the router (NOT to the internet port).
    7) Power up the router and allow it to fully boot (1-2 minutes).
    8) Power up the computer (if the computer has a wireless card, make sure it is off).
    9) Try to ping the router. To do this, click the "Start" button > All Programs > Accessories > Command Prompt. A black DOS box will appear. Enter the following: "ping 192.168.1.1" (no quotes), and hit the Enter key. You will see 3 or 4 lines that start either with "Reply from ... " or "Request timed out." If you see "Reply from ...", your computer has found your router.
    10) Open your browser and point it to 192.168.1.1. This will take you to your router's login page. Leave the user name blank (note: a few Linksys routers have a default user name of "admin" (with no quotes)), and in the password field, enter "admin" (with no quotes). This will take you to your router setup page. Note the version number of your firmware (usually listed near upper right corner of screen). Exit your browser.
    If you get this far without problems, try the setup disk (or setup the router manually, if you prefer), and see if you can get your router setup and working.
    If you cannot get "Reply from ..." in step 9 above, your router is dead.
    If you get a reply in step 9, but cannot complete step 10, then either your router is dead or the firmware is corrupt. In this case, use the Linksys tftp.exe program to try to reload your router with the latest firmware. After reloading the firmware, repeat the above procedure starting with step 1.
    If you need additional help, please state your ISP, the make and model of your modem, your router's firmware version, and the results of steps 9 and 10. Also, if you get any error messages, copy them exactly and report back.
    Please let me know how things turn out for you.
    Message Edited by toomanydonuts on 01-21-2008 04:40 AM

  • Need help in JSP and Servlets

    Hi friends,
    [please forgive me if i am posting this in the wrong forum, all seems same to a fresher]
    Now, to my problem..i need a suggestion, a way or a method to implement the following!
    I am supposed to create a servlet that reads data from oracle database. Once i retrive the data (for example: 6 rows of a table having 4 attributes), i am supposed to pass this data to a JSP page where the data has to be formatted and displayed properly. If i call the same servlet from a different JSP, i should be able to access the data in that JSP and format it in a different way. How do i pass the data to JSP? what method i can use to achieve this task?
    Note: I already know about PrintWriter pw = response.getWriter(); and then printing the formated HTML page..but i want to keep the formatting to JSP part and send only the data part that i can access in JSP
    Thanks in adavance

    arun_ramachandran wrote:
    [please forgive me if i am posting this in the wrong forum, all seems same to a fresher]Then you should learn to be more observant - after all, we have JSP and Servlet fora, further down the list. :)
    I am supposed to create a servlet that reads data from oracle database. Once i retrive the data (for example: 6 rows of a table having 4 attributes), i am supposed to pass this data to a JSP page where the data has to be formatted and displayed properly. If i call the same servlet from a different JSP, i should be able to access the data in that JSP and format it in a different way. How do i pass the data to JSP? what method i can use to achieve this task? You can store the data in your session object. You can even use JavaBeans and the jsp:usebean tag.
    [http://java.sun.com/products/jsp/tags/11/syntaxref11.fm14.html]
    Note: I already know about PrintWriter pw = response.getWriter(); and then printing the formated HTML page..but i want to keep the formatting to JSP part and send only the data part that i can access in JSPA wise approach - I wish more prople woiuld be as thoughtful.

  • HELP! Need help generating TEXT-ONLY portal page...

    Text Only Portal Question:
    PLATFORM:
    =================================================================
    Sun Solaris (5.2 if memory serves) for db and mid-tier, running
    8.1.7 DB and 3.0.9 (1.0.2.2) portal.
    THE NEED:
    =================================================================
    I need to display text only portal pages. Some of the more
    detailed concerns at this point are below. Also, I've had an open
    tar on Metalink for about two weeks, and after research from
    their end has resulted in no help.
    THE ISSUES (so far):
    =================================================================
    IMAGES:
    If an anchor [A HREF=...] tag uses an image as it's "text", I
    need to strip out the ALT= text to show inside the anchor. If no
    ALT text is available, then I would like to show the image name
    as a default.
    For example:
    <img src=home.gif
    alt=Home>
    should display as:
    Home
    FORMS:
    How do I get the resulting page from a form (which include the
    login inputs and submit button, search box, advanced search page,
    etc.) to be displayed by the text only page?
    For example:
    When a form is called, the <FORM> elements are as follows:
    METHOD=GET or POST
    ACTION=url (relative or absolute) to the script.
    In this case, the action value is:
    ACTION=/servlet/page?
    pageid=6&dad=portal30&_schema=PORTAL30.
    This calls the advanced search API.
    I would expect that to redirect the browser back to some
    text-only version, the ACTION= element would have to be changed
    to be something like:
    ACTION=[pathscraper]?/servlet/page?
    pageid=6&dad=portal30&_schema=PORTAL30
    REDIRECTION:
    What happens when portal pages redirect internally? How do you
    get back to the text-only page?
    For example:
    The login link on the standard Oracle Portal home page flips
    from url to url to get to the actual login page. Our
    implementation of Oracle portal goes from
    [DOMAIN]/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
    to [domain]/pls/portal30_sso/portal30_sso.login_page.
    Since this is standard Oracle redirection, how can it be
    intercepted so the portal30_sso.login_page can be presented as
    text only?
    TRIED SO FAR:
    =================================================================
    I've written a socket/text scraper in Perl, running it from a web
    server. The problems mentioned above are really causing problems,
    plus the whole cookie thing. Since Oracle Portal tries to push a
    cookie to the client, when the client is another UNIX server,
    the cookie thing doesn't work.
    POSSIBLE OTHER SOLUTIONS:
    =================================================================
    Something...anything. I've tried to think of some method to
    create some sort of PL/SQL procedure to catch the content then
    strip out the HTML calls.
    An Applet to do the same thing, but on the client side, but
    since time is an issue, coding a complete Java applet isn't
    really an option.
    THE CONCLUSION:
    =================================================================
    HELP! I need some help. This is for a client that is government
    funded, and to meet Section 508 (part of the Americans with
    Disabilities Act that states web sites and applications must be
    made accessible. A text-only page is one of the requirements for
    an accessible page.
    Thanks,
    Ryan Stefani
    ps: feel free to contact me via [email protected] or
    [email protected]

    Use Find/Change and the GREP tab.
    Search for .+ and set the Find formatting to find the charcteristics you want.
    What will you do with this text once found? You'll need something to "change" to, either new text or Change Formatting options...

  • URGENT: Need help reading URL of current page

    Hello kind people!
    I need help, and its very simple:
    How do i read the URL of a web page?
    For example, the URL of this page is:
    http://forums.sun.com/thread.jspa?threadID=5327796
    So how can i be able to read in this URL in my java program?
    thanks SO MUCH
    P.S. I HAVE searched the java docs and everything, the closest thing i found was request.getRequestURL().? but i have no idea how to use it. you have NO IDEA how appreciative i would be if you could simply show me exactly how to read in the URL of a given page.
    thanks SO MUCH
    Edited by: homegrownpeas on Aug 31, 2008 5:19 PM

    Going by what I understand here is a simple version of how you can read data from over HTTP.
    This expects the "page" to be text (hence an InputStreamReader instead of an InputStream.)
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.net.URLConnection;
    import java.util.HashMap;
    * GPLv2.
    * @author karlm816
    public class HomeGrownPeas {
          * @param args
         public static void main(String[] args) {
              HashMap<String, String> params = new HashMap<String, String>();
              params.put("threadID", "5327796");
              System.out.println(loadHttpPage("http://forums.sun.com/thread.jspa", params));     
         public static String loadHttpPage(String sUrl, HashMap<String, String> params) {
              // Build the HTTP request string
              StringBuilder sb = new StringBuilder();
              if (params != null) {
                   for (String key : params.keySet()) {
                        if (sb.length() > 0) {
                             sb.append("&");
                        sb.append(key);
                        sb.append("=");
                        sb.append(params.get(key));
              System.out.println("params: " + sb.toString());
              try {
                   URL url = new URL(sUrl);
                   URLConnection connection = url.openConnection();
                   connection.setDoOutput(true);
                   connection.setRequestProperty("Content-Length", "" + sb.length());
                   connection.setUseCaches(false);
                   if (connection instanceof HttpURLConnection) {
                        HttpURLConnection conn = (HttpURLConnection) connection;
                        conn.setRequestMethod("POST");
                   OutputStreamWriter osw = new OutputStreamWriter(connection.getOutputStream());
                   osw.write(sb.toString());
                   osw.close();
                   // Now use sb to hold the resutls from the request
                   sb = new StringBuilder();
                   BufferedReader in = new BufferedReader(
                         new InputStreamReader(
                         connection.getInputStream()));
                   String s;
                   while ((s = in.readLine()) != null) {
                        sb.append(s);
                        // To make it more "human readable"
                        sb.append("\n");
                   in.close();
             } catch (IOException e) {
                  e.printStackTrace();
                  return null;
            return sb.toString();
    }

  • I have a godaddy website with a welcome page- I need help adding a few additional pages with a hyperlink to my welcome page.

    I need help attaching a few hyperlinks my godaddy welcome page. I have 2 more ipages articles, I also converted them to pdf. Godaddy only helped (last year) with the 1st article.  I do not know how to attach a hyperlink to the artlcles and add the hyperlinks to my welcome page.

    The program is called Pages not iPages. Just let us know if you do not speak English and what language you do speak so we can adjust for that.
    The issues are to do with your web page not with Pages.
    I think you are asking how to link from your web page to your pdf articles. You must first copy those pdfs to your web server, or some other web location, and then provide html links on your welcome page to those pdf files.
    The pdfs themselves may contain links to other locations but I can not see that that is what you are asking for.
    Nor to what those links would be to.
    From your heading I think you may have confused the name of Pages, the word processing program, with web pages which are two different things.
    Peter

  • Need help on ammount formating with num{$z,zzz,zz9.99}

    Hi All
    Need help in formating the amount fields.
    Currently I am using num{$z,zzz,zz9.99} Its working fine for positive ammount value.
    But for negative amount its giving output as $-18,970.50
    Expected out is -$18,970.50
    need '-' sign before $
    Thanks,
    Abhijit

    issue resolved by setting pattern as  = num{z$z,zzz,zz9.99}

  • NEED HELP...FORMATING SIZE PROBLEM

    I've been succesfully building and formating projects that only lasted 30 minutes.
    I'm having some problems with my latest project (1 hour and 20 minutes)...
    I did compress with "90 minutes best quality".
    and when I import in dvdsp, the file size is 6 GB.
    Now it won't format into a blank dvd-R.
    I am kinda new at this and need to put it on a dvd for a client.
    Could somebody tell me what should I do ?
    Should I compress again or can I still burn it with another form of blank dvd?
    I need help...
    Thank you.

    Make sure to select A.Pack/Dolby (make sure that file is made) and use that in the project, not the .aif file

  • Need help on Oracle APEX- Retaining Page items of one Session in another

    Hi,
    I am creating an apex application in which there exist two pages. Out of 2 pages, I need to provide authentication on one page and no authentication on the other one.
    When I access the first page by public, I must pass some page items to the second page. Since, I have aunthentication on page 2, there will be a new session created and I could not retain the page items that are passed from Page 1 to Page2.
    Please help me in retaining the page item values of Page1 in Page2.
    Thanks for your help.

    Hi Andy,
    I have passed the values from page 2 to page 3. Due to Authentication on Page 3, the passed values are cleared and a new session created.
    Is there a way to retain the item values using Application items or Application computations?
    Please help.
    Thanks,
    Hanu.

  • Need help on JSP pages!!!!!

    Hi,
    I have a column named "status" in a table stored in a database.
    this column hold an int value, either 0 or 1
    0 means the staff is in an "inactive" status where 1 is just the contrast.
    I have the following statements in theJSP page, the <c:out value="${staffer.status}"/> will return an int of either 0 or 1.
    I want it to return a String "active" when <c:out value="${staffer.status}"/> returns 1 and to return the String "inactive" when <c:out value="${staffer.status}"/> returns 0
          <tr>
        <td width="41%" align="center"><b><font size="4">Status:</font></b></td>
        <td width="59%"><c:out value="${staffer.status}"/></td>
      </tr>how can i do this??
    thanks a lot!!!!!!!!

    My approach would be to make the JavaBean staffer is an instance of to return the string you want in the getter method:
      public String getStatus() {
        if (status==1) return "active";
        else return "inactive";
      }

  • Need help in jsp page.

    the problem is i am doing accordion menu and when i dont know where to insert the *<%=request.getAttribute("distributions")%>*
    Thank u in advance.
    <div id="sdmenu" class="sdnm_flat" style="display:none">
    <dl class="top_lft"><dd> </dd></dl>
    <span class="title"><span class="tt">Home</span></span>
    <div class="submenu">
    </div>
    <span class="title"><span class="tt">About</span></span>
    <div class="submenu">
    <span class="s">google</span>
    <span class="s">yahoo</span>
    <span class="s">google</span>
    <span class="s">yahoo</span>
    <span class="s">google</span>
    <span class="s">yahoo</span>
    </div>
    <a href="<%=distributionUrl%> target="frameset"><span>*<%=request.getAttribute("distributions")%>*</span><span class="title"><span class="tt">Investor Relations</span></span></a>
    <span class="title"><span class="tt">Investor Relations</span></span>
    <div class="submenu">
    <span class="s">google</span>
    <span class="s">yahoo</span>
    <span class="s">google</span>
    <span class="title"><span class="tt">MyDocuments</span></span>
    <div class="submenu">
    <span class="s">current documents</span>
    <span class="s">pending</span>
    <span class="s">pending2</span>
    </div>
    <span class="s">yahoo</span>
    <span class="s">google</span>
    <span class="s">yahoo</span>
    </div>
    In the same project i used it in another jsp and it seem to work.
    (between <a> and </a> tag )
    <ul class="categoryitems">
    <li><a href="<%=currentDocUrl%> target="frameset">*<%=request.getAttribute("companydocuments")%>*Current</a></li>
    <li><a href="<%=pendingDocUrl%> target="frameset">Pending</a></li>
    </ul>
    2) inside <a> tag
    <ul class="categoryitems">
    <li><a href="<%=currentDocUrl%> target="frameset" *<%=request.getAttribute("companydocuments")%">* > Current</a></li>
    <li><a href="<%=pendingDocUrl%> target="frameset">Pending</a></li>
    </ul>
    </a>

    <%=request.getAttribute("distributions")%>
    retrieves the object stored in the request distributions and returns the object.
    Assuming distributions is of type String, you could do a print statement to check what value you get.
    <%String req=request.getAttribute("distributions");
    out.println("distributions  = " + req);
    %>

  • Need Help opening converted file in Pages

    I have a Mac and use Pages as my word processor.  Pages converts Word documents into its format so that they can be opened, read and edited.  I have never been unable to open/use a document opened this way . . . till now. The downloaded document won't open in Pages.  It says it is an "invalid format."  I hope someone can help me.  The purchase of the Adobe program is no value to me if I can't use it, and I need to be able to use documents in this way.  Thanks in advance.

    You can set up a link to behave as you want, ignoring whatever the user preference is set to, but I don't know if you can configure such a link in InDesign.
    In Acrobat, you can edit the link action (assuming it's a "Go to a page view / Go to a page in another document" type) and select "New Window" in the "Open in" drop down:

  • Hi need help in paragraph format

    hi,
    in scripts while defining the paragraph format,we have to give tab space also,there why we need to define five tabs,how can we use those in editor.
    Thanks,
    mohan rao.

    Hi..,
    In the <b>Standard</b> attribute group, you find the general attributes that can be defined in paragraph formats:
    <b>Description </b>
    Precise explanation of your paragraph tag, so that the user can immediately identify it.
    <b>Left or right margin </b>
    Amount of space between the paragraph and the left or right border of the form window.
    <b>Indent first line </b>
    Indent of the first line of a paragraph. If the value is positive, it is indented to the right, if it is negative, it is indented to the left.
    If you specify a negative value, then you must place the minus sign after the number: 1- .
    <b>Space before and space after</b>
    Space before and space after control the amount of space between paragraphs. The actual space between paragraphs results from the space after the preceding paragraph and the space before the following paragraph.
    <b>
    Alignment </b>
    Alignment of a paragraph.
    <i>Left-aligned    -
         Right-aligned
    LEFT   -
    RIGHT
    Centered
    CENTER
    Justified
    BLOCK </i>
    <b>
    Line spacing </b>
    Spacing between the lines. The default value is 1 line; the LPI value (lines per inch) in the header data is used to calculate the line spacing.
    <b>No blank lines </b>
    Suppression of blank lines. You can control whether the blank lines of a paragraph should be suppressed in the printout or not:
    <i>No entry -- blank lines not suppressed
    X-- blank lines suppressed</i>
    <b>
    Page protection </b>
    Cohesion of a paragraph. It is possible to determine whether or not a paragraph can be divided by a page break.
    <i>No entry--no page protection (default)
    X--all lines of the paragraph are on one page</i>
    <b>
    Next paragraph same page </b>
    Cohesion of two adjacent paragraphs. Here you can define whether the subsequent paragraph should begin on the same page (that is, at least the first line of the subsequent paragraph must be on the same page).
    <i>No entry
    subsequent paragraph is output on the same page or the next page, depending on the amount of space (default)
    X--subsequent paragraph begins on the same page</i>
    <b>TABS</b>
    You can define as many tab positions as you require for each paragraph format. The text can be aligned in different ways:
    Left-aligned with LEFT
    Right-aligned with RIGHT
    Centered with CENTER
    At the sign with SIGN
    At the comma or decimal point with DECIMAL
    You can control the tab feed in a paragraph with tab positions. The tab stops you define in the paragraph format replace the tab spacing you defined in the header data of the form. However, this depends on the extent to which you have defined tab stops in the paragraph format. If there are fewer tabs in the paragraph formats than in the header data, the tab stops of the header data are used for the rest of the line. The tab stops are represented as , , in the text editor.
    <b>reward all helpful answers,
    sai ramesh</b>

  • Need Help with JSP and Soap

    Trying to write a JSP page that pulls information from a Soap Call. Below is the JSP page and the Soap Code. Any Help would be great:
    The soap call needs to come back with a variable in the line: <td class="detail-item-value" colspan="2"><%= request.getobject %>
    The JSP Page:
    <%@page import="java.sql.DriverManager, java.sql.Connection, java.sql.ResultSet, java.sql.Statement"%>
    <nested:define id="recordId" property="detailId" />
    <%
    //String payorId = (String) recordId;
    String payorId = "1001850";
    Set objgetobject = Server.CreateObject("soapdemo.SoapServer")
    getobject = objgetobject.GetPayorByIdRequest(payorId)
    %>
    <table id="detailTable" class="detail-outer-table">
    <tr>
    <td colspan="4"
    class=
    "detail-inner-group-header" >
    <center>Party Attributes</center></td></tr>
    <tr>
    <td colspan="2" class="detail-item-prompt">Test Field</td>
    <td class="detail-item-value" colspan="2"><%= request.getobject %>
    </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Customer Name</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(stdName1)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">PO Box</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(poBox)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Address 1</td>
    <td class="detail-item-value"><nested:write property="detailValue(stdAddr1)" filter="false"/></td>
    <td class="detail-item-prompt">PO Box City</td>
    <td class="detail-item-value"><nested:write property="detailValue(poBoxCity)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Address 2</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(stdAddr2)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">PO Box Region/State</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(poBoxState)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">City</td>
    <td class="detail-item-value"><nested:write property="detailValue(stdCity)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Region State</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(stdState)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Party ID</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(entId)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Zip Code</td>
    <td class="detail-item-value"><nested:write property="detailValue(stdZipCode)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Last Published</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(lastPublished)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Telephone</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(phone)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Last Changed By</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(lastChangeUserName)" filter="false"/></td>
    </tr>
    <tr>
    <td colspan="4"
    class=
    <nested:equal property="isSourceItem" value="false">"detail-first-group-header"</nested:equal>
    <nested:equal property="isSourceItem" value="true">"detail-inner-group-header"</nested:equal>
    <center>Reference Data</center></td></tr>
    <tr>
    <td colspan="2" class="detail-item-prompt" bgcolor="e9eef4"><center>Dun and Bradstreet</center></td>
    <td colspan="2"class="detail-item-prompt" bgcolor="e9eef4"><center>Verispan</center></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">D&B DUNS</td>
    <td class="detail-item-value"><nested:write property="detailValue(dnbDunsNumber)" filter="false"/></td>
    <td class="detail-item-prompt">SMG Business Type</td>
    <td class="detail-item-value"><nested:write property="detailValue(smgBusType)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Trade Style</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(tradestyle)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">SMG ID</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(smgId)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Line Of Business</td>
    <td class="detail-item-value"><nested:write property="detailValue(lineOfBusiness)" filter="false"/></td>
    <td class="detail-item-prompt">HIN_ID</td>
    <td class="detail-item-value"><nested:write property="detailValue(hinId)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Status Code</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(statusCode)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">DEA_ID</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(deaId)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Subsidiary Code</td>
    <td class="detail-item-value"><nested:write property="detailValue(subsidiaryCode)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-value"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-value"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Domestic Ultimate DUNS</td>
    <td class="detail-item-value"><nested:write property="detailValue(dnbDomUltimateDuns)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Domestic Ultimate Name</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(domUltimateBusinessName)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-value"> </td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Global Ultimate DUNS</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(dnbGlobalUltimateDuns)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Global Ultimate Name</td>
    <td class="detail-item-value"><nested:write property="detailValue(globalUltimateBusinessName)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr><td colspan="4" class="detail-inner-group-header"><center>Database Details</center></td></tr>
    <tr><td class="detail-item-prompt">Created</td>
    <td class="detail-item-value"><nested:write property="detailValue(creationTimestamp)" filter="false"/></td>
    <td class="detail-item-prompt">Last Changed</td>
    <td class="detail-item-value"><nested:write property="detailValue(lastChangeTimestamp)" filter="false"/></td></tr>
    <!-- Future: display creation and last change username after editing is implemented -->
    <nested:equal property="isSourceItem" value="false">
    <tr><td class="detail-item-prompt">Purisma Composite Id</td>
    </nested:equal>
    <nested:equal property="isSourceItem" value="true">
    <tr><td class="detail-item-prompt">Purisma Id</td> </nested:equal>
    <td class="detail-item-value"><nested:write property="detailId" filter="false"/></td>
    <td class="detail-item-prompt"><nested:write property="detailSourceName" filter="false"/></td>
    <td class="detail-item-value"><nested:write property="detailExternalId" filter="false"/></td></tr>
    <!--
    <tr><td colspan="4" class="detail-inner-group-header"><center>Family Tree Information</center></td></tr>
    <tr><td class="detail-item-prompt">Linkage Last Changed</td>
    <td class="detail-item-value"><nested:write property="detailValue(linkageChangeTimestamp)" filter="false"/></td>
    <td class="detail-item-prompt">Linkage Last Edited</td>
    <td class="detail-item-value"><nested:write property="detailValue(linkageEditTimestamp)" filter="false"/></td>
    </tr>
    <tr><td class="detail-item-prompt">Linkage Edited by</td>
    <td class="detail-item-value"><nested:write property="detailValue(linkageEditUserName)" filter="false"/></td></tr>
    -->
    </table>
    SOAP CALL
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:purisma-pcr:CUSTOMER">
    <soapenv:Header/>
    <soapenv:Body>
    <urn:GetPayorByIdRequest urn:registryId="?" urn:sourceStartIndex="0" urn:sourcePageSize="0">
    <!--Zero or more repetitions:-->
    <fieldName>?</fieldName>
    </urn:GetPayorByIdRequest>
    </soapenv:Body>
    </soapenv:Envelope>

    Trying to write a JSP page that pulls information from a Soap Call. Below is the JSP page and the Soap Code. Any Help would be great:
    The soap call needs to come back with a variable in the line: <td class="detail-item-value" colspan="2"><%= request.getobject %>
    The JSP Page:
    <%@page import="java.sql.DriverManager, java.sql.Connection, java.sql.ResultSet, java.sql.Statement"%>
    <nested:define id="recordId" property="detailId" />
    <%
    //String payorId = (String) recordId;
    String payorId = "1001850";
    Set objgetobject = Server.CreateObject("soapdemo.SoapServer")
    getobject = objgetobject.GetPayorByIdRequest(payorId)
    %>
    <table id="detailTable" class="detail-outer-table">
    <tr>
    <td colspan="4"
    class=
    "detail-inner-group-header" >
    <center>Party Attributes</center></td></tr>
    <tr>
    <td colspan="2" class="detail-item-prompt">Test Field</td>
    <td class="detail-item-value" colspan="2"><%= request.getobject %>
    </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Customer Name</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(stdName1)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">PO Box</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(poBox)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Address 1</td>
    <td class="detail-item-value"><nested:write property="detailValue(stdAddr1)" filter="false"/></td>
    <td class="detail-item-prompt">PO Box City</td>
    <td class="detail-item-value"><nested:write property="detailValue(poBoxCity)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Address 2</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(stdAddr2)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">PO Box Region/State</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(poBoxState)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">City</td>
    <td class="detail-item-value"><nested:write property="detailValue(stdCity)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Region State</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(stdState)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Party ID</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(entId)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Zip Code</td>
    <td class="detail-item-value"><nested:write property="detailValue(stdZipCode)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Last Published</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(lastPublished)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Telephone</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(phone)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Last Changed By</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(lastChangeUserName)" filter="false"/></td>
    </tr>
    <tr>
    <td colspan="4"
    class=
    <nested:equal property="isSourceItem" value="false">"detail-first-group-header"</nested:equal>
    <nested:equal property="isSourceItem" value="true">"detail-inner-group-header"</nested:equal>
    <center>Reference Data</center></td></tr>
    <tr>
    <td colspan="2" class="detail-item-prompt" bgcolor="e9eef4"><center>Dun and Bradstreet</center></td>
    <td colspan="2"class="detail-item-prompt" bgcolor="e9eef4"><center>Verispan</center></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">D&B DUNS</td>
    <td class="detail-item-value"><nested:write property="detailValue(dnbDunsNumber)" filter="false"/></td>
    <td class="detail-item-prompt">SMG Business Type</td>
    <td class="detail-item-value"><nested:write property="detailValue(smgBusType)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Trade Style</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(tradestyle)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">SMG ID</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(smgId)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Line Of Business</td>
    <td class="detail-item-value"><nested:write property="detailValue(lineOfBusiness)" filter="false"/></td>
    <td class="detail-item-prompt">HIN_ID</td>
    <td class="detail-item-value"><nested:write property="detailValue(hinId)" filter="false"/></td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Status Code</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(statusCode)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt">DEA_ID</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(deaId)" filter="false"/></td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Subsidiary Code</td>
    <td class="detail-item-value"><nested:write property="detailValue(subsidiaryCode)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-value"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-value"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Domestic Ultimate DUNS</td>
    <td class="detail-item-value"><nested:write property="detailValue(dnbDomUltimateDuns)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Domestic Ultimate Name</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(domUltimateBusinessName)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-value"> </td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td BGcolor="e4f2f5" class="detail-item-prompt">Global Ultimate DUNS</td>
    <td BGcolor="e4f2f5" class="detail-item-value"><nested:write property="detailValue(dnbGlobalUltimateDuns)" filter="false"/></td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    <td BGcolor="e4f2f5" class="detail-item-prompt"> </td>
    </tr>
    <tr>
    <td class="detail-item-prompt">Global Ultimate Name</td>
    <td class="detail-item-value"><nested:write property="detailValue(globalUltimateBusinessName)" filter="false"/></td>
    <td class="detail-item-prompt"> </td>
    <td class="detail-item-prompt"> </td>
    </tr>
    <tr><td colspan="4" class="detail-inner-group-header"><center>Database Details</center></td></tr>
    <tr><td class="detail-item-prompt">Created</td>
    <td class="detail-item-value"><nested:write property="detailValue(creationTimestamp)" filter="false"/></td>
    <td class="detail-item-prompt">Last Changed</td>
    <td class="detail-item-value"><nested:write property="detailValue(lastChangeTimestamp)" filter="false"/></td></tr>
    <!-- Future: display creation and last change username after editing is implemented -->
    <nested:equal property="isSourceItem" value="false">
    <tr><td class="detail-item-prompt">Purisma Composite Id</td>
    </nested:equal>
    <nested:equal property="isSourceItem" value="true">
    <tr><td class="detail-item-prompt">Purisma Id</td> </nested:equal>
    <td class="detail-item-value"><nested:write property="detailId" filter="false"/></td>
    <td class="detail-item-prompt"><nested:write property="detailSourceName" filter="false"/></td>
    <td class="detail-item-value"><nested:write property="detailExternalId" filter="false"/></td></tr>
    <!--
    <tr><td colspan="4" class="detail-inner-group-header"><center>Family Tree Information</center></td></tr>
    <tr><td class="detail-item-prompt">Linkage Last Changed</td>
    <td class="detail-item-value"><nested:write property="detailValue(linkageChangeTimestamp)" filter="false"/></td>
    <td class="detail-item-prompt">Linkage Last Edited</td>
    <td class="detail-item-value"><nested:write property="detailValue(linkageEditTimestamp)" filter="false"/></td>
    </tr>
    <tr><td class="detail-item-prompt">Linkage Edited by</td>
    <td class="detail-item-value"><nested:write property="detailValue(linkageEditUserName)" filter="false"/></td></tr>
    -->
    </table>
    SOAP CALL
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:purisma-pcr:CUSTOMER">
    <soapenv:Header/>
    <soapenv:Body>
    <urn:GetPayorByIdRequest urn:registryId="?" urn:sourceStartIndex="0" urn:sourcePageSize="0">
    <!--Zero or more repetitions:-->
    <fieldName>?</fieldName>
    </urn:GetPayorByIdRequest>
    </soapenv:Body>
    </soapenv:Envelope>

  • Need help in jsp and struts projects

    hi
    i am using jsp and struts framework.
    in that i am putting values in session in one jsp and getting
    values in other jsp.i am having doud with how many values i will put in sessions and it will give any difficulty while running in servers.and i want to know any other equivalent way is there for sessions.

    hi
    i am using jsp and struts framework.
    in that i am putting values in session in one jsp
    jsp and getting
    values in other jsp.i am having doud with how many
    ny values i will put in sessions and it will give any
    difficulty while running in servers.and i want to
    know any other equivalent way is there for sessions.do u want all those vales at the same time? if not then u might use session.removeAttribute() method for trashing out the not needed objects.
    there are many ways of session handling.... passing as request param, also using hidden fields, else th URL rewritting...
    but all these are not efficient to be passed along if too many pages are using the same session objects. i believe u can also try passing it into an XML file and parse it out whenever needed. but i dont think thats feasible enough.
    hope it helps.

Maybe you are looking for

  • Increase your mailbox size - email threat

    I have been hit with an email threat - subject starts out as "Increase Your Mailbox Size", there is a link in the email.  I am guessing that this initiates when a user clicks on the link, but the link is disabled now. We've had at least a couple user

  • Not Able to Right Click On Tiles After 8.1 Update

    I have an HP laptop which came with Windows 8, I updated to 8.1 and just installed update 1. After update 1 installed I noticed I could no longer right click on a pinned program on my start screen to bring up the context menu. All I can do is 'check'

  • Informatiom

    Good morning. I have LR 4.4, and it says Camera Raw 7.4 is available for download. I shoot all of my pictures in Raw & Jpeg. Is this already in 4.4, or is it something I need to download! I have the Canon EOS 7D camera! If I need to download Camera R

  • Apex restful service on localhost

    I have install Apex 4.2.1 on 11g o my localhost while creating a restful services i am not getting "test" and "bind variable" buttons. and i can't access the restful service.. please give me some idea Edited by: 980054 on Jan 5, 2013 1:33 AM

  • Excel shuts down while adding data

    Excel (iworks08) keeps shutting down half way while I add text into cells. this happens with, both the template from the gallery and my own spread sheets.it recovers it but only part of the work I have done. with the budget templates, it keeps going