JSP Portlet Problem

Hi,
i have installed oracle portal 3.0.6.3.3 on NT.
The problem is that i face problems while trying to install a sample portlet given in JPDK download.
i have followed the exact instructions as given in the oracle portal development kit installation guide(Pre-configuration and Set-up).
when registered a sample portlet provider in the Admin tab, and i tried to put it into my page, i got the following error.
Error:(WWC-00000)
The following error occurred during the call to Web provider: true (WWC-43147)
i've already searched in metelink but there is not information about.

Juan,
I have not seen this error before, so I will try to help you debug.
Are you able to display any of the portlet samples from the JPDK. Using PDK January, 8 are JSPs and 2 are servlets. HelloWorld and Web Services Portlet are servlet implementation. Can you display any of them?
1) Check the provider.xml file make sure that you only changed the <appRoot> and this should point to the location of your JSP directories. For example: D:\9iAS\Apache\Apache\htdocs\lottery
2)Make sure that you have placed the location of the provider.jar and sample_portlets.jar in the jserv.properties file.
3)Question, when you are trying to add portlets to the page, do you actually see the information in the "Add Portlets" page? Do you see a description of the Web Services Portlet? If you can see the Web Services description, it sees the sample_portlets.jar.
Please let me know the answers to the above questions and if you get it working, can you post the solution on the message board to help others having the same problem.
Thanks
Sue
null

Similar Messages

  • Upload file form problem in JSP portlet !!!

    Hi!
    I use "OrdHttpUploadFile" class for upload file in JSP portlet to database!
    Problem is that this class must use FORM ENCTYPE="multipart/form-data" whis I suppose dont work in portlet!?
    Which FORM ENCTYPE should I use in portlet! Or there is some other solution for upload file in JSP portlet!?
    Thanks!
    Kristjan

    Thanks for u r reply Mr.Prasad.
    Sorry for the delay for reply.
    My scenario is in 2 phases
    Phase 1. I am taking input from the front end using jsp and writing the contents in to a file and then downloading that file on to my desktop.(Now let us say this one as file downloading)
    Phase 2. Now I had designed a page,which locates the downloaded file by using the following tag.
                        <td><input type ="file" name ="xmlFileName"></td>
        In the downloaded xml file I am having applicationid. I am checking whether the application id already xists in the database (or)not.
    If already exists in the database , the end user will get one confirmation msg,saying application already exists in the database.
    If the user clicks ok again the request has to go to the servlet.
    Now the actual problems are
    1. When I locate the file on the desktop let us say c:\desktop\krish and click on submit button, it is locating to the file that is present in the server(this is the case for the first time means before checking the application id in the database).
    2. when the end user clicks "ok" on the confirmation box , I am not getting the file name,that has to be submitted to the servlet.
    Can u plz help me how to resolve this issue.
    regards,
    Krish

  • Session problem in JSP portlet

    Hi,
    I have a jsp portlet. In this jsp i am creating a session and i am putting some value in session. There is navigation from this jsp to second jsp(not portlet) and from this jsp to third jsp(again this is also not a portlet). Now in third jsp i am trying to retrieve the value from session. But i am getting null value.
    In provider i given <session>true</session> element. While registering provider with portal given login frequency 'once per user session'.
    The code in first jsp is:
    PortletRenderRequest portletRequest = (PortletRenderRequest) request.getAttribute(HttpProvider.PORTLET_RENDER_REQUEST);
    ProviderSession mySession = portletRequest.getSession();
    if(mySession != null){
    mySession.putValue(PortletRendererUtil.portletParameter(portletRequest.getPortletReference(), "const"), str);
    From the code i found that the session itself is not created.
    Sorry for the lengthy question.
    Pls. help me.
    Rgds,
    CRM.
    null

    To share a session between a web provider and other JSPs or Servlets, you need to make sure the "Same Cookie Domain" checkbox is checked AND your session cookie is scoped to a common domain (eg us.oracle.com)
    See documents on session handling and Integrating Password Protected Applications into Oracle Portal - downloadable from portalstudio.oracle.com.
    review the section on "deep links" in the second article.

  • Problem while creatin jsp portlet

    hello all,
    i get an error "500 internal server error" while creating jsp portlet. i do not write any thing in view.jsp page.
    can any body tell me what is wrong with it? i am using oracle jdeveloper 10g (version 10.1.2.0.0).
    thanks in advance

    Hi Arshita,
    This issue is corrected. You should make a search in SAP Marketplace. There is a note to correct that issue.
    I cannot search from my place (mobile handy device) but you should be able to find it easily in LO-MD-BP-CM or FI-AP* or FI-AR* + TMOD* or the error number.
    The note is quite recent. Probably less than 6 months.
    reward points if helpful.
    BR

  • Memory Leak In OC4J_WSRP Jsp Portlet

    Hi All
    I have the following problem:
    I have several JSP portlets deployed in the OracelAS OC4J_WSRP container.
    These portlets do a DB Access (using OracleAS connection pooling), call a remote Web Service parse the XML response and finally display the data to the user.
    We are in development period which means that we continuously deploy or redeploy the portlets using JDeveloper.
    The problem is that after 5 to 6 days an java.lang.outofmemory exception is thrown and all portlets deployed to this container stop working (we see a 500 Internal Server Error to the portal pages that use these portlets).
    We need to restart the OC4J_WSRP container to get the portlets back working.
    Obviously the JVM of the container runs out of memory and cannot serve further requests.
    But the big question is WHAT is causing the problem?
    I have noticed that the Memory usage metric in Oracle Enterprise Manager Application Server Control steadily increases over time and when it reaches about 125Mb then I get the OutofMemory exception.
    Another metric that steadily increases is the total JDBC connections but I am not sure if this is a problem or not as no Documentation from Oracle provides sufficient explanation of what this number is all about!!
    I have also noticed that each time we redeploy the provider that contains the portlets to the OC4J_WSRP container the Memory Usage increases significantly (about 2Mb more) and this memory is never given back to the OS but only when the OC4J_WSRP is restarted...
    Does anybody have an explanation to this?
    Thank you

    Do you mean the OC4J_WSRP container?
    Is it a production system or you are in development period??
    Because I suspect that the memory increases with the continuous re-deployments of the provider.
    maybe if we discuss the problem we will be able to find a solution together...

  • Recommended Practice for Exception handling in JSP portlets

    Hi,
    This may be a redundant question, but hope to get some feedback on the generally used practice of catching exceptions in a JSP based Portal application.
    Is it okay to just make use of the standard JSP errorpage directive in each of the JSP portlets to point to the same errorpage.jsp. If a problem occurs in any of the portlets, the userfriendly message in the errorpage.jsp would be rendered.
    Of course there could be some kind of error logging done in the errorpage.jsp to track the error stack. This also means, that you would not want to catch any exceptions inside each of the portlet JSPs but rather let the errorpage directive, be the catch all?
    regards
    -Ananth

    Mohana,
    Pls ignore the voice mail,it was for something else and I was able to talk to Peter as well about this.
    Regarding the error/exception handling -
    If the errorPage.jsp is used in each of the JSP portlets with the help of the JPS errorPage directive, if a general system failure or major appln. error occurs, you will get the errorPage.jsp containing the user friendly message to show up in each of the half a dozen portlets on the page!!. Is that allright.
    You cannot really redirect the entire page using the code inside the JSP portlet. It will only render inside the same portlet. The only way you can do this is to use Javascript.
    -Ananth

  • Post a custom event with jsp portlet

    I have a portal page which contains a jsp portlet and a couple of other portlets.
    The jsp has several links and when the links are clicked and the page is redrawn on the portal, I want the jsp portlet to fire events to which the other portlets in the page can react to.
    To achieve this, I have attached a backing file to a jsp portlet and have a custom event being fired (from the handlePostBack method) when certain conditions are met. The problem is that the handlePostBack method is not called in the jsp portlet lifecycle (only init(), preRender() and destroy() are called). I realize it may be because the urls dont have the _nfpb parameter set. I did try adding that to the link url - but no luck.
    Will someone point me as to what is wrong with the setup described above.
    ram.

    Kevin,
    How would I use postbackURL tag on a url which already has the "?" appended - for example if my url is "/somedomain/something.portal?cmd=4", the postbackUrl tag converts it as "/somedomain/something.portal?cmd=4?_nfpb=true&_page_Label=..."
    Shouldnt it have the intelligence to sense that the url already contains "?" and hence it should use '&' to append further parameters.
    Also if I strip out my "?cmd=4" from the url and just provide the bare url so that it is now free to add the "?_nfpb=true" to the url, how do I instruct the tag to later append my cmd=4 parameter to the query string? I see an attribute called "parameters" but how do I provide a name value pair? Or should I simply provide the string "cmd=4" as attribute value?
    As of now I am contructing the url object and the jsp looks a bit unwieldy though it works :)
    Thanks,
    Ram.

  • Deploying JSP Portlet with custom taglib?

    Hi.
    I have deployed a simple jsp portlet to Oracle 9iAS (with JDeveloper),
    and it works otherwise fine, but it can find the taglibrary i'm using.
    I've tried using these two formats, but neither one works.
    <%@ taglib uri="/myurl" prefix="z" %>
    <%@ taglib uri="/z.tld" prefix="z" %>
    It just throws this:
    java.lang.NullPointerException
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:279)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:292)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
    at oracle.jsp.parse.JspUtils.loadClassJDK(JspUtils.java:219)
    at oracle.jsp.parse.JspUtils.loadClass(JspUtils.java:209)
    at oracle.jsp.parse.JspRTTag.<init>(JspRTTag.java:102)
    Has anyone else experienced this and solved the problem?
    - Toni

    I noticed too that in OEM (where i deployed the ear),
    it shows that there are now taglibs in it.
    How/where am i supposed to tell in the JDeveloper project,
    that i have taglibs in it?
    - Toni

  • Re: [iPlanet-JATO] sp3 jsp compiler problem

    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text
    substitution situations, and as a completely independent tool its use is not
    restricted to migration situations (or file types for that matter).
    Second, I sympathize with the unfortunate trouble you are experiencing due to
    Jasper's (perhaps more strict) compilation, but in what way did the iMT
    automated translation contribute to these inconsistencies that you cited?
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a
    translation situation, the only way "OnClick" would have been introduced was if
    it had been part of the pre-existing project's "extraHTML" (which was written
    by the original customer and just passed through unchanged by the iMT) or if it
    was added manually by the post-migration developer.
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be
    similar to the OnClick situation described above?
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no
    equivalent in the NetDynamics world, so any content tags in your code must have
    been introduced by your developers manually. Its a shame that jasper is so
    particular, but the iMT could not help you out here even if we wanted to. The
    constants that are used by the iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can see, the
    only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174144234026000079108238073194105057099246073154180137239239223019162">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    [Non-text portions of this message have been removed]

    Thanks a lot Matt and Mike for your prompt replies.
    I agree completely that iMT doesn't introduce the inconsistencies.
    About the three cases I mentioned, the third one happens only in
    manually created JSPs. So it has nothing to do with iMT. The first
    two are mainly due to the existing HTML code, as you rightly pointed
    out.
    The reason I made the suggestion is since we know that case 1 and 2
    won't pass the japser compiler in sp3, we have to do something about
    it. The best place to do this, in my mind, is iMT. Of course, there
    might be some twists that make it impossible or difficult to do this
    kind of case manipulation or attribute discard.
    Weiguo
    --- In iPlanet-JATO@y..., "Mike Frisino" <Michael.Frisino@S...> wrote:
    Weiguo,
    First, Matt is correct, the regular expression tool is perfect for general text substitution situations, and as a completely independent
    tool its use is not restricted to migration situations (or file types
    for that matter).
    >
    Second, I sympathize with the unfortunate trouble you are experiencing due to Jasper's (perhaps more strict) compilation, but
    in what way did the iMT automated translation contribute to these
    inconsistencies that you cited?
    >
    1. Changed the case of the tag attribute to be the same as what's
    defined in tld.
    example: changed OnClick to onClick
    The iMT does not generate any OnClick or onClick clauses per se. In a translation situation, the only way "OnClick" would have been
    introduced was if it had been part of the pre-existing
    project's "extraHTML" (which was written by the original customer and
    just passed through unchanged by the iMT) or if it was added manually
    by the post-migration developer.
    >
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.Can you give soem examples? Is there a definite pattern? Again, this might be similar to the OnClick situation described above?
    >
    >
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    Again, the content tag would never have been generated by the iMT. There was no equivalent in the NetDynamics world, so any content tags
    in your code must have been introduced by your developers manually.
    Its a shame that jasper is so particular, but the iMT could not help
    you out here even if we wanted to. The constants that are used by the
    iMT are defined in
    com.iplanet.moko.jsp.convert.JspConversionConstants. From what I can
    see, the only situation of a closing tag with any space in it is
    public static final String CLOSE_EMPTY_ELEMENT = " />";
    But that should not cause the type of problem you are referring to.
    Mike
    ----- Original Message -----
    From: Matthew Stevens
    Sent: Thursday, September 06, 2001 10:16 AM
    Subject: RE: [iPlanet-JATO] sp3 jsp compiler problem
    Weiguo,
    Others will chime in for sure...I would highly recommend the Regex Tool from
    the iMT 1.1.1 for tackling this type of problem. Mike, Todd and myself have
    posted to the group (even recently) on directions and advantages of creating
    your own RULES (rules file) in XML for arbitary batch processing of source.
    >
    matt
    -----Original Message-----
    From: weiguo.wang@b...
    [mailto:<a href="/group/SunONE-JATO/post?protectID=125056020108194190033029175101192165174048139046">weiguo.wang@b...</a>]
    Sent: Thursday, September 06, 2001 12:25 PM
    Subject: [iPlanet-JATO] sp3 jsp compiler problem
    Matt/Mike/Todd,
    We are trying to migrate to sp3 right now, but have had a lot of
    issues with the new jasper compiler.
    The following workaround has been employed to solve the issues:
    1. Changed the case of the tag attribute to be the same as
    what's
    defined in tld.
    example: changed OnClick to onClick
    2. Removed attributes which are not defined in tld.
    example: escape attribute only defined in three tags
    but in some pages, it's used although it's not defined as an
    attribute
    of certain tags. The jasper compiler doesn't like it.
    3. In an end tag, there can't be any space.
    example: </content > doesn't work. </content> works.
    As I see it, we have two options to go about solving this problem:
    >>
    1. Write a script which will iterate through all the jsp files and
    call jspc on them. Fix the errors manually when jspc fails. Jspc will
    flag the line number where an error occurs.
    2. Write a utility which scans the jsp files and fix the errors when
    they are encountered. We should define what's an error and how to
    correct it. It's best if we combine this with solution 1 since we
    might miss an error condition.
    Actually, there might be another option, which is seeking help from
    you guys since you have better understanding of JATO and iAS. Can you
    do anything to help us?
    We would be happy to hear your thoughts.
    At last, I would like to suggest modifying the moko tool so that
    these rules are enforced and the generated JSPs work with the new
    compiler. This is for the benefit of any new migration projects.
    Thanks a lot.
    Weiguo
    [email protected]
    Choose from 1000s of job listings!
    [email protected]
    Service.
    >
    >
    >
    [Non-text portions of this message have been removed]

  • JSP portlet built in Jdeveloper call stored procedure

    Hi,
    I have a simple jsp portlet built with Jdeveloper, now I'm trying to execute a stored
    procedure from the jsp. How can one access database and call a proc, in a jsp which is
    developed in Jdeveloper?
    Is JSTL required for it or a normal jdbc calls will suffice?
    Any help asap is appreciated.
    Thanks,
    Kavitha

    It is actually very simple. :)
    I suggest to create a Java bean containing the Java code with the PL/SQL call.
    This method can be invoked from JSP.
    A good pratice is to pass database connection to this methode and commit or rollack in the JSP.
    example:
    public void saveData(Connection conn,
    String param1,
    String param2) throws SQLException
    With this approach you can call several SQL statements in the same session.
    This will enable transaction handling.
    I suppose the db connect will be pooled in your application.

  • Display image in JSP Portlet

    I create a JSP portlet. But The portlet can't display image(gif file, jpg file). I have modified the provider.xml and the following line is added:
    <imageURL>URL_Path</imageURL>
    But, the image still cannot be displayed.
    How can I display image in JSP portlet?

    Leo Cheung,
    You could try the following :
    1. Add a virtual directory path Alias 'imgf' in the Apache configuration file httpd.conf to load the image file. Add the following line under the alias section :
    Alias /imgf/ "<your directory>\images/"
    2. Place your gif/jpg files (eg., work.gif) in the images directory.
    3. Use the IMG tag of HTML :
    <IMG src="/imgf/work.gif" border=0 width=80 height=80> in the JSP file at the location where you need to display the image.
    Hope this helps
    Pushkala

  • [Error running JSP portlet in JDeveloper

    I'm writing a JSP portlet with JDeveloper 9.0.3.
    The "index.jsp" works OK, and I can see the registration URL for my new provider.
    I deploy the application to Oracle9iAS 9.0.2.0.1 Application Server succesfully throught DCM servlet, register the new provier and I can run the portlet succesfully.
    But if I try to run the "pasa_parametroShowPage.jsp" inside the Jdeveloper, I get an HTTP 500 Error :
    java.lang.NullPointerException
         void htdocs.pasa__parametro._pasa__parametroShowPage._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
         [htdocs/pasa_parametro/pasa_parametroShowPage.jsp]
              pasa_parametroShowPage.jsp:12
    Line 12 is:
    Hello <%= pReq.getUser().getName() %>
    Thanks in advance.

    In order to successfully run, "pasa_parametroShowPage.jsp" must be called in a portal context - JDeveloper does not do this.
    Therefore, when called from JDeveloper, the PortletRenderRequest object is not present, hance the null pointer exception.
    You shouldn't attempt to run this JSP directly from with in jdev. You'll notice that if you point a browser directly at that JSP, you will get the same null pointer exception.
    If you need to debug this JSP in jdev, you can use a portal instance **or** the test harness (http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/TESTSUITE/PDKTEST/PDKTEST.ZIP)
    to fire http requests at JDeveloper's embedded OC4J.

  • Call pl/sql API from jsp portlets

    HI ALL!
    I need to ask from java developers for portal application,How can i call pl/sql API from my jsp portlets,What enhancements in code should i have to follow in addition to use JDBC,I read in FAQ abt portal some thing abt pl/sql wrapper but that was for complex scenarios ,what if my requirement is to call only API functions for contentareas,items,previleges etc.I really need help.
    thx
    Alizeh

    Hi
    thanks for ur reply but where were u a month ago,i really started to think that my question was enough stupid not to be answered.At present i have done with jdbc and pl/sql calls ,current concern is for sessions as i see that session id remains same when one user logs out and another logs in(if browser is not closed), same sessionid persists in my java portlet for both users.Is this an expected behaviour?? but yes new session id appears if browser is closed.
    .session clear for both application and sso after logout is checked
    .broser is set to check for new version each visit for the page
    portal version is 3.0.9.8.0 ,we r planning patch to 3.0.9.8.3 soon
    once again thx
    Alizeh

  • JSP Portlet posting information to another JSP

    Hi,
    I have a JSP portlet that needs to submit form information to another JSP that is not a portlet.
    I'm not sure how to do this. The parameter passing examples pass information from one JSP portlet to another JSP portlet. I want to pass information from a JSP portlet to another JSP which is not a portlet.
    Do I use:
    <form name="parameters" method="POST" action="<%= HttpPortletRendererUtil.htmlFormActionLink(request,PortletRendererUtil.PAGE_LINK) %>" >
    <%= HttpPortletRendererUtil.htmlFormHiddenFields(request,PortletRendererUtil.PAGE_LINK) %>
    If so, what does the PAGE_LINK stand for? How do I tell it the name of the JSP that I want it to submit to?
    Is there something else I need to be using?
    Thanks....JS

    I try to answer your questions inline.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Julie Steele ():
    Thanks for the info but....
    Let me add more information....
    We have 2 JSPs, the first being a form input JSP that I have made into a portlet. We want to submit the information from this form to another JSP that will do the insert into the database and return a insert successful message. We want that message to be returned to the form input portlet and displayed in that portlet. We can't pass parameters in the url because it would be way too long.
    <HR></BLOCKQUOTE>
    As I see in your first message you're using POST method for submitting the form. If so, you don't have to worry about the length of the parameters, as far as I remember there are no limits.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Do I need to make the receiving JSP a portlet also and will that work since it is only showing the results of a post?
    <HR></BLOCKQUOTE>
    You don't need to portletize it just because of technical reasons; but you may portletize if you're having concerns that the navigation leads out of the portal.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>
    How can we accomplish this? Do you have an example? I really do want to know what the PAGE_LINK stands for and how it's used?<HR></BLOCKQUOTE>
    There is a parameter passing example and an article "Understanding the Parameter Passing JSP Sample" at http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/understanding.parameter.passing.html .
    Do you have any other example in mind you're looking for?
    As far as I understand the key is how you navigate back from your standalone JSP to portal. Do you have a submit button there? Or do you want to redirect the browser after a given interval?
    You may also want to have a look at the multipage example portlet in the PDK that demonstrates how you can display multiple JSPs in the same portlet.
    Regards,
    Peter

  • Get the user group in a JSP portlet

    Hi,
    I'm developping a JSP portlet and i'd like to know how to get the group of the user ?
    (the JSP will display URL links only if a user belongs to a specific group).
    I've seen the objet ProviderUser but it doesn't have methods wich give the user groups...
    Can you help me,
    Thank you
    Franck

    ProviderUser or any other Java API for that matter in PDK cannot
    give user's group information. One way to get the User group is
    to make to make use of Portal's PL/SQL Security API Packages,
    through JDBC calls.
    Example PL/SQL Code:
    l_boolean boolean;
    l_boolean := wwsec_api.is_user_in_group
    p_person_id => wwsec_api.id ('USER1'),
    p_group_id => wwsec_api.group_id ('GROUP1')
    Note : Replace USER1, GROUP1 with your own values.
    -aMJAD

Maybe you are looking for

  • Application publishing issues after temp profile usage

    We haven't figured out the solusion to this issue but we do know the cause and a workaround for it that works, kind of... A brief description would be that after permission issues for some users roaming profile storage on the fileserver application p

  • Access remote MonetDB from Oracle using ODBC

    Hello, I really need your help, I have been trying for more that one week to figure out what is the problem without success Here is the details of my problem: I have oracle  11g installed on machine1 (ubuntu 64bit) , and I have MonetDB installed on m

  • Problems and pain....

    Oh lord, my iPod appears to be dead. I've tried hooking it up to the charger, and nothing happens...AT ALL. THe screen is just..blank. I was thinking that I could;ve accidentally switched on screen lock, if so, how can I tell?

  • Palestine territory why its not listed at apple countries

    i have an Palestinian  visa and i can't use it to buy app on ( APP STORE or ITUNES ) , even it's work fine on other websites , is there any way to fix this issue . thank you  

  • Exception condition "TABLE_NOT_FOUND" raised.

    Hi, We are on SRM_SERVER 550, Support pack 07. Some of our Shopping carts are not transferred to sourcing cockpit and for those shopping carts we are able to see an error in SM58 with the message for Function module BBP_PD_SC_TRANSFER, caller WF_BATC