Help coderanch get a
new server
by contributing to the fundraiser

Amarender Reddy

Ranch Hand
+ Follow
since May 12, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Amarender Reddy

Mano,

With your 93rd post you should be aware that similar quiries were raised a number of times and that a simple search in the ranch would give you ample explanation and better examples

-Amar
16 years ago
What Vishal mentioned should solve your problem!!

Just use request.getSession(true) in your code.

New session is created by the container when you open a new browser. And there is no question of a 'user' invalidating the previous session.

-Amar
16 years ago
Chaos !!

How could this be possible?

Imagine an application where the same user creates 2-3 active sessions and start making different changes in each session.

I dont think should ever be possible !

-Amar
16 years ago
Manoj,

Two or more portlets can be 'wired' using a portlet service called 'Wires'.

They would be called as Cooperative Portlets.

Please refer to the IBM Infocenter for more details.

/Amar
16 years ago
The JDBC/ODBC driver does not provide a complete set of JDBC 2.0 features so this example must result in a call that is not supported in the driver. You could try using the Microsoft JDBC driver or the JDTS driver. They should provide better performance as well.

cheers
Guys!!

I beg my pardon!
It was :



cheers
16 years ago
<portlet:namespace/> tag is used to uniquely identify each from element with-in a portlet. This is specially useful when we have more than one portlet in the applicaton. The Portal Best Pracitices suggest the mandatory use of this tag but this can be voilated when really not required.

In your case, you can just use :
16 years ago

I have gone thru that page, after that only i got this doubt, why we need this porletpreference object instead of portletconfig



PortletPreference object is NEVER a substitute for PortletConfig.
So, there is never the question of using PortletPreference INSTEAD OF PortletConfig.

Please go through the portlet API once again. You will realise how unique these two objects are.

cheers
17 years ago
Amir,

Can you give us more information as:
  • Are all the users are authenticated users?
  • If yes, then are they the general users or admin users?
  • When you say "only the user who changed the preference value can see the changes", what are the other users able to see - a default value or their previously set value or anything else?

  • Please eloborate on these points.

    Thanks,
    17 years ago
    Hi,

    I need some help on localising the dynamic content in a portlet.
    I am able to localise the static data (the title, for example) using ResourceBundle.

    But I have no clues on how to do it for dynamic data!!
    I need more information on :
  • can i use ResourceBundle even for dynamic data ?
  • If yes, then what properties of it will I be using ?
  • Do I have to develop a portlet for each of the languages I want or can I use ONE portlet for all the languages (as this happens in the case of static data).


  • Please let me know more on this.

    cheers
    17 years ago
    can anyone give more explanation on this plz!!

    cheers
    Hi All,

    I am a 3+ java guy and I want to go for SCJP 1.5 !!
    This will be my first of the Java certificate exams.
    I just want to know whether I need to take the SCJA inorder to attempt SCJP....or can I straight away go for it?

    I searched the Sun Java site but didn't get any such information!!

    Can u plz help me on this!

    cheers
    Raghavan,
    Can you make sure that the given error is thrown excatly the line :



    cheers
    18 years ago
    JSP
    hi,

    HFJS is an excellent book for bigginers. Once you have 'finished' that book you should be very good at the concepts and basics of Servlets and JSP.
    If that is so, stop reading more books for now and jump right away into practical stuff.
    That would decide where you stand.
    Got dude!

    cheers
    18 years ago