Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8785297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:19:03+00:00 2026-06-13T21:19:03+00:00

As usual, i come to you with an issue i can’t solve about portlets

  • 0

As usual, i come to you with an issue i can’t solve about portlets on WebLogic….

So.. I have two portlets running on the same page. My portlet needs to take a parameter from url(AES or blowfish encrypted), decrypt it, then send a request to a WS with the value. Which does. Additionally, i need to have this value sent to the other portlet (log in portlet) for it to know if he should skip a certain step or not.
So.. Long story short, i need to find a way to send this value, not in the url(as it needs it decrypted and i can’t show it), but maybe in a session visible by all portlets. A quick way would be in a cookie, but cookies can be too easily hacked.. I’ve tried using APPLICATION_SCOPE but the other portlet can’t see it.

Set it like

session.setAttribute("myval", myval, PortletSession.APPLICATION_SCOPE);

Then get it in the other portlet with

session.getAttribute("myval",PortletSession.APPLICATION_SCOPE);

I’ve looked over how APPLICATION_SCOPE should work, read about shared parameters, but couldn’t really find something to fit my need. I’m kind of stuck so i decided to ask. Maybe you guys can help.

http://portals.apache.org/pluto/portlet-1.0-apidocs/javax/portlet/PortletSession.html

https://www.ibm.com/developerworks/mydeveloperworks/blogs/Joey_Bernal/entry/portlet_session_scope_and_sharing?lang=en

Regards !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T21:19:05+00:00Added an answer on June 13, 2026 at 9:19 pm

    I got over it. It seems that i was making the call in a wrong place so the attribute didn’t get in the session from doView where i needed it. The answer for shared parameters is, indeed, APPLICATION_SCOPE.

    Thanks!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have searched all the usual but come up empty. I must be doing
Somebody must have come up with a solution for this by now. We are
Dear visitors stackoverflow! I can not solve a simple problem: Body given the background
I've got an issue with Zend_Captcha always returning false when the page is submitted
Making the usual blob tracker with OpenCV and cvBlobsLib, I've come across this problem
I have a problem that has just come up with a colleague of mine
When I come across a broken RSS feed, the usual reason its all blown
I have searched (probed ,even) for an answer to this but haven't come up
I'm a physicist, and have been learning some programming, and have come across a
At the moment I have a custom ActiveX plugin that drops down the usual

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.