JSP  Webdynpro communication

Hi all,
i'm new to web dynpro. My requirement is to call an web dynpro application from a normal J2EE web application running on the SAP Server. Is there any way to call via normal jsp. is it possible. if so will the session attributes will be visible inside the webdynpro application. How to get those session attributes?
will u please help me out in this.
Thnx & Regards
Ilan

Hi
Try
WDProtocolAdapter.getProtocolAdapter().getRequestObject();
to get the request related
Regards
Ayyapparaj

Similar Messages

  • JSP- EJB Communication

    I have a client-server application where my client is an applet and the server is an EJB.
    The HTML code to launch the applet is dynamically generated by a JSP page. Now i want this JSP page to be able to communicate with the EJB.
    What i need is that the JSP page will pass a parameter to the Applet and the same parameter will be notified to the EJB. So that when the Applet accesses the EJB, the EJB could verify whether the parameter is correct.
    Could someone show me a way to achieve this.
    I am doing all these bcos since it the applet that acceses the EJB anyone who could manage to get the Applet jar file can access the EJB unauthorizedly,with the help of a decompiler.
    If anyone has a better solution to this problem, kindly let me know
    regards
    Raees

    Greetings,
    What i need is that the JSP page will pass a parameter
    to the Applet and the same parameter will be notified
    to the EJB. So that when the Applet accesses the EJB,
    the EJB could verify whether the parameter is correct.Unless you're using a database to hold the verification parameter you're looking at several problems here, especially if your EJB is a Session Bean. Firstly, if your bean is Stateful (SB) you will get an exception when your Applet tries to access the bean since Session Beans are not shareable among multiple threads (meaning, in this case, "clients"). If your bean is Stateless it can store the parameter internally, however, Stateless beans are poolable. This means when your Applet tries to verify itself there's no guarantee that the bean holding the parameter from the JSP is the same bean the Applet verifies against. However...
    Could someone show me a way to achieve this. One way this can be handled is with a "verification" Stateless SB and a temporary database table. The bean can have a method to generate a temporary "key" which it stores in the temporary table and passes back to the caller (JSP). The JSP then passes this as a parameter to the Applet which invokes a method to validate the key. This method would then check the table for the specified key and delete it upon successful verification. However, since you would be embedding a security construct within the web page it is advisable to perform the page loading over SSL...
    I hope this helps.
    regards
    Raees Regards,
    Tony "Vee Schade" Cook

  • JSP page communicating with a MySQL db throw a Glassfih RESTful web service

    Hello;
    I am en newbie in servlet/JSP stuffs, and as I said in the subject, i'm looking for the best way to make my JSP pages communicate with my db. My application already consists in a RESTful web service that, just for the record, communicates with a JavaFX Client.
    (>What i'm looking for is to write datas in my database through this JavaFX client, and it seems like this can only works by passing through a intermediate scripting language like JSP).
    To get back on my issue, I don't really know about JSP. I read many tutorials but it still seems confusing to me. Can somebody show me, by a detailed example, how I can do that ? (Preferably by using jsp beans like "usebean", that i find very useful).
    Thanks a lot.

    don't make your JSP 'communicate' with a database. These tasks are for servlets and specific business logic classes which you can use in your servlets.
    To connect to a database, use the JDBC API. Plenty of tutorials about that around the net.
    I don't really know about JSPYeah well, you already identified your problem then. The solution is very simple: learn. To be able to learn, get a good resource, such as a book and not some vague tutorials that you find on the net. For example, I always recommend this free online book:
    [core servlets 2nd edition|http://pdf.coreservlets.com]

  • JSP Applet communication

    Hi all ,
    I know this question has been asked so many times and I have read all the posts but still i was unsuccessful.
    I am trying to send a string from a jsp to another jsp which is loading the applet to display that string.
    In my first jsp:
    <form method=post action="hello.jsp">
    <input type="text" name="formDesc" value="IBMTR/ABMTR Form" size="20" maxlength="20">
    <input type=submit name="Go" class="submituttontext" value="Go">
    </form>     
    in my seccond jsp:
    <APPLET CODE="ParamTest.class" WIDTH="400" HEIGHT="50">
    <PARAM NAME="font" VALUE="Dialog">
    <PARAM NAME="size" VALUE="24">
    <PARAM NAME="string" VALUE="Hello, world ... it's me. :)">
    <PARAM NAME="formDesc" VALUE="<%=request.getParameter("formDesc");%>">
    </APPLET>
    in my applet:
    String myFont = getParameter("font");
    String myString = getParameter("string");
    int mySize = Integer.parseInt(getParameter("size"));
    String desc =getParameter("formDesc");
    Font f = new Font(myFont, Font.BOLD, mySize);
    g.setFont(f);
    g.setColor(Color.red);
    g.drawString(myString, 20, 20);
    g.drawString(desc, 40, 40);
    but nope i cannot see...formDesc ..I jus see the <%=getParameter%>
    Thanx

    At first glance the only error I see is:
    <PARAM NAME="formDesc" VALUE="<%=request.getParameter("formDesc");%>">
    should be changed to:
    <PARAM NAME="formDesc" VALUE="<%=request.getParameter("formDesc") %>">
    No semicolon in expressions. This should give you JSP compile error, so maybe that was just a typo in your post and not the real problem.
    Let me know.

  • JSP/Servlet communication

    Hi all
    I want to populate a list containing domain objects in a servlet and then send the list to a JSP but without storing them in a HttpSession. I'm leaning toward storing the list as a ServletRequest attribute and then reading the attribute from the JSP - is this a good convention?
    Thanks!

    let me rephrase that, what's the best way of sending domain objects via a servlet to a JSP without using http sessions?

  • JSP-HTML communication

              I have a HTML form that supplies 3 parameters to a jsp file. Inside the Jsp file,
              I validate those 3 parameters and throw an exception if any of them are null.
              How would I tell the HTML file if there happens an exception in the Jsp file.?Thanks
              

    one approach is inform thru the query string the posting page.
              other appraach is use the server variables collection to determine the
              referrer(i.e the calling page)
              Oscar Dash <[email protected]> wrote in message
              news:[email protected]..
              >
              > Ok, I converted my form into a jsp as well. When an exception occurs, I am
              doing
              > sendError(500) from the target jsp. How does the first jsp (one who is
              posting
              > the data) knows about that error code?
              >
              > Michael Young <[email protected]> wrote:
              > >Hi.
              > >
              > >You can't tell the html file anything, really. HTML files are static
              > >and dumb. To do
              > >anything intelligent in a form you will probably need to convert it to
              > >a JSP as well in
              > >order to code some intelligence into it.
              > >
              > >Regards,
              > >Michael
              > >
              > >Oscar Dash wrote:
              > >
              > >> I have a HTML form that supplies 3 parameters to a jsp file. Inside
              > >the Jsp file,
              > >> I validate those 3 parameters and throw an exception if any of them
              > >are null.
              > >> How would I tell the HTML file if there happens an exception in the
              > >Jsp file.?Thanks
              > >
              > >--
              > >Michael Young
              > >Developer Relations Engineer
              > >BEA Support
              > >
              > >
              >
              

  • Jsp-beans communication

    hello all,
    i have set up jsp and it works fine.
    i have written a jsp which includes action tags i.e. useBean , setProperty and getProperty .
    on execution it gives an error.
    any special path to be set.
    i was trying it on jswdk 1.0
    thanx for help.

    Hi, it will be really helpful is you're more precise in your description. I can't figure it out which is your problem... Anyway, you may take a look in the search field of this forum with some keywords. Besides, you can change it to the JSP forum.
    If you can solve your problem afterwards, you can post some code as advice.
    Regards,
    JP

  • Problem while jsp Servlet communication

    dear,
    i made a login.jsp and Validate.java (servlet), jsp is front-end while validate.java is backend servlet connect to database and check the login from the database, but when i run the example, i didnt show any result eventhough i have generated html page from servlet. Error is validate unreachable but i have coppied it inot correct directory (webapp/web-inf/classes)

    Vijay,
    Actually I looking for the same answer... I created an applet that connects to a servlet to do some database process.
    The problem is that I got an java.security socket error when the client try to create an HttpServletConnection with the servlet...
    Luis

  • Blackberry issues with WebDynpro application

    We are testing a webdynpro application via a blackberry. The webdynpro application works fine from IE.  With the blackberry, we see the following:
    - User logs into the application. After user's first access attempt, they no longer have to log in. We even turn off the Blackberry and restart. The same issue occurs.
    - User executes a line item transaction in the Blackberry. This item executes fine.  However, we get a communication error on the next lineitem.
    Is there Blackberry Browser and/or Blackberry server settings that need to be applied to allow the sessions and WebDynpro communication to work properly?

    Hi Stephen,
    I'm working on creating Blackberry application for online Purchase requisition Approval process, using PR workflow.
    Workflow configurations have been done in ECC.
    can u guide me how to get "Approve/ Reject" option on the BB device?

  • EPCF in webdynpro

    Hi all
    Does epcf can be applied to webdynpro
    How the scripting and eventing done in webpro
    Useful links pls
    Itti

    check these related ones
    WebDynpro Portal Eventing
    WebDynpro or JSPDynPage with HTMLB
    WebDynPro communication....
    Passing Data Back from a WebDynpro App to a Portal App
    Portal Eventing with Web Dynpro
    Swathi

  • Dyanmic csv file downloading with out writing a copy to server

    Hi,
    Here is my problem, any help most appriciated..
    I want to download dynamically created CSV file from the weblogic server, using jsp/servlet communication.
    I developed a servlet for this and i called that servlet from my jsp page, when user clicks on download button, my servlet works fine, but it writes a copy of CSV file into c:\bea\wlserver6.0 of the server, My intention is just it's has to dowload file to the client system, with out writing a copy in the server.
    Here is my code snnipits..
    public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException {
    HttpSession session = req.getSession(true);
    try {
    resultMessageLastBalance = mtdRetrieveLastBalance(req);
    rsTrxnDetailLastBalance = resultMessageLastBalance.getRecordSet("lasttentrxn");
    } catch (Exception e) {
    e.printStackTrace();
    e.getMessage();
    File csvFile;
    FileOutputStream file;
    //codes to generate a file in local server for downloading
    Calendar calendar = Calendar.getInstance();
    String strFileName = Integer.toString(calendar.get(Calendar.YEAR))+Integer.toString(calendar.get(Calendar.MONTH))+Integer.toString(calendar.get(Calendar.DATE))+Integer.toString(calendar.get(Calendar.HOUR))+Integer.toString(calendar.get(Calendar.MINUTE))+Integer.toString(calendar.get(Calendar.SECOND))+Integer.toString(calendar.get(Calendar.MILLISECOND));
    try {
    strFileName = DeformatAcctNo(req.getParameter("acct_trxn__acctselected")) + strFileName + ".csv";
    } catch (Exception e) {}
    calendar = null;
    csvFile = new File(strFileName);
    if (!csvFile.exists()) {
    csvFile.createNewFile();
    file = new FileOutputStream(csvFile);
    res.setContentType("application/download");
    res.setHeader("Content-Disposition","attachment;filename=" + strFileName);
    javax.servlet.ServletOutputStream servletoutputstream1 = res.getOutputStream();
    String s = strFileName;
    dumpFile(s, servletoutputstream1);
    servletoutputstream1.flush();
    servletoutputstream1.close();

    Hi,
    Thanx a lot for ur solution..it's helful for me to send data with a file format,but i need t send data in csv file foramt.
    hav a look at my complete servelt and try to suggesst some thing..
    In this case csv file is creating in c:\bea\wlserver directory.my intensions sre just it jas to download to client, no copy in the server.
    public class AcctStmtD2 extends HttpServlet {
         public void doGet(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException {
         //variables for retrieving last balance
         Message resultMessageLastBalance = null;
         RecordSet rsTrxnDetailLastBalance = null;
         double dblDebitTotal = 0.00;
         double dblCreditTotal = 0.00;
         HttpSession session = req.getSession(true);
    Enumeration ea = session.getAttributeNames();
         while(ea.hasMoreElements()) {
         Object name = ea.nextElement();
         System.out.println("values = " + session.getAttribute((String)name));
         try {
         resultMessageLastBalance = mtdRetrieveLastBalance(req);
         rsTrxnDetailLastBalance = resultMessageLastBalance.getRecordSet("formonthtrxn");
         } catch (Exception e) {
         e.printStackTrace();
         e.getMessage();
         File csvFile;
         FileOutputStream file;
         //codes to generate a file in local server for downloading
         Calendar calendar = Calendar.getInstance();
         String strFileName = Integer.toString(calendar.get(Calendar.YEAR))+Integer.toString(calendar.get(Calendar.MONTH))+Integer.toString(calendar.get(Calendar.DATE))+Integer.toString(calendar.get(Calendar.HOUR))+Integer.toString(calendar.get(Calendar.MINUTE))+Integer.toString(calendar.get(Calendar.SECOND))+Integer.toString(calendar.get(Calendar.MILLISECOND));
         try {
              strFileName = DeformatAcctNo(req.getParameter("acct_stmt__acctselected")) + strFileName + ".csv";
         } catch (Exception e) {}
         calendar = null;
         csvFile = new File(strFileName);
         if (!csvFile.exists()) {
         csvFile.createNewFile();
         file = new FileOutputStream(csvFile);
         if (rsTrxnDetailLastBalance.getTotalRowCount() >= 1) {
         String strLastBal = "";
         String strCurrCd = "";
              try {
                        rsTrxnDetailLastBalance.moveLast();
         strLastBal = rsTrxnDetailLastBalance.getValue("bal");
                        rsTrxnDetailLastBalance.moveFirst();
         strCurrCd = "(" + GetCurrCdFromSession(session, req.getParameter("acct_stmt__acctselected")) + ")";
         file.write(("\""+req.getParameter("acct_stmt__acctselected")+"\"").getBytes());
         file.write(',');
         file.write(',');
         file.write(',');
         file.write(',');
         file.write(',');
         file.write(("\""+"Last Balance "+strCurrCd+" = "+strLastBal+"\"").getBytes());
         file.write('\n');
         file.write(("\""+"Date"+"\"").getBytes());
         file.write(',');
         file.write(("\""+"Slip No"+"\"").getBytes());
         file.write(',');
         file.write(("\""+"Description"+"\"").getBytes());
         file.write(',');
         file.write(("\""+"Debit"+" "+strCurrCd+"\"").getBytes());
         file.write(',');
         file.write(("\""+"Credit"+" "+strCurrCd+"\"").getBytes());
         file.write(',');
         file.write(("\""+"Balance"+" "+strCurrCd+"\"").getBytes());
         file.write('\n');
         } catch (Exception e) {System.out.println("!");}
    while(rsTrxnDetailLastBalance.moveNext()) {
         try {
         file.write(("\""+rsTrxnDetailLastBalance.getValue("txn_dt").substring(0,12)+"\"").getBytes());
    file.write(',');
         file.write(("\""+rsTrxnDetailLastBalance.getValue("slip_no")+"\"").getBytes());
         file.write(',');
         file.write(("\""+rsTrxnDetailLastBalance.getValue("dscp")+"\"").getBytes());
         file.write(',');
         file.write(("\""+rsTrxnDetailLastBalance.getValue("debit")+"\"").getBytes());
         file.write(',');
         file.write(("\""+rsTrxnDetailLastBalance.getValue("credit")+"\"").getBytes());
         file.write(',');
         file.write(("\""+rsTrxnDetailLastBalance.getValue("bal")+"\"").getBytes());
         file.write('\n');
         } catch(Exception e) {}
         try {
                             dblDebitTotal += Double.parseDouble(rsTrxnDetailLastBalance.getValue("debit"));
         } catch (Exception e) {
                             dblDebitTotal = 0;
         try {
                             dblCreditTotal += Double.parseDouble(rsTrxnDetailLastBalance.getValue("credit"));
         } catch (Exception e) {
                             dblCreditTotal = 0;
         file.write(',');
         file.write(',');
         file.write(("\""+"Total"+"\"").getBytes());
         file.write(',');
         file.write(("\""+Double.toString(dblDebitTotal)+"\"").getBytes());
         file.write(',');
         file.write(("\""+Double.toString(dblCreditTotal)+"\"").getBytes());
         } else {
         file.write(("\""+"No Record Found!"+"\"").getBytes());
         file.close();
         res.setContentType("application/download");
         res.setHeader("Content-Disposition","attachment;filename=" + strFileName);
                   javax.servlet.ServletOutputStream servletoutputstream1 = res.getOutputStream();
         String s = strFileName;
         dumpFile(s, servletoutputstream1);
         servletoutputstream1.flush();
         servletoutputstream1.close();
    public void doPost(HttpServletRequest req, HttpServletResponse res) throws IOException, ServletException {
              doGet(req, res);
    private void dumpFile(String s, OutputStream outputstream) {
    byte abyte0[] = new byte[4096];
         boolean flag = true;
         try {
         FileInputStream fileinputstream = new FileInputStream(s);
         int i;
         while((i = fileinputstream.read(abyte0)) != -1)
         outputstream.write(abyte0, 0, i);
         fileinputstream.close();
         } catch(Exception e) {}
    private Message mtdRetrieveLastBalance(HttpServletRequest req) throws Exception {
         Message msgMessage = new Message();
         DAC.Parser.RecordSet objFund_Tx = msgMessage.createRecordSet("formonthtrxn");
         //Set the header fields for the record
         objFund_Tx.addHeaderFields("acctselected","String");
         objFund_Tx.addHeaderFields("formonth","String");
         objFund_Tx.addHeaderFields("foryear","String");
         //Add a new row to the recordset
         objFund_Tx.addRow();
         msgMessage.setData("recordnm", "string", "formonthtrxn");
         //Set the required fields into the recordset
         objFund_Tx.setValue("acctselected", DeformatAcctNo(req.getParameter("acct_stmt__acctselected")));
         objFund_Tx.setValue("formonth", req.getParameter("acct_stmt__formonth"));
         objFund_Tx.setValue("foryear", req.getParameter("acct_stmt__foryear"));
         objFund_Tx.setStatus("select");
         System.out.println("JSP IN :"+msgMessage);
         msgMessage = mtdOpenConnection(msgMessage);
         System.out.println("JSP OUT :"+msgMessage);
         return msgMessage;
    private Message mtdOpenConnection(Message objMessage) throws Exception {
    java.util.Hashtable ht = new java.util.Hashtable();
         ht.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
         ht.put(javax.naming.Context.PROVIDER_URL, "t3://localhost:7001");
    javax.naming.InitialContext ic = new javax.naming.InitialContext(ht);
    DAC.BusinessObjects.RIB.Account.AccountHome pmHome = (DAC.BusinessObjects.RIB.Account.AccountHome)PortableRemoteObject.narrow(ic.lookup("AccountEJB"),Class.forName("DAC.BusinessObjects.RIB.Account.AccountHome"));
         DAC.BusinessObjects.RIB.Account.Account pmObj = (DAC.BusinessObjects.RIB.Account.Account)PortableRemoteObject.narrow(pmHome.create(),Class.forName("DAC.BusinessObjects.RIB.Account.Account"));
         return pmObj.mtdRetrieveTrxForMonth(objMessage);
    private String convertSingleDigitMonthDayToDouble(String param) throws Exception {
         if (param.length() > 1) {
         return param;
         } else {
         return "0" + param;
         //remove dashes and product name and branch code from string
         private String DeformatAcctNo(String strAcctNo) throws Exception {
              strAcctNo.trim();
              return strAcctNo.substring(0,3)+strAcctNo.substring(4,6)+strAcctNo.substring(7,12)+strAcctNo.substring(13,14);
         private     String GetCurrCdFromSession(HttpSession session, String acct_no) throws Exception {
              String strAcctDetail = "";
              String strCurrCd = "";
              Vector vList = (Vector)session.getAttribute("accountlist");
              for (int i = 0; i < vList.size(); i++) {
                   strAcctDetail = (String)vList.get(i);
                   if ((strAcctDetail.substring(0, acct_no.length()).equals(acct_no))) {
                        strCurrCd = strAcctDetail.substring(strAcctDetail.indexOf(":") + 1, (strAcctDetail.indexOf(":") + 4));
                        break;
              vList = null;
              strAcctDetail = null;
              return strCurrCd;
    }

  • Fire() and subscribe() not working

    Hi
    I have a DC which contains 2 Applications, 2 diiferent components.There is a link in the first application's iview which opens the second application in the content area. I did this using WDPortalNavigation.navigateAbsolute(). Now i want to move some data from second application to the first application. For this i m using Subscribe() and Fire() method in both the iviews as follows:
    in the sender (second) application:
    WDPortalEventing.fire("urn:com.sap.try.cust", "Code", code);
    in the receiver (first) application:
    in it's wdDoInit() method:
    WDPortalEventing.subscribe("urn:com.sap.try.cust", "Code", wdThis.wdGetReceiveCodeAction());
    public void onActionReceiveCode(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String code )
        //@@begin onActionReceiveCode(ServerEvent)
         wdContext.currentContextElement().setCtx_BACode(code);
             //@@end
    the context attribute Ctx_BACode is mapped to UIElement for displaying.
    When i run this application, i am able to move from first application to second application, but when i click to send the data to the first application, it doesn't go.
    Could anybody please suggest a way about it?
    Thanks & regards,
    Anupreet

    Hello Anupreet,
    Did you check this WebDynPro communication.... ?
    Best regards, Maksim Rashchynski

  • Central custom css deklaration in Netweaver?

    Hi,
    is it possible to apply a costum css file with styles for all elemtents in the Netweaver portal. Like jsp, webdynpro, etc. I know for this issue you should use a motive and the motive editor, but the options in this editor and the functions are sometimes not the best solution.
    The best solution would be a central css file in which you have the possibility to style all your elements by stylesheets. Is there an css import in the motives? exists an empty motive so that I can overwrite the generated css files? Are there other controlmechanisms for web dynpro elements? Can I edit the css classnames of the web dynpro elements?
    Thanks for your help. Buy.

    Hi Jan,
    Thanks for answer. Yes a external facing portal fits my needs. I have implemented one, but the central theme is only editable with the helb of the motive editor (http://help.sap.com/saphelp_nw04s/helpdata/EN/43/86b6bce99d72a7e10000000a11466f/content.htm TASK 6). And you have to agree to me that the functionality of this editor isn't exactly brilliant CSS 1, some of the Webdnpro elements are not editable, the support of firefox is bad, you can define padding, color, images, etc. But sometimes that is not enough.
    So it would be perfect if there is a way to define my own custom "theme.css" with the styling information for my navigation iviews, siteheader, footer, brand, web dynpro registers, input boxes, etc.
    So has anybody ideas or experiences for this area?

  • BI Reports in Web Dynpro iView

    Hi Experts,
    I need a favour from you in estimating small requirement with BI reports & Web Dynpro iView.
    My first query, is it possible to build horizontal drilldown menus
    Second query, is it possible link the BI Reports from Web Dynpro application
    third query, is it possible to put both Web Dynpro iView & BI Reports view in one Portal iView.
    If all the above are possible, I have a requirement that should fulfil the below
    In a portl iView, I have several  BI Reports displays based on called report. But at the moment links to the report are in simple hyper link. Instead of hyperlinks, I want a horizontal menus as hierarchical/child structure. To acomplish this I chose, Web Dynpro as the best solution.
    I have some development exeperience in Web Dynpro, but never encounterd such a requirement.
    If any one can help me out in estimation, posibilites of the solution that would be a great help for me.
    Your help will be highly appreciated.
    Thanks in Advance,
    Chinna.

    Hi Chinna,
    Check the following threads:
    Show BI report in a Web Dynpro App
    BI data in Web Dynpro
    Re: How to create a Report from WebDympro
    Re: BW server details from webdynpro
    /community [original link is broken]://Bi,Portal Webdynpro
    And a How To Guide:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f35908-ecd4-2910-6c89-e75e1054d9d1
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a303e745-0d01-0010-b280-802bca844b8f
    *Second query, is it possible link the BI Reports from Web Dynpro application
    third query, is it possible to put both Web Dynpro iView & BI Reports view in one Portal iView.*
    You can not assign two types of app in a single iview but you can have multiple iviews assigned to a page.
    This will guide you.
    Regards.
    Rajat

  • Communication between jsp and abstractportalcomponent

    Hello All
    Communication between jsp and abstractPortalComponent.
    jsp contains one input text field and one submit button.
    when the user clicks on submit button it will call the component and that input value will
    display in same jsp page.
    how this communication will happen?
    Rgrds
    Sri

    Hi Srikanth,
    In the JAVA File, 
    OnSubmit Event,
    String inputvalue ;
    InputField myInputField = (InputField) getComponentByName("Input_Field_ID");
    if (myInputField != null) {
                   inputvalue = myInputField.getValueAsDataType().toString();
    request.putValue("textvalue", inputvalue);
    request is IPORTALCOMPONENTREQUEST Object.
    In JSP File,   to retreive the value,
    <%
    String  textstring = (String) ComponentRequest.getValue("textvalue");
    %>
    In PORTALAPP.XML File,
    <component name="component name">
          <component-config>
            <property name="ClassName" value="classname"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile>
            <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
    Using the code above, You can pass and read values between abstract portal component and Jsp Page.
    Instead of this, I suggest you to use JSPDYNPAGE Component for Data Exchange.
    Check the [Link|http://help.sap.com/saphelp_nw2004s/helpdata/de/ce/e0a341354ca309e10000000a155106/frameset.htm].
    Hope this helps you.
    Regards,
    Eben Joyson

Maybe you are looking for

  • G5 Constant Problems

    Hello Apple lovers. This is my first post so bare with me... My dad bought this G5 Mac back in 2001 (Equipped with Panther). It has been running absolutely fine until Leopard. I didn't install Tiger on the computer because it was not needed, when it

  • Order cost is combined in single line

    Hi Dears, I have an issue that in maintenance order cost is  appearing in cost tab as combined of all categories like material, external service and internal labour in single line  for exapmple total cost                5250 but it should be material

  • Characteristic Infoobject - Data type TIMS

    Hello , Please let me know in Extract Structure of Source System which data type I select for mapping to characterictic Infoobject with TIMS as data type in general tab . If I need to display time in Hours or Minutes how I need to do that , help me w

  • Converting 1.0 event model to 1.1

    I am working on converting a game that uses the 1.0 event-handling model to 1.1 (in preparation for eventual conversion to Swing). I have reached the point of saturation where I'm probably missing the obvious things that will fix my problem, so I'm h

  • Usage of ORDER BY in XML

    I am using a simple table to store records. I am using sys_xmlgen, xmlforest and xmlagg functions to generate an XML. While the the records re retrived and XML is formed the sequence of the records is not as desired. for eg: i have got 6 rows in a si