Skip to Content
author's profile photo Former Member
Former Member

JSP Tag lib

I have defined couple of input fields, a textView and Button using the JSP TagLib in the JSP page.

I am calling this JSP in the doProcessBeforeOutput() of a class extending PageProcessorcomponent.

when the user enters some value in the Input Field and clicks the button, doProcessAfterInput() is executed

i took the values from request parameter and generated some output in a String variable.

How do i bind the variable to the textView of the JSP page(I think i should do this in the PBO method).I want to output the variable value in the textView.

Even if someone could help me with some documentation of how to debug, that would be fine. I have a break point in the application, but when i run from the server it doesnt stop there. I have WAS in debug mode.Do i need to do some config in EP for debug mode

Thanks,

Sujatha

Message was edited by: Sujatha Vengaiah

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jan 13, 2005 at 01:46 AM

    Hi Sujatha,

    you have to create a bean, put all things you want to output into the bean and retrieve it again within the JSP page from the bean. To do so, you have to attach the bean to the component session for example, see https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/usage of beans with portal and htmlb.pdf

    Hope it helps

    Detlev

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2005 at 09:45 AM

    Hi Sujatha,

    regarding the possibility of debugging portal component you have to:

    1) enable debugging into your server processes of your WAS

    2) set a remote java debugging sessions, that is into eclipse:

    - select EP or java perspective

    - go to Run -> Debug...

    - select, into the left side area, Remote Java Application and click "New"

    - give a name to you session, for example your portal application name

    - select the project you'd like to debug

    - into "Connection property" give the host name of you WAS and the debugging port, by standard should be 50021, put the value you provided during enabling debug phase on your WAS

    - select "apply" and then "debug"

    at this time, if all it's ok, eclipse switch to debug perspective and your breakpoint should be active, they have a check sign. Run your portal component and, if one of the breakpoints is reached, the execution is stopped

    hope this help

    Ciao

    Roberto

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.