Nits Kulkarni

Greenhorn
+ Follow
since Mar 23, 2006
Merit badge: grant badges
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 Nits Kulkarni

Hi,

I am doing a find and replace for the text inside my html. I am trying to find a regular expression which can do that for me.


Example Html string: "Welcome to furniture house. <table>How big is the dining table?</table>. Probably you would want one."

Here, I want to replace text "table" to "<strong>table</strong>", but not inside the html tag but only text "table". how can i do it with regex?


Thanks in advance.
Nitin
13 years ago
Hello,

Sorry, the special characters i mentioned here has been truncated by javaranch.
I am using DOM parser. And anything i get in between <p></p> tag should be read without resolving any special characters.
Let me try to give you the special character here,it is: "’"
hp this is not truncated again.

Regards
Nitin
Hi All,
sample.xml
--------------------
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="#!-- #TEMPLATES:/os_files/document.xsl --#"?>
<body>
<head type="title">INTRODUCTORY NOTE</head>
<p>Bacon’s literary executor, Dr. Rowley, published "The New Atlantis" in 1627, the year after the author’s death.
</p>
</body>

i am applying DocumentBuilder for parsing above xml file. I need to read the special characters "’s" as it is, but when i read the attribute value these characters are truncated.Can you please tell how to read everything under <p> </p> tag as it is?

Thanks in advance
Nits
Hi All,
I wanna read a .properties file. Whats the difference between java.util.ResourceBundle and java.util.Properties? which one is better in performance criteria?

Thanks in advance
Nits
17 years ago
Thanks for moving it,

We are going to add new line into the file manually and application should be notified about this update.This shud happen by appln continously monitoring the file for a new line.

How this logic should be identified?
Thanks again.
17 years ago
I have a properties file. Here i have to read line by line and create threads depending on number of lines. So i wanna know how can i monitor this file so that at runtime adding a line will notify my application to create new thread for that line?

Thanks in Advance
Nitin
17 years ago
hi,

i have completed SCJP certification.
Now i am intending to learn more with java.
Help me out for starting up with J2EE

nitin
I am a new member of JavaRanch.

I have completed SCJP certification.
I am now interested in taking up further certifications.

I don know J2EE.I want to start learning with it.Plz any body let me know where can i start going with this...

Thanks and Regards
Nitin Kulkarni
18 years ago