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 8577793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:14:21+00:00 2026-06-11T20:14:21+00:00

It is not clear to me when is a Portlet ‘s init method called.

  • 0

It is not clear to me when is a Portlet‘s init method called. Is it called when the container instantiated or when a first request to the portlet comes?
Does it have the same behavior as the Servlet#init?

  • 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-11T20:14:22+00:00Added an answer on June 11, 2026 at 8:14 pm

    It depends on the container. From the Portlet 2.0 spec:

    PLT.5.2.1 Loading and Instantiation

    The portlet container is responsible for loading and instantiating
    portlets. The loading and instantiation can occur when the portlet
    container starts the portlet application, or delayed until the portlet
    container determines the portlet is needed to service a request.

    …

    PLT.5.2.2 Initialization

    After the portlet object is instantiated, the
    portlet container must initialize the portlet before invoking it to
    handle requests.

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

Sidebar

Related Questions

The documentation GetManifestResourceStream is not clear about multiple calls for the same resource. Does
Does anyone have a link to a concise summary of what makes a portlet
The title is not clear so let me explain: In my apps, I have
I am not clear on the following: If we have a web application named:
I am not clear about synchronisation and unsynchronisation in id3 tags. I have read
I'm still not clear on how and when to use interface builder. I have
Not clear what is going on: I have the 2 following lines that works
To me it's not clear how to get the right cursor if you have
EntityCollection.ToList().Clear() Does not clear the entity collection. Any idea why? Any solution? How should
Sorry if the title is not clear enough, I have <a> elements with the

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.