prajakta patil

Ranch Hand
+ Follow
since Dec 11, 2005
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 prajakta patil

How come we don't always know when love begins, but we always know when it ends?
- L. A. Story


And in the end, it's not the years in your life that count. It's the life in your years

- Abraham Lincoln



If you carry your childhood with you, you never become older.

- Abraham Sutzkever
13 years ago
oh I got it, thank you very much!
15 years ago
JSP
but where to include that mrkup language in TLD file? suppose my TLD file contains following code:

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
"http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">

<taglib>
<tlibversion>1.0</tlibversion>
<jspversion>1.1</jspversion>
<shortname>DemoTags</shortname>
<uri>http://www.stardeveloper.com</uri>;
<info>Demo Tags Library</info>

<tag>
<name>firsttag</name>
<tagclass>com.stardeveloper.tag.test.FirstTag</tagclass>
<bodycontent>empty</bodycontent>
<info>Your first JSP Tag</info>

<attribute>
<name>listname</name>
<required>true</required>
</attribute>
</tag>
</taglib>


and block of html code:
<table>
<c:forEach var="it" items="${listx}">
<tr><td>...
....
</c:forEach>


whenever this block will get repeated, listx will have different value but remaining code will remain same throughtout the jsp pages. so that I am planning to send listx value through custom tag. now please tell me whe should i write this block of code in tag file?

thanks.
15 years ago
JSP
Hi,

I have some block of html code (includes some jstl tags...tables...td�) in one jsp page and that block of code get repeated in that jsp page. That code is of around 100 lines. It got repeated for four times so that it takes 400 lines extra. I am thinking to use custom tags. But I don�t know how to include that html block of code in the dostarttag method of java class which implements Tag interface. Or is there any other way to handle this situation?

Thanks.
15 years ago
JSP
Hi all,
I am working on SPNEGO authentication using centrify and I am getting following exception
I have not added any user to myrealm and myrealm already have weblogic user. I have deloyed the sample application in same domain and it is working fine. but I am getting the problem for my application, please help.

javax.naming.AuthenticationException. Root exception is javax.security.auth.login.FailedLoginException: [Security:090304]Authentication Failed: User PRAJKTA javax.security.auth.login.LoginException: [Security:090301]Password Not Supplied at at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.login(LDAPAtnLoginModuleImpl.java:228)
at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(LoginModuleWrapper.java:110)

Thanks.

[ September 25, 2008: Message edited by: prajakta patil ]
[ September 25, 2008: Message edited by: prajakta patil ]
15 years ago
Thanks Cambell, just now I read that link and I am using following code to check the special characters in string:

final String silly = "star & moon $ 012";
final String[] myArray = silly.split("\\p{Punct}");
System.out.println(myArray.length);
for(final String token : myArray) {
System.out.println(token);
}

OUTPUT:
3
star
moon
012

Thanks.
15 years ago
can somebody please tell me how to use regex?


Thanks.
15 years ago
Thank You very much guys,

I will first try to use regex / pattern classes. but for that I will need to do some more research about how to use those classes. If research takes more time then I will use Character array option.

Thanks.
15 years ago
Hi Norm,
I think it is good idea but I want something in built fast method.

Thanks
15 years ago
Hi
I want to validate whether the value passed in as a String() is a alphanumeric v. special char value. Can you please tell me how to check that?

Thanks.
15 years ago
i am using scw.js calender widget. i want to do following 2 things on different screens. please tell me how to do that:
1. i want to disable all dates except current date(today).
2. i want to enable all future dates from tomorrow and disable all dates(including today) previous to tomorrow's date. (or keep the starting date of calender as tomorrows date, we will be not able to see previous datee. either way is ok for me as it works.)

Thanks.
Hi,
i got one problem in project .if suppose there are 10 records in queue,
then MDB processes 4 records and blows out 5th record and stops processing.
then we need to change sequence number 6 to 5,then it starts processing.
does anybody know solution about this?

thanks.
Hi,
i got one problem in project .if suppose there are 10 records in queue,
then MDB processes 4 records and blows out 5th record and stops processing.
then we need to change sequence number 6 to 5,then it starts processing.
does anybody know solution about this?

thanks.
17 years ago
Thanks Kameron ,
thanks a lot for your fast reply also.