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>

Similar Messages

  • MOVED: [Athlon64] Need Help with X64 and Promise 20378

    This topic has been moved to Operating Systems.
    [Athlon64] Need Help with X64 and Promise 20378

    I'm moving this the the Administration Forum.  It seems more apporpiate there.

  • Help with JSP and logic:iterate

    I have some queries hope someone can help me.
    I have a jsp page call request.jsp:
    ====================================
    <%@ page import="java.util.*" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <html>
    <body>
       <%@ page import="RequestData" %>
       <jsp:useBean id="RD" class="RequestData" />
       <%Iterator data = (Iterator)request.getAttribute("Data");%>
       <logic:iterate id="element" name="RD" collection="<%=data%>">
          <jsp:getProperty name="RD" property="requestID" />
          <%=element%><br>
       </logic:iterate>
    </body>
    </html>
    And I have the RequestData.java file:
    ======================================
    private int requestID = 1234;
    public int getRequestID() { return requestID; }
    The jsp page display:
    ======================
    0 RequestData@590510
    0 RequestData@5b6d00
    0 RequestData@514f7f
    0 RequestData@3a5a9c
    0 RequestData@12d7ae
    0 RequestData@e1666
    Seems like the requestID is not returned. Does anybody know this?
    I have done the exact one using JSP and servlets, trying to learn using JSP and custom tags. The one with JSP and servlet looks like:
    ============================================
    <%@ page import="RequestData" %>
    <%Iterator data = (Iterator)request.getAttribute("Data");
    while (data.hasNext()) {
       RequestData RD = (RequestData)data.next();
       out.println(RD.getRequestID() );
    }%>

    Oh think I got it...
    but one thing I'm not sure is...
    If I use "<jsp:useBean id="RD" class="RequestData" />", do I still need "<%@ page import="RequestData" %>"?
    I tried without and it gives me error...

  • Need help with JTextArea and Scrolling

    import java.awt.*;
    import java.awt.event.*;
    import java.text.DecimalFormat;
    import javax.swing.*;
    public class MORT_RETRY extends JFrame implements ActionListener
    private JPanel keypad;
    private JPanel buttons;
    private JTextField lcdLoanAmt;
    private JTextField lcdInterestRate;
    private JTextField lcdTerm;
    private JTextField lcdMonthlyPmt;
    private JTextArea displayArea;
    private JButton CalculateBtn;
    private JButton ClrBtn;
    private JButton CloseBtn;
    private JButton Amortize;
    private JScrollPane scroll;
    private DecimalFormat calcPattern = new DecimalFormat("$###,###.00");
    private String[] rateTerm = {"", "7years @ 5.35%", "15years @ 5.5%", "30years @ 5.75%"};
    private JComboBox rateTermList;
    double interest[] = {5.35, 5.5, 5.75};
    int term[] = {7, 15, 30};
    double balance, interestAmt, monthlyInterest, monthlyPayment, monPmtInt, monPmtPrin;
    int termInMonths, month, termLoop, monthLoop;
    public MORT_RETRY()
    Container pane = getContentPane();
    lcdLoanAmt = new JTextField();
    lcdMonthlyPmt = new JTextField();
    displayArea = new JTextArea();//DEFINE COMBOBOX AND SCROLL
    rateTermList = new JComboBox(rateTerm);
    scroll = new JScrollPane(displayArea);
    scroll.setSize(600,170);
    scroll.setLocation(150,270);//DEFINE BUTTONS
    CalculateBtn = new JButton("Calculate");
    ClrBtn = new JButton("Clear Fields");
    CloseBtn = new JButton("Close");
    Amortize = new JButton("Amortize");//DEFINE PANEL(S)
    keypad = new JPanel();
    buttons = new JPanel();//DEFINE KEYPAD PANEL LAYOUT
    keypad.setLayout(new GridLayout( 4, 2, 5, 5));//SET CONTROLS ON KEYPAD PANEL
    keypad.add(new JLabel("Loan Amount$ : "));
    keypad.add(lcdLoanAmt);
    keypad.add(new JLabel("Term of loan and Interest Rate: "));
    keypad.add(rateTermList);
    keypad.add(new JLabel("Monthly Payment : "));
    keypad.add(lcdMonthlyPmt);
    lcdMonthlyPmt.setEditable(false);
    keypad.add(new JLabel("Amortize Table:"));
    keypad.add(displayArea);
    displayArea.setEditable(false);//DEFINE BUTTONS PANEL LAYOUT
    buttons.setLayout(new GridLayout( 1, 3, 5, 5));//SET CONTROLS ON BUTTONS PANEL
    buttons.add(CalculateBtn);
    buttons.add(Amortize);
    buttons.add(ClrBtn);
    buttons.add(CloseBtn);//ADD ACTION LISTENER
    CalculateBtn.addActionListener(this);
    ClrBtn.addActionListener(this);
    CloseBtn.addActionListener(this);
    Amortize.addActionListener(this);
    rateTermList.addActionListener(this);//ADD PANELS
    pane.add(keypad, BorderLayout.NORTH);
    pane.add(buttons, BorderLayout.SOUTH);
    pane.add(scroll, BorderLayout.CENTER);
    addWindowListener( new WindowAdapter()
    public void windowClosing(WindowEvent e)
    System.exit(0);
    public void actionPerformed(ActionEvent e)
    String arg = lcdLoanAmt.getText();
    int combined = Integer.parseInt(arg);
    if (e.getSource() == CalculateBtn)
    try
    JOptionPane.showMessageDialog(null, "Got try here", "Error", JOptionPane.ERROR_MESSAGE);
    catch(NumberFormatException ev)
    JOptionPane.showMessageDialog(null, "Got here", "Error", JOptionPane.ERROR_MESSAGE);
    if ((e.getSource() == CalculateBtn) && (arg != null))
    try{
    if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 1))
    monthlyInterest = interest[0] / (12 * 100);
    termInMonths = term[0] * 12;
    monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest,  -termInMonths))));
    lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
    if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 2))
    monthlyInterest = interest[1] / (12 * 100);
    termInMonths = term[1] * 12;
    monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest,  -termInMonths))));
    lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
    if ((e.getSource() == CalculateBtn) && (rateTermList.getSelectedIndex() == 3))
    monthlyInterest = interest[2] / (12 * 100);
    termInMonths = term[2] * 12;
    monthlyPayment = combined * (monthlyInterest / (1 - (Math.pow (1 + monthlyInterest,  -termInMonths))));
    lcdMonthlyPmt.setText(calcPattern.format(monthlyPayment));
    catch(NumberFormatException ev)
    JOptionPane.showMessageDialog(null, "Invalid Entry!\nPlease Try Again", "Error", JOptionPane.ERROR_MESSAGE);
    }                    //IF STATEMENTS FOR AMORTIZATION
    if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 1))
    loopy(7, 5.35);
    if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 2))
    loopy(15, 5.5);
    if ((e.getSource() == Amortize) && (rateTermList.getSelectedIndex() == 3))
    loopy(30, 5.75);
    if (e.getSource() == ClrBtn)
    rateTermList.setSelectedIndex(0);
    lcdLoanAmt.setText(null);
    lcdMonthlyPmt.setText(null);
    displayArea.setText(null);
    if (e.getSource() == CloseBtn)
    System.exit(0);
    private void loopy(int lTerm,double lInterest)
    double total, monthly, monthlyrate, monthint, monthprin, balance, lastint, paid;
    int amount, months, termloop, monthloop;
    String lcd2 = lcdLoanAmt.getText();
    amount = Integer.parseInt(lcd2);
    termloop = 1;
    paid = 0.00;
    monthlyrate = lInterest / (12 * 100);
    months = lTerm * 12;
    monthly = amount *(monthlyrate/(1-Math.pow(1+monthlyrate,-months)));
    total = months * monthly;
    balance = amount;
    while (termloop <= lTerm)
    displayArea.setCaretPosition(0);
    displayArea.append("\n");
    displayArea.append("Year " + termloop + " of " + lTerm + ": payments\n");
    displayArea.append("\n");
    displayArea.append("Month\tMonthly\tPrinciple\tInterest\tBalance\n");
    monthloop = 1;
    while (monthloop <= 12)
    monthint = balance * monthlyrate;
    monthprin = monthly - monthint;
    balance -= monthprin;
    paid += monthly;
    displayArea.setCaretPosition(0);
    displayArea.append(monthloop + "\t" + calcPattern.format(monthly) + "\t" + calcPattern.format(monthprin) + "\t");
    displayArea.append(calcPattern.format(monthint) + "\t" + calcPattern.format(balance) + "\n");
    monthloop ++;
    termloop ++;
    public static void main(String args[])
    MORT_RETRY f = new MORT_RETRY();
    f.setTitle("MORTGAGE PAYMENT CALCULATOR");
    f.setBounds(600, 600, 500, 500);
    f.setLocationRelativeTo(null);
    f.setVisible(true);
    }need help with displaying the textarea correctly and the scroll bar please.
    Message was edited by:
    new2this2020

    What's the problem you're having ???
    PS.

  • Need help with trim and null function

    Hi all,
    I need help with a query. I use the trim function to get the first three characters of a string. How do I write my query so if a null value occurs in combination with my trim to say 'Null' in my results?
    Thanks

    Hi,
    Thanks for the reply. What am I doing wrong?
    SELECT trim(SUBSTR(AL1.user_data_text,1,3)),NVL
    (AL1.user_data_text,'XX')
    FROM Table
    I want the XX to appear in the same column as the
    trim.The main thing you're doing wrong is not formatting your code. The solution may become obvious if you do.
    What you're saying is:
    SELECT  trim ( SUBSTR (AL1.user_data_text, 1, 3))
    ,       NVL ( AL1.user_data_text, 'XX' )
    FROM    Tablewhich makes it clear that you're SELECTing two columns, when you only want to have one.
    If you want that column to be exactly like the first column you're currently SELECTing, except that when that column is NULL you want it to be 'XX', then you have to apply NVL to that column, like this:
    SELECT  NVL ( trim ( SUBSTR (AL1.user_data_text, 1, 3))
                , 'XX'
    FROM    Table

  • Need help with Tomcat and JSP

    Hi
    I'm a complete beginner with JSP, I have experience with Java, Dreamweaver and HTML, but I'm having alot difficulty understanding JSP.
    I tried doing out some of the tutorial examples but they don't seem to come out right on the browser.
    For Example the Code for Date
    <HTML>
    <BODY>
    <%
    // This is a scriptlet. Notice that the "date"
    // variable we declare here is available in the
    // embedded expression later on.
    System.out.println( "Evaluating date now" );
    java.util.Date date = new java.util.Date();
    %>
    Hello! The time is now <%= date %>
    </BODY>
    </HTML>
    Comes out as
    <% // This is a scriptlet. Notice that the "date" // variable we declare here is available in the // embedded expression later on. System.out.println( "Evaluating date now" ); java.util.Date date = new java.util.Date(); %> Hello! The time is now <%= date %>
    I know this probably really sounds like a stupid question but what could be the problem?

    Those it have to saved on the desktop, or in the Tomcat webapps folder or what?It has to be in a web application under tomcat. The easiest one to get up and running with basic jsp is the webapps/ROOT directory which is where the main index page is.
    [url http://www.coreservlets.com/Apache-Tomcat-Tutorial/]This one is a good basic guide to installing/getting it running.
    Also the tomcat documentation itself is reasonable good. Of specific relevance to you would be [url http://tomcat.apache.org/tomcat-5.5-doc/appdev/index.html]Application developers guide which explains the basic layout/structure of a web application.

  • Help with jsp and servlets(litterature)

    I'm planning on converting a asp website to jsp and I need to figure out the following:
    1: servlet that gives out connection objects from a pool and manages "lost" connections to a mysql db
    2: a bean that has getConnection and closeConnection that is used on every jsp page.
    3: servlet/bean that can check size/dimesions/filetype on a remote url image
    4: Figure out what users are logged in at every given moment. result: x users are on, these are user1, user2, user3. automatic removal when session runs out. probably need a servlet for this.
    I got these books:
    deitel java how to program 3rd edition
    deitel advanced java 2 platform how to program
    The last book has a servlet and jsp section ut I suspect that java has evolved since then so thats why I'm asking if you have any other suggestions that offer more than 2 chapters. Its really basic the stuff i have :)
    Its been 3 years since I've touched java so i hope you guys can recomend jsp/servlet books that can answer these questions for me and help me get started with this project?
    Thanks :)

    1. apache dbcp commons library.
    http://jakarta.apache.org/commons/dbcp/
    2. tomcat DataSource, which already has the dbpc logic incorporated into it.
    http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html
    3. no idea, google may help
    4. HttpSessionBindingListener. This allows you to monitor when a bean (such as a User bean) is added to the session and when it is removed from the session. This way you can track yourself which users are online.
    http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSessionBindingListener.html

  • 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.

  • Need help with INSERT and WITH clause

    I wrote sql statement which correctly work, but how i use this statment with INSERT query? NEED HELP. when i wrote insert i see error "ORA 32034: unsupported use of with clause"
    with t1 as(
    select a.budat,a.monat as period,b.vtweg,
    c.gjahr,c.buzei,c.shkzg,c.hkont, c.prctr,
    c.wrbtr,
    c.matnr,
    c.menge,
    a.monat,
    c.zuonr
    from ldw_v1.BKPF a,ldw_v1.vbrk b, ldw_v1.bseg c
    where a.AWTYP='VBRK' and a.BLART='RV' and a.BUKRS='8431' and a.awkey=b.vbeln
    and a.bukrs=c.bukrs and a.belnr=c.belnr and a.gjahr=c.gjahr and c.koart='D'
    and c.ktosl is null and c.gsber='4466' and a.gjahr>='2011' and b.vtweg='01'
    ,t2 as(
    select a.BUKRS,a.BELNR, a.GJAHR,t1.vtweg,t1.budat,t1.monat from t1, ldw_v1.bkpf a
    where t1.zuonr=a.xblnr and a.blart='WL' and bukrs='8431'
    ,tcogs as (
    select t2.budat,t2.monat,t2.vtweg, bseg.gjahr,bseg.hkont,bseg.prctr,
    sum(bseg.wrbtr) as COGS,bseg.matnr,bseg.kunnr,sum(bseg.menge) as QUANTITY
    from t2, ldw_v1.bseg
    where t2.bukrs=bseg.bukrs and t2.belnr=bseg.BELNR and t2.gjahr=bseg.gjahr and BSEG.KOART='S'
    group by t2.budat,t2.monat,t2.vtweg, bseg.gjahr,bseg.hkont,bseg.prctr,
    bseg.matnr,bseg.kunnr
    ,t3 as
    select a.budat,a.monat,b.vtweg,
    c.gjahr,c.buzei,c.shkzg,c.hkont, c.prctr,
    case when c.shkzg='S' then c.wrbtr*(-1)
    else c.wrbtr end as NTS,
    c.matnr,c.kunnr,
    c.menge*(-1) as Quantity
    from ldw_v1.BKPF a,ldw_v1.vbrk b, ldw_v1.bseg c
    where a.AWTYP='VBRK' and a.BLART='RV' and a.BUKRS='8431' and a.awkey=b.vbeln
    and a.bukrs=c.bukrs and a.belnr=c.belnr and a.gjahr=c.gjahr and c.koart='S'
    and c.ktosl is null and c.gsber='4466' and a.gjahr>='2011' and b.vtweg='01'
    ,trevenue as (
    select t3.budat,t3.monat,t3.vtweg, t3.gjahr,t3.hkont,t3.prctr,
    sum(t3.NTS) as NTS,t3.matnr,t3.kunnr,sum(t3.QUANTITY) as QUANTITY
    from t3
    group by t3.budat,t3.monat,t3.vtweg, t3.gjahr,t3.hkont,t3.prctr,t3.matnr,t3.kunnr
    select NVL(tr.budat,tc.budat) as budat,
    NVL(tr.monat,tc.monat) as monat,
    NVL(tr.vtweg,tc.vtweg) as vtweg,
    NVL(tr.gjahr, tc.gjahr) as gjahr,
    tr.hkont as NTS_hkont,
    tc.hkont as COGS_hkont,
    NVL(tr.prctr,tc.prctr) as prctr,
    NVL(tr.MATNR, tc.MATNR) as matnr,
    NVL(tr.kunnr, tc.kunnr) as kunnr,
    NVL(tr.Quantity, tc.Quantity) as Quantity,
    tr.NTS as NTS,
    tc.COGS as COGS
    from trevenue TR full outer join tcogs TC
    on TR.BUDAT=TC.BUDAT and TR.MONAT=TC.MONAT and TR.GJAHR=TC.GJAHR
    and TR.MATNR=TC.MATNR and TR.KUNNR=TC.KUNNR and TR.QUANTITY=TC.QUANTITY
    and TR.VTWEG=TC.VTWEG and TR.PRCTR=TC.PRCTR
    Edited by: user13566113 on 25.03.2011 5:26

    Without seeing what you tried it is hard to say what you did wrong, but this is how it would work
    SQL> create table t ( n number );
    Table created.
    SQL> insert into t
      2  with test_data as
      3    (select 1 x from dual union all
      4     select 2 x from dual union all
      5     select 3 x from dual union all
      6     select 4 x from dual)
      7  select x from test_data;
    4 rows created.
    SQL>

  • Need help with JSP - Session Bean scenario

    I have massive problems with a simple JSP <--> Statefull Session Bean scenario with Server Platform Edition 8.2 (build b06-fcs)
    What I do is generating a Collection in session bean returning it to JSP
    and giving the List back to Session Bean.
    A weird exception happens when giving the List back to Session Bean
    (see Exception details below)
    The same code runs without any trouble on Jboss Application Server 4.0.3
    Any help would be great!
    Please see code below
    Statefull Session Bean
    <code>
    package ejb;
    import data.Produkt;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import javax.ejb.*;
    * This is the bean class for the WarenkorbBean enterprise bean.
    * Created 17.03.2006 09:53:25
    * @author Administrator
    public class WarenkorbBean implements SessionBean, WarenkorbRemoteBusiness, WarenkorbLocalBusiness {
    private SessionContext context;
    // <editor-fold defaultstate="collapsed" desc="EJB infrastructure methods. Click the + sign on the left to edit the code.">
    // TODO Add code to acquire and use other enterprise resources (DataSource, JMS, enterprise bean, Web services)
    // TODO Add business methods or web service operations
    * @see javax.ejb.SessionBean#setSessionContext(javax.ejb.SessionContext)
    public void setSessionContext(SessionContext aContext) {
    context = aContext;
    * @see javax.ejb.SessionBean#ejbActivate()
    public void ejbActivate() {
    * @see javax.ejb.SessionBean#ejbPassivate()
    public void ejbPassivate() {
    * @see javax.ejb.SessionBean#ejbRemove()
    public void ejbRemove() {
    // </editor-fold>
    * See section 7.10.3 of the EJB 2.0 specification
    * See section 7.11.3 of the EJB 2.1 specification
    public void ejbCreate() {
    // TODO implement ejbCreate if necessary, acquire resources
    // This method has access to the JNDI context so resource aquisition
    // spanning all methods can be performed here such as home interfaces
    // and data sources.
    // Add business logic below. (Right-click in editor and choose
    // "EJB Methods > Add Business Method" or "Web Service > Add Operation")
    public Collection erzeugeWarenkorb() {
    //TODO implement erzeugeWarenkorb
    ArrayList myList = new ArrayList();
    for (int i=0;i<10;i++)
    Produkt prod = new Produkt();
    prod.setID(i);
    prod.setName("Produkt"+i);
    myList.add(prod);
    return myList;
    public void leseWarenkorb(Collection Liste) {
    //TODO implement leseWarenkorb
    Iterator listIt = Liste.iterator();
    while(listIt.hasNext())
    Produkt p = (Produkt)listIt.next();
    System.out.println("Name des Produktes {0} "+p.getName());
    </code>
    <code>
    package data;
    import java.io.Serializable;
    * @author Administrator
    public class Produkt implements Serializable {
    private int ID;
    private String Name;
    /** Creates a new instance of Produkt */
    public Produkt() {
    public int getID() {
    return ID;
    public void setID(int ID) {
    this.ID = ID;
    public String getName() {
    return Name;
    public void setName(String Name) {
    this.Name = Name;
    </code>
    <code>
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@page import="java.util.*"%>
    <%@page import="data.*"%>
    <%@page import="javax.naming.*"%>
    <%@page import="javax.rmi.PortableRemoteObject"%>
    <%@page import="ejb.*"%>
    <%--
    The taglib directive below imports the JSTL library. If you uncomment it,
    you must also add the JSTL library to the project. The Add Library... action
    on Libraries node in Projects view can be used to add the JSTL 1.1 library.
    --%>
    <%--
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    --%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>JSP Page</title>
    </head>
    <body>
    <h1>Online Shop Warenkorb Test</h1>
    <%--
    This example uses JSTL, uncomment the taglib directive above.
    To test, display the page like this: index.jsp?sayHello=true&name=Murphy
    --%>
    <%--
    <c:if test="${param.sayHello}">
    <!-- Let's welcome the user ${param.name} -->
    Hello ${param.name}!
    </c:if>
    --%>
    <%
    Context myEnv = null;
    WarenkorbRemote wr = null;
    // Context initialisation
    try
    myEnv = (Context)new javax.naming.InitialContext();
    /*Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
    //env.put(Context.PROVIDER_URL, "jnp://wotan.activenet.at:1099");
    env.put(Context.PROVIDER_URL, "jnp://localhost:1099");
    env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
    myEnv = new InitialContext(env);*/
    catch (Exception ex)
    System.err.println("Fehler beim initialisieren des Context: " + ex.getMessage());
    // now lets work
    try
    Object ref = myEnv.lookup("ejb/WarenkorbBean");
    //Object ref = myEnv.lookup("WarenkorbBean");
    WarenkorbRemoteHome warenkorbrhome = (WarenkorbRemoteHome)
    PortableRemoteObject.narrow(ref, WarenkorbRemoteHome.class);
    wr = warenkorbrhome.create();
    ArrayList myList = (ArrayList)wr.erzeugeWarenkorb();
    Iterator it = myList.iterator();
    while(it.hasNext())
    Produkt p = (Produkt)it.next();
    %>
    ProduktID: <%=p.getID()%><br></br>Produktbezeichnung:
    <%=p.getName()%><br></br><%
    wr.leseWarenkorb(myList);
    catch(Exception ex)
    %><p style="color:red">Onlineshop nicht erreichbar</p><%=ex.getMessage()%>
    <% }
    %>
    </body>
    </html>
    </code>
    the exception
    CORBA MARSHAL 1398079745 Maybe; nested exception is: org.omg.CORBA.MARSHAL: ----------BEGIN server-side stack trace---------- org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 257 completed: Maybe at com.sun.corba.ee.impl.logging.ORBUtilSystemException.couldNotFindClass(ORBUtilSystemException.java:8101) at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1013) at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:879) at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:873) at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_interface(CDRInputStream_1_0.java:863) at com.sun.corba.ee.impl.encoding.CDRInputStream.read_abstract_interface(CDRInputStream.java:275) at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:363) at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:526) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) at java.util.ArrayList.readObject(ArrayList.java:591) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1694) at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.java:1212) at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:400) at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:330) at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:296) at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1034) at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStream.java:259) at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:333) at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readArguments(DynamicMethodMarshallerImpl.java:393) at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121) at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:648) at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:192) at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1709) at com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:155) at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:184) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:129) at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:150) at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source) at ejb._WarenkorbRemote_DynamicStub.leseWarenkorb(_WarenkorbRemote_DynamicStub.java) at org.apache.jsp.index_jsp._jspService(index_jsp.java:122) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:860) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:336) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:297) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:247) at javax.servlet.http.HttpServlet.service(HttpServlet.java:860) at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAsPrivileged(Subject.java:517) at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282) at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257) at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55) at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161) at java.security.AccessController.doPrivileged(Native Method) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475) at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371) at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281) at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83) Caused by: java.lang.ClassNotFoundException ... 69 more ----------END server-side stack trace---------- vmcid: SUN minor code: 257 completed: Maybe

    Hi,
    I have found a way out by passing the reference of my EJB in the HttpSession object and using it inside the javabean..

  • Noob needs help with Logic and Motu live setup.

    Hello everyone,
    I'm a noob / semi noob who could use some help with a live setup using 2 MOTU 896HD's and Logic on a Mac.
    Here's the scenario:
    I teach an outdoor marching percussion section (a drumline and a front ensemble of marimbas and vibes). We have an amazing setup of live sound to amplify and enhance the mallet percussion. There is a yamaha PA system with 2 subs and 2 mains which are routed through a rack unit that processes the overall PA balance. I'm pretty sure that the unit is supposed to avoid feedback and do an overall cross-over EQ of the sound. Other then that unit, we have 2 motu896hd units which are routed via fire-wire. I also have a coax cable routing the output of the secondary box to the input of the primary box (digital i/o which converts to ADAT in (i think?)..?
    Here's the confusion:
    There are more then 8 inputs being used from the ensemble itself, so I need the 16 available inputs to be available in Logic. I was lead to believe that the 2nd motu unit would have to be sent digitally to the 1st motu unit via coax digital i/o. Once in Logic, however, I cannot find the signal or any input at all past the 8th input (of the 1st unit).
    Here's the goal:
    All of my performers and inputs routed via firewire into a Mac Mini running OSX and Logic pro.
    I want to be able to use MainStage and run different patches of effects / virt. instruments for a midi controller keyboard / etc.
    I want to be able to EQ and balance the ensemble via Logic.
    Here's another question:
    How much latency will I be dealing with? Would a mac mini with 4gb of ram be able to handle this load? With percussion, I obviously want the sound as latency free as possible. I also, however, want the flexibility of sound enhancement / modification that comes with Logic and the motu896hd units.
    Any help would be REALLY appreciated. I need the routing assistance along with some direction as to whether or not this will work for this type of application. I'm pretty certain it does, as I have spoken with some other teachers in similar venues and they have been doing similar things using mac mini's / logic / mainstage / etc.
    Thanks in advance,
    Chris

    You'll definitely want to read the manual to make sure the 896HDs are connected together properly. ADAT is a little tricky, it's not just a matter of cabling them together. Go to motunation.com if you need more guidance on connecting multiple devices. Beyond that initial hookup, here are a couple of quick suggestions:
    1. Open CueMix and see if both devices are reported there. If not, your connections aren't correct. Be sure to select 44.1kHz as your sample rate, otherwise you are reducing the number of additional channels. For instance at 88.2kHz you would get half the additional channels via ADAT.
    2. You may need to create an aggregate device for the MacBook to recognize more than the first 896HD. Lots of help on this forum for how to do that. Again, first make sure you have the 896HDs connected together properly.
    3. As for latency with Mainstage on the Mini, no way to know until you try it. Generally MOTU is fantastic for low latency work but Mainstage is a question mark for a lot of users right now. If the Mini can't cut the mustard, you have a great excuse to upgrade to a MacBook Pro.

  • Need help with mac and java

    Hi, I'm trying to develop an application on a Machintosh OSX 10.2.8 machine.
    I'm having a herrendous time trying to get quicktime to work on it.
    I've somehow managed t oget 1.3.1 and QTJava.jar to work together but now i need encryption, however that requires 1.4+
    Now 1.4.1 doesnt work with quicktime
    I've downloaded the latest software upgrades but Ive got no idea how to set up quicktime to work with java 1.4.1
    Now to add on top of that mac reports it can use AES encryption. this is from source code ripped striaght from this website.
    But first and foremost can anyone, annyonee help me out with setting up 1.4.1 with quicktime?
    Thank you

    If you need encryption with Java 1.3.1, download the JCE from either Sun (http://java.sun.com/products/jce/) or Bouncy Castle (http://www.bouncycastle.org/).
    Cheers,
    --Arnout                                                                                                                                                                                                                                                                                                                                                                   

  • Help with jsp and javaBean in eclipse/Tomcat

    Hi,
    I am new to JSP and JavaBean. I am going through tutorial for a jsp page that uses a javaBean. I am using eclipse to create jsp page and the java bean.
    My eclipse project "Date" has five package as under:-
    1. Deployment Descriptor
    2. Java Resources: src
    3. build
    4. WebContent
    I have my data.jsp page in WebContent/WEB-INF/ folder. When I just run date.jsp in a browser as: http://localhost:8080/Date/date.jsp, it gets launched into the browser correctly. But when I add a JavaBean "TimeFormatterBean.java" in the Java Resources:src folder and use it in date.jsp page, I get errors as under:-
    org.apache.jasper.JasperException: Unable to compile class for JSP:
    An error occurred at line: 5 in the jsp file: /date.jsp
    TimeFormatterBean cannot be resolved to a type
    2: pageEncoding="ISO-8859-1"%>
    3: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    4:
    5: <jsp:useBean id="formatter" class="TimeFormatterBean"/>
    6:
    7: <html>
    8: <head>
    The data.jsp page is as under:-
    <jsp:useBean id="formatter" class="TimeFormatterBean"/>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
         <h1> Date JSP </h1>
         <p> The  current time is:
         <%= new java.util.Date() %>
         <jsp:getProperty name="formatter" property="name"/>
         </p>
    </body>
    </html>I can see "TimeFormatterBean.class" in build/classes folder.
    If anyone could please help me out with this, it would be very helpful
    Thanks a lot!

    You probably should place TimeFormatterBean inside a package, or maybe you could try importing it , even if it�s in the default package, with something like this <%@ page import="TimeFormatterBean" %> at the top

  • Day one of my new MacBook Pro & I desparately need help with calendar and email

    It's day one of my new relationship with a Mac, and I need help! I'd like to use microsoft exchange to sync my calendars to iCal &amp; my emails the way I currently do with my iPhone 4 and iPad 2. The problem is that all I get are error messages. They either say that communication with the server cannot be established or communication to ports 80 &amp; 440 cannot be established. One account I'd an ssl and the others are gmail. Please advise!

    anyone? please? i would appreciate any information.

  • Need help with GetStringUTFChars and JAB

    Please help,
    I want to use the JNI function GetStringUTFChars with JAB (Java Access Bridge), without having to call JNI_CreateJavaVM as no matter what I do, JNI_CreateJavaVM fails. I have JAB successfully loaded, and I have used GetAccesibleFromHWND to get a valid jobect. Is there any way I can go from the jobect to use GetStringUTFChars?
    If not, is the source code availabe for GetStringUTFChars? OR is there an Windows/C++ equivalent available?

    RPhilbrook12, you've reached the right place for information regarding how to suspend your line while you're deployed. Are you being deployed for military purposes? If you have received military orders to relocate for 90 days or more to an area where Verizon Wireless doesn’t provide coverage and you need to suspend your service, you can contact us at 800-922-0204. You will need to be  prepared to provide information from your orders, including where you’ll be stationed and the name and rank of your Commanding Officer. Please be advised that your service can be suspended for up to 3 years for military deployment.
    For more details regarding your options to suspend services, click http://vz.to/1lfmyUI
    LasinaH_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

Maybe you are looking for