Amit Savani

Greenhorn
+ Follow
since Mar 02, 2009
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 Amit Savani

Hi,

We are developing code generation tool using CodeModel. This library is provided by Sun and being used by JAXB to generate code.

Would it be possible that this library is no longer supported in future version JDKs like JDK 7 and OpenJDK?

Should writer our own library for code generation?

Thanks,
Amit
12 years ago
JOB is unit of tasks[business logic] to be executed at scheduled time where in JOB SCHEDULING is a process which enables executing the JOB at specific time( recurring or non recurring)

Ankit Garg wrote:any RSS client or API cannot modify the behavior of the feed...



I checked same feed with google reader where I can see whole post without truncation
Hi,

I am parsing feed from http://feeds.feedburner.com/Commercial_LCD_Monitors. But while getting description of each post I got few lines and then it gets truncated with ending [...] characters.

eg. content of sample post

<p class="features_description">Stand out from the crowds with a higher level of professionalism with the L305 mobile data projector. The 3000:1 ANSI lumens and advanced 3-chip LCD technology delivers images that are of the highest quality, realistic and sharp. Colours are not only [...]

Can anyone explain what is the issue and possible resolution if any?

Thanks & Regards,
Amit Patel
Hi,

I have been using ROME for working with RSS. The class is possessing thousands of feed out of which some gives me errors. Here is the error details for some feeds while executing following line





1.
Error : Invalid XML: Error on line 5: The reference to entity "a.chrome.csi" must end with the ';' delimiter.
Ref : http://diary-of-a-dog-walker.blogspot.com/
http://bravomediaweb.blogspot.com/

2.
Error : Invalid XML: Error on line 106: The string "--" is not permitted within comments.
Ref : http://www.icomplete.com/blog
http://localtradesmen.tumblr.com

3.
Error : Server returned HTTP response code: 403 for URL: http://www.wilsondan.co.uk/feed/
Ref : http://www.wilsondan.co.uk/feed/
http://www.hrmcoaching.com/feed/rss/

Can anyone suggest what is error and any possible solution?

There is a forum for RSS in java forum but I could not find new post button. Also it is java.net project but there also forum is not created.

Thanks,
Amit

Kumar Raja wrote:
HttpSession session=request.getSession();



Each time you request, above code executes which creates new session every time. So to track if it is timedout or not, you can use session listener mechanism as suggested by Doug Braidwood
13 years ago
Thanks,

Pallav Bora wrote: BMP beans are not mapped to any table , unlike CMP Beans. You just access the tables from BMPs



You mean to say that CMP EntityBean can be mapped to Single table only, while in case of BMP there is no such restriction, am I right?
Hi,

Can I map different entity beans to same table?

Can I create a BMP and a CMP entity beans for same table?

Regards,
Amit
Hi,

In an interview I was asked "can you achieve singleton in distributed(clustered) environment"?

Anyone knows?

Thanks in advance.

Regards,
Amit
13 years ago
Hi,

In an interview I was asked that out of 23 design patterns, which one is not implemented in Java Language?

Any one have idea?

Regards,
Amit
13 years ago
Here I modified client code, used deprecated method and it worked. Below is the code


But I still wonder what is the problem with the client code I posted earlier?

sudhir nim wrote:This Servlet file upload tutorial may help you.



Thanks for sharing. I found following code in FileUploadBase class which is throwing error.


Now I wonder what is problem with code where I set content type as multipart/form-data or multipart/mixed?

On the other hand if I submit same data with html form having enc-type="multipart/form-data" it's work fine.

sudhir nim wrote:This Servlet file upload tutorial may help you.



Thanks for reply. Actually I am able to upload file form html code but I want same scenario using Commons HTTPClient which right now not working