Re: [java ee programming] Regex to Match All Source Attributes in HTML IMG Tag

2009-12-18 Thread VUNET
That's almost perfect, thanks!!! But how can I avoid src='' or src=""? I want the values only, i.e. the image paths themselves. On Fri, Dec 18, 2009 at 3:07 PM, Dillard, Derek wrote: > Hello Vunet, > Change your code to this (note my comments): > > String imageString = " src='http://groups.googl

[java ee programming] Error In Fetching Data from STRING EMBL File

2009-12-18 Thread jitesh dundas
Dear Sir/Madam, I am trying to fetch data from EMBL STRING Database (http://string.embl.de/) for a list of protein interactors. The file is attached with this email. On executing the code, it gives me a "version number" error. The same code is working fine when I fetch data from NCBI databases.

[java ee programming] Regex to Match All Source Attributes in HTML IMG Tag

2009-12-18 Thread vunet
Hello, I am trying to get all src attribute values in HTML IMG tags with Regex. SInce I am not an expert in Regex I found one online which seems to work well for many users: src=(?:\"|\')?(?[^>]*[^/].(?:jpg|bmp|gif|png))(?:\"|\')? However, when I plug it in my Java code it throws an error below.

RE: [java ee programming] Months between two dates

2009-12-18 Thread Md. Misbahul Alam Chowdhury
Hi, There are many way to do the calculation. You can try in the following way Let date1 and date2 are two Date object Calendar calendar1 = Calendar.getInstance(); calendar1.setTime(date1); Calendar calendar2 = Calendar.getInstance();

[java ee programming] JSP/Arraylist

2009-12-18 Thread Rafał Laczek
Hi, As the training I`making test application in JSP including small form. The form in available on form.html and looks as follow: First name Surname Male Female Preferable country to live Poland Norway Hungary Vietnam UK France

[java ee programming] Months between two dates

2009-12-18 Thread sachin bolmal
Hi Everybody, Plz Help me in calculating no of months between two dates. -- You received this message because you are subscribed to the Google Groups "Java EE (J2EE) Programming with Passion!" group. To post to this group, send email to java-ee-j2ee-programming-with-passion@googlegroups.com To u

Re: [java ee programming] JSP and Servlets

2009-12-18 Thread Rafał Laczek
Hi, Many thanks to everybody for very usefull information on JSP and Servlets. Regards, Rafal Dnia 18-12-2009 o godz. 7:29 Irtiza Ali napisał(a): I think head first Jsp & servlets is perhaps the best book on the subject.thanks On Thu, Dec 17, 2009 at 5:39 PM, James Boswell

Re: [java ee programming] JSP and Servlets

2009-12-18 Thread Irtiza Ali
I think head first Jsp & servlets is perhaps the best book on the subject. thanks On Thu, Dec 17, 2009 at 5:39 PM, James Boswell wrote: > Hi, > > I always found the Core Servlets series of books very useful. > > There are some free tutorials under this series that can be found here: > > http://c