4 Aug 2004 19:49
thank you IBM
..I think. http://www.cxotoday.com/cxo/jsp/index.jsp?section=News&subsection=Business&subsection_code=1&file=template1.jsp&storyid=1302 Has anyone used Cloudscape with a J2ME Project?
..I think. http://www.cxotoday.com/cxo/jsp/index.jsp?section=News&subsection=Business&subsection_code=1&file=template1.jsp&storyid=1302 Has anyone used Cloudscape with a J2ME Project?
_______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members
Atlanta Java Software Symposium 2004 October 15-17, 2004 A "No Fluff, Just Stuff" Conference Atlanta, Georgia www.nofluffjuststuff.com/2004-10-atlanta/index.jsp "The Best Value in the Java Conferencing Space Hands Down" In 2004, Five (5) Concurrent Sessions to Choose From! The No Fluff Just Stuff Java Symposium Tour cordially invites you to register for the Atlanta Java Software Symposium. This three day Java conference will be offered in Atlanta, GA at the beautiful 4 Star W Hotel, Perimeter Center on October 15-17, 2004. AJSS 2004 is designed for Java developers, Java Architects, and technical managers who are looking for further insights on the J2EE, XML, Web Services, Best Practices and Open Source. The Atlanta Java Software Symposium will feature over fifty high quality technical presentations and three expert panel discussions. In addition, some of the speakers are: · Stuart Halloway, author of "Component Development for the Java Platform" · Bruce Tate, author of "Bitter Java" and "Better, Faster, Lighter Java" · Dave Thomas, author of "The Pragmatic Programmer" · Jason Hunter, author of "Java Servlet Programming · Ted Neward, author of "Effective Enterprise Java" · David Geary, author of "Core JSF" and "Core JSTL" · Ben Galbraith, author of "Professional JSP 2.0" · Justin Gethland, co-author of "Better, Faster, Lighter Java" The Top 5 Reasons to attend the Atlanta Java Software Symposium: 1). AJSS 2004 has a limited attendance of 200 people. We do this to insure a great deal of interaction between speakers and attendees. 2). AJSS 2004 presentations are content rich. You will come away with new insights/knowledge that you can immediately apply in your development environment. 3). High quality speakers who have tremendous technical depth, practical experience and the requisite knowledge transfer skills to be an excellent speaker. 4). The best value in terms of dollars/time ratio of any Java based conference currently offered. 5). The format of AJSS 2004 allows companies to send entire software development teams because of price, location and timing (held over a long weekend). Registration/Pricing Information: The early bird registration (good thru 9/17/04) is $625/attendee. After 9/17/04, the registration fee will be $725/person. There is a $50 discount available to all JUG members thru 9/17/04. Please use the discount code, "ajssjug575" when registering. The registration fee for the Atlanta Java Software Symposium includes: · Admission to the symposium · Symposium CD with all presentation content · Handouts for each session attended · All meals/snacks. There are excellent discounts available for software development teams thru 9/17/04: 5-9 Attendees: $550/person 10-14 Attendees: $525/person 15-24 Attendees: $495/person 25-over Attendees: $450/person Want to Know More? Questions? Atlanta Java Java Software Symposium: www.nofluffjuststuff.com/2004-10-atlanta/index.jsp Contact: Jay Zimmerman, jzimmerman@... , (303)469-0486 > >
_______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members
_______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members
_______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members
_______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members
Pattern alphaPattern = Pattern.compile(alphaRegex);
Matcher matcher = alphaPattern.matcher(value);
System.out.println(
"value "+ value); return(matcher.matches()); //return( Pattern.matches(alphaRegex,value) );_______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members
Well, the API has a pretty good explanation of how to use the Pattern and Matcher classes here: http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html The statement that you have commented out should work, but it's hard to tell without knowing what your alphaRegex and value are. WM --- David Wible <davewible@...> wrote: > would someone be so kind as to point me to a site with a good regex example for validating a > string. I need to validate a string against numerics or maybe numeric only! > > I have the basic code working but it only appears for a single character string. I'm missing > something. > > Your help is appreciated. Here's my code snippet below. It is a variation of a couple of > attepts. > > Thanks, > > dw > > Pattern alphaPattern = Pattern.compile(alphaRegex); > > Matcher matcher = alphaPattern.matcher(value); > > System.out.println("value "+ value); > > return(matcher.matches()); > > //return( Pattern.matches(alphaRegex,value) ); > > _______________________________________________ > ajug-members mailing list > ajug-members@... > http://www.ajug.org/mailman/listinfo/ajug-members > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
Hi David, The code you listed below looks ok. This is not the more interesting part of the problem though, if you like I suggest including a copy of your regex. I've used the regular expressions a bit and found them a bit confusing. It took me a little while to figure out the difference between Greedy quantifiers, Reluctant quantifiers, and Possessive quantifiers. I forget what the differences are (sorry, its been too long) but I suggest setting up a simple experiment so you can discover for yourself. They *are* quite a bit different. Good luck! -- Dan Glauser Director of Serverside Development Roundbox Media dan@... W: 404.877.0107 On Mon, 2004-08-09 at 20:08, David Wible wrote: > would someone be so kind as to point me to a site with a good regex > example for validating a string. I need to validate a string against > numerics or maybe numeric only! > > I have the basic code working but it only appears for a single > character string. I'm missing something. > > Your help is appreciated. Here's my code snippet below. It is a > variation of a couple of attepts. > > Thanks, > > dw > > > Pattern alphaPattern = Pattern.compile(alphaRegex); > > Matcher matcher = alphaPattern.matcher(value); > > System.out.println("value "+ value); > > return(matcher.matches()); > > //return( Pattern.matches(alphaRegex,value) ); > > > > ______________________________________________________________________ > _______________________________________________ > ajug-members mailing list > ajug-members@... > http://www.ajug.org/mailman/listinfo/ajug-members
RSS Feed3 | |
|---|---|
82 | |
13 | |
10 | |
22 | |
17 | |
11 | |
21 | |
37 | |
39 | |
13 | |
10 | |
15 | |
30 | |
9 | |
8 | |
19 | |
11 | |
53 | |
30 | |
80 | |
29 | |
27 | |
25 | |
11 | |
55 | |
53 | |
55 | |
17 | |
21 | |
57 | |
37 | |
81 | |
6 | |
20 | |
6 | |
18 | |
66 | |
42 | |
17 | |
8 | |
4 | |
16 | |
16 | |
31 | |
57 | |
35 | |
6 | |
45 | |
23 | |
70 | |
90 | |
43 | |
54 | |
47 | |
46 | |
85 | |
99 | |
102 | |
49 | |
125 | |
34 | |
9 | |
12 | |
12 | |
10 | |
15 | |
49 | |
61 | |
137 | |
29 | |
43 | |
29 | |
69 | |
19 | |
65 | |
36 | |
30 | |
51 | |
30 | |
36 | |
147 | |
42 | |
88 | |
110 | |
98 | |
48 | |
125 | |
467 | |
23 | |
72 | |
36 | |
34 | |
85 | |
63 | |
64 | |
67 | |
56 | |
84 | |
29 | |
55 | |
30 | |
42 | |
38 | |
119 | |
47 | |
68 | |
105 | |
281 | |
173 | |
118 | |
308 | |
230 | |
48 | |
57 | |
75 | |
62 | |
92 | |
47 | |
75 | |
82 | |
111 | |
104 | |
125 | |
36 | |
2 |