Lalit Mehra

Ranch Hand
+ Follow
since Jun 08, 2010
Lalit likes ...
Spring Java
Merit badge: grant badges
For More
INDIA
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
14
Received in last 30 days
0
Total given
9
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Lalit Mehra

Though I'm not new to taglib creation but I am confused as to how we can use an existing tag definition within my own custom tag?

I am writing a taglib to encapsulate a jsp code snippet which is used regularly within jsp files. But that snippet contains other struts tag like , etc.

I have to encapsulate all of this in one single custom tag.

Is it possible that I can make use of struts taglib classes directly or what else?

Please suggest how I should proceed.
8 years ago
JSP
Hi Sarvath,

Your myclass needs a no-argument constructor.
<jsp:useBean> initializes the bean with the no-argument constructor of the specified class.

Hope this helps.
9 years ago
JSP
Hi,

Have you included the dojo libraries in your jsp page required for the tree demonstration?
9 years ago
JSP
Why do you want to call it from a JSP ?
9 years ago
JSP
Hi hitendra,

On the JSP page ... check the source of the response and facilitate your view accordingly. [ I hope you just have to show some text on the various div's that you have mentioned]
9 years ago
JSP
Hi Philip,

First of all we can't access your localhost

Anyways,
Why don't you try getting to the jsp page through a servlet. In that get the token from the database and use it in your submission jsp.

9 years ago
JSP

suki sahu wrote:
Any solutions to get rid off this idea?
Cant i give two session inactive times?
If not then how to login as a user and as a admin from the same browser and at the same time?



I think you didn't read the reply properly.
9 years ago
JSP
You can only have one active session per web application per web browser.
So as in your case when you re-login as admin the same session's inactive interval is reset.
9 years ago
JSP
What exactly are you trying to achieve by this?
9 years ago
JSP
Thanks for the kind words Tim.
Ulf, I can't disclose everything on a public platform. Hope you can understand.
9 years ago
Dear Ulf,
By Client I wasn't referring to the server-client terminology but the business one "you see a CLIENT".

William,
Thanks for the reply .. much appreciated and no i'm not trying to burn a hole in someone's pocket.

Bear,
I can't explain why the requirement is such ... but it is like this only ...

thanks for the replies guys ... much appreciated
9 years ago
Because it is a requirement. Simple.
9 years ago
Hi William/Bill,

I'm developing an application that runs on mobile phones.
I have to send some data to the client (on another server) through POST.
As some of the low end phones do not have javascript functionality, i cannot use auto submit or something else like that using javascipt.
So for that reason i asked ... if there's a way out ???

regards
9 years ago
Is There a way apart from using scripting e.g. javascript to submit a form automatically?

The Scenario here is simple.

1. A form is displayed to the user
2. Upon Submission he is redirected to another jsp page (say interim.jsp)
3. interim.jsp has a form which i want to submit automatically without any user intervention

So, Is there a way to do it without using javascript? I can't find any though

regards
9 years ago