pjoisha

Ranch Hand
+ Follow
since Mar 06, 2001
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 pjoisha

Hi,

Is there a way to collect metrics in Eclipselink? I interested in collecting the elapsed time for the select statements (be it JPQL or native queries)

I know eclipselink has a mechanism to log the statements (along with start / end time, bind variables) in a log file but I want some control over it in code.

Thanks,

Hi,

Much like a login interceptor, I have a need to intercept calls to certain actions by forwarding the user to an alternate URL.
This will force the user to complete some mandatory information before getting access to application. So, my question
is should my approach be similar to login interceptor or are there other approaches to consider in Struts2?

So, if I do go with interceptor approach, I would like to create a generic interceptor that calls prerequisite actions (which will
be passed in as param). If each of these prerequisite actions are successful the user continues on to the target URL.

Thanks,
PJ
8 years ago
I have a XML configuration file which is something like this



<root>
<employee>
<name>XYZ</name>
<cube>123</cube>
</employee>
<root>

Now, I want to write a build.xml which modifies XYZ to say ABC
What's the bext way to do this? I tried using a ugly creation of
filterset with copy task. Howvever, I would prefer to use

<filterset id="myFilterSet" begintoken="<name>" endtoken="</name>">
<filter token="XYZ" value="ABC" />
</filterset>

but unfortunately doesn't work because of special characters ("<")

Any ideas?

TIA,
PJ
[ October 28, 2004: Message edited by: Prashanth Joisha ]
14 years ago
Hi,

How can I enable debuging in Spring. I would like to see the System.outs
from the framework

Thanks,
PJ
14 years ago
Does the book talk about these design patterns while describing Tomcat 4.x/5.x architecture?
14 years ago
How're you accessing this external application? Could you pls be more specific

Thanks,
PJ
14 years ago
Hi all,

If I wanted to understand the mechanics of JSF-Rereference implementation what would be the best approach to take. I was thinking of extracting JSF-RI source code into my WEB-INF classes folder and debugging?

How about stepping thru' Tomcat source code to understand the topics discussed "How Tomcat works" book?

I prefer to use an IDE like Eclipse to run my Tomcat server for debugging.

Thanks,
PJ
[ September 17, 2004: Message edited by: Prashanth Joisha ]
15 years ago
Would someone recommend a good book on patterns for J2EE Web Tier. I know
of Core J2EE Patterns book but was looking to see others

Thanks,
PJ
[ September 09, 2004: Message edited by: Prashanth Joisha ]
Isnt that what JSF does ...JSF tags converted to HTML tags for HTML browser

PJ
15 years ago
Can someone comment on usefulness of <f:facet> tag. Is this responsible for inserting the <thead> HTML tags when used with <h anelGrid>?

Also, why do we need to surround most of our jsp/html code with f:view tags

Thanks,
PJ
15 years ago
Hi all,

In JSF, is there a way to force <h:form> tag's method to GET - helps me in debugging

Thanks,
PJ
15 years ago
There's also a good article that i came across yesterday

http://www.javaworld.com/javaworld/jw-07-2004/jw-0719-jsf.html

Hope this helps

PJ
[ September 01, 2004: Message edited by: Prashanth Joisha ]
15 years ago
Hi all,

Thanks for your responses.

I was indeed alluding to server-side validation. Basically, with custom tags I would end up doing only server-side validation. My pages will be devoid of Javascript - hence client-side validation. Having said this, what I was really looking for were JSF type of tags ... something like this



So, I want these tags to allow for my model update only if the date validation succeeds (like in JSF architecture) else throw an error

As I'm not in a position to adopt JSF techonolgy in my application, I'm in the lookout for such components

Thanks,
PJ
[ August 31, 2004: Message edited by: Prashanth Joisha ]
15 years ago
JSP
Hi,

I have a requirement to validate dates entered in a HTML INPUT element. I do not want to use client side javascript to validate the date entered. Instead, I'm contemplating on using a custom tag that basically validates (to see if it confirms to a certain pattern, locale etc) the date entered. Is this the right alternative to Javascript approach? Are there some articles/tutorials/examples that talk about writing custom tags for input elements?

Thanks in advance,

PJ
15 years ago
JSP
How can i do client-side Javascript debugging with WSAD 5.1.1. I see an option "Enable JavaScript debugging" but it seems to have no effect.

Thanks,
PJ
15 years ago