Re: couldnot call action or a Static JSP from the AJAX script - Websphere

This is a discussion on Re: couldnot call action or a Static JSP from the AJAX script - Websphere ; yes you are building your urls wrong are you trying to call a struts action? or do you just want to go to a jsp? IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0 IBM Certified Solution Developer -- ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Re: couldnot call action or a Static JSP from the AJAX script

  1. Re: couldnot call action or a Static JSP from the AJAX script

    yes you are building your urls wrong



    are you trying to call a struts action? or do you just want to go to a jsp?



    IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0

    IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0



    The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM

  2. Re: couldnot call action or a Static JSP from the AJAX script

    I want yo call a struts action

  3. Re: couldnot call action or a Static JSP from the AJAX script

    you need to use the url generation SPIs to build your urls then.

    http://www.ibm.com/developerworks/we...0612_behl.html

    and here

    http://www.ibm.com/support/docview.w...ct688websphere



    and when calling that link you have to pass in these params

    HashMap map = new HashMap();

    String[] value2 = {"spf_ActionListener"};

    String[] value3 = {"!2fmyactionname.do"};



    map.put("spf_ActionName", value2);

    map.put("spf_strutsAction", value3);





    IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0

    IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0



    The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM

+ Reply to Thread