Pedro Erencia

Ranch Hand
+ Follow
since Apr 03, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Pedro Erencia

Has really firefox problems with Cache-Control ?
What is the problem in using response.setHeader in the servlet ?
I'd try with META CACHE-CONTROL tag directly on the JSP and find if firefox really has problems with it..
15 years ago

Originally posted by Waez Ali:
Hi,

I have a custom Tag and I want to use C:out in that as given below

<test:input type="text" value="<c:out value=${requestScope.vb.name}" />

But it doesn't work, Can someone help me how I can use C:OUT in my Custom Tag ? Is there any way to do so or its not possible.

Thanks in Advance



First, you need to set the attribute on the tld as <rtexprvalue>true</rtexprvalue>.
Then you should use directly the el expression directly.

[ August 29, 2008: Message edited by: Pedro Erencia ]
[ August 29, 2008: Message edited by: Pedro Erencia ]
15 years ago
JSP
mmmm.. it should return null. At least that is what the specs claims. Then i'd use a filter.
15 years ago
JSP

Originally posted by Paul Clapham:
And the next question: will browsers let you send an HTTP request after you detect the closing? The example linked to only pops up a Javascript alert.



I've not done the test but if it lets you do an alert, why not an AJAX request ?
[ August 28, 2008: Message edited by: Pedro Erencia ]
15 years ago
JSP

Originally posted by Jeanne Boyarsky:

Hint: It can't. Don't waste your time going down this road.



If it can be done or not depends on the requeriments. How many browsers are required to be supported ? Is a world wide accesible application or an intranet app which would be accessed from a particular and identificable machine ? ( i've done applications like that ).

Browser close is detectable.



Selvakumar: While the session isn't invalidated, it can't be used anymore either. The user is effectively disconnected from the session when the browser is closed. So nobody will access it until it expires and then it goes away on its own.



Not to be paranoid but it can occur
15 years ago
JSP
Maybe i'm totally wrong, but i understand the question as "when the session expires i still can access the pages ( whithout being re-authenticated )". If a resource is unprotected and it relays in some session info it can lead to problems. That's why i asked about authentication, but more precise information maybe could avoid misunderstoods.
15 years ago
JSP
But it will prevent that jsp to participate in any session. As i understand what is required is to not create the session on any jsp invoked after the session has timed-out. What kind of authentication mechanism are you using ?
15 years ago
JSP
You could detect when browser is closed and then perform an AJAX request to the server. The question is how that detection can be done on a cross-browser manner ..
15 years ago
JSP
15 years ago
Hi,

1. Yes. If the BD is implemented as a Session Bean - and i think you should - it can be accessed either from Swing or Web Client. About Service Locator, it is not intended to be used directly by the clients but by the BD itself, so - indirectly - yes.

2. The number of BD is a personal decission. I'd make a BD for each distinct group of functionalities. Regarding a Factory of BD, if they are Session Beans they are container managed - created, and you must stay away from its creation, so there's no point in a Factory.

Of course, this is just MHO and can be discussed

Originally posted by Pramod Patidar:
Gurus,

I am architecting solution for part 2 (old) and have 2 questions
1. Can web client and swing client share same business delegates and service locator?
2. Can I have multiple business delegates and if so does it make sense to introduce a factory of business delegates?

Appreciate your response.

Pramod.

7 weeks have passed since i done the III part and i've no notification. In the exam it is said that it will take approximately 4-6 weeks to get the results..
I recently found on that situation. It's a normal incident and if you call prometric they will merge the accounts - though you'll have to wait a few days '.
Hi, i've searched for this and found some questions, but no answers..

In https://www.certmanager.net/sun_assignment i found:
Sun Certified Enterprise Architect for J2EE 5, Part 3 (310-062) Jul 15 2008 P 0

In www.certmanager.net/sun/ it's show as Attempted.

Really, i don't know if i passed or not.. since Attempted legend says it means not passed.

So, i'm very confused, how can i know if i passed ?
[ July 18, 2008: Message edited by: Pedro Erencia ]
Thanks Giuseppe and Ronald. I've got it. :roll:
Can an EJB component communicate with a remote corba component without using java-idl ?