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

comunicate with one jsp page to another

HI

in jspdynpage how should i communictae one jsp to any other file

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 06, 2007 at 09:25 AM

    Hi chitta,,

    Sorry couldnt reply was busy in the morning..

    I have sample simple code ..it may help u

    jsp-dynpages-and-image-map

    Now in ur controller

    looks like this

    public static final int PAGE1 = 0;

    public static final int PAGE2 = 1;

    int PAGE_STATUS = PAGE1 ;

    public void doProcessBeforeOutput() throws PageException {

    switch (PAGE_STATUS) {

    case PAGE1 :

    this.setJspName("page1.jsp");

    break;

    case PAGE2 :

    this.setJspName("page2.jsp");

    break;

    }

    }

    public void onMyButtonClick(Event event) throws PageException {

    try {

    PAGE_STATUS = PAGE2;

    } catch (Exception e) {

    PAGE_STATUS = ERROR_PAGE;

    }

    Cheers

    Swathi

    Do offer pts nd ncourage:-)

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 05, 2007 at 04:15 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 05, 2007 at 08:19 PM

    Hi,

    Check this:

    JspDynPage - JspDynPage Communication ???

    http://help.sap.com/saphelp_nw04/helpdata/en/95/cfa441cd47a209e10000000a155106/frameset.htm

    Greetings,

    Praveen Gudapati

    p.s. Points are always welcome for helpful answers 😉

    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.