Wednesday, October 31, 2007

[completeJava] JDBC Drivers

Hello All,

Find info. on 4 JDBC drivers at below link

http://en.wikipedia.org/wiki/JDBC_driver

I think everyone of you know it, but it is confusing most of the times.

-Naveen


______________________________________________________________________________________
"Though we cannot rewrite the past, we should write a better future"
M Naveen Kumar Reddy 
Novartis Pharmaceuticals Corporation
East Hanover, NJ 07936, USA
Direct phone: +1 862-778-9356
Cell: +1 732-318-8956

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

__._,_.___
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Yahoo! Groups

Special K Challenge

Learn how others are

shedding the pounds.

.

__,_._,___

Thursday, September 13, 2007

[completeJava] Vexed by debugging Javascript/HTML code?

Hello all,

Install Firefox with FireBug add on to debug javascript/HTML code. It has all debugging options available in typical development IDE's.

You can
- Put break points
- Monitor variable values at runtime
- And more...

Install FireBug from https://addons.mozilla.org/en-US/firefox/addon/1843

-Naveen


______________________________________________________________________________________
"Though we cannot rewrite the past, we should write a better future"
M Naveen Kumar Reddy 
Novartis Pharmaceuticals Corporation
East Hanover, NJ 07936, USA
Direct phone: +1 862-778-9356
Cell: +1 732-318-8956


Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Popular Y! Groups

Is your group one?

Check it out and

see.

Yahoo! Groups

Find Green Groups

Share with others

Help the Planet.

.

__,_._,___

[completeJava] Hyderabad Live Traffic Info. , Directions and more...

Hi,

Check http://www.htis. in/  (Hyderabad Transport Information System)

This is really a great effort from Hyderabad Traffic/Transport authorities.



Where you can find the optimal routes between any two
places.

http://www.htis. in/ (for Hyderabad )

http://www.btis. in/ (for Bangalore )

-Naveen


______________________________________________________________________________________
"Though we cannot rewrite the past, we should write a better future"
M Naveen Kumar Reddy 
Novartis Pharmaceuticals Corporation
East Hanover, NJ 07936, USA
Direct phone: +1 862-778-9356
Cell: +1 732-318-8956


Be a better Globetrotter. Get better travel answers from someone who knows.
Yahoo! Answers - Check it out.

__._,_.___
Recent Activity
Visit Your Group
SPONSORED LINKS
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Search Ads

Get new customers.

List your web site

in Yahoo! Search.

Yoga Groups

Exchange insights

with members of

the yoga community.

.

__,_._,___

Tuesday, September 4, 2007

RE: [completeJava] problem with client side page caching.

Anil,
 
These lines are working in case of a regular jsp file. but When my page was build from a tile deffination, then it is not working at all.  I thogut we need to do something else in case of tiles frame work. Because it is always caching the webpage tiles at the client side.
 
Santhosh.

anil <anilkumark@huawei.com> wrote:
Hi santhosh,
Try for this code,
<% 
response.setHeader("pragma","no-cache");//HTTP 1.1 
response.setHeader("Cache-Control","no-cache"); 
response.setHeader("Cache-Control","no-store"); 
response.addDateHeader("Expires", -1); 
response.setDateHeader("max-age", 0); 
//response.setIntHeader ("Expires", -1); //prevents caching at the proxy server 
response.addHeader("cache-Control", "private"); 

%>
K. Anil Kumar
Huawei Technologies India Pvt. Ltd.
Mailid: anilkumark@huawei.com
Mobile: 09980644933
********************************************************************************************************
 This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!

From: completeJava@yahoogroups.com [mailto:completeJava@yahoogroups.com] On Behalf Of SANTHOSH GANDHE
Sent: Monday, September 03, 2007 9:26 PM
To: completeJava@yahoogroups.com
Subject: [completeJava] problem with client side page caching.
Hi All,
I am unable to restrict the browser from not to caching my webpage at the client side. I am getting this problem only when i use tiles with struts. in case regular jsp files it is working fine.  I am using the following code in my jsp files to restrict client side caching.
< 
meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cach! e-Control" content="no-cache" />
<meta http-equiv="Pragma-directive" content="no-cache" />
<meta http-equiv="Cache-Directive" content="no-cache" />
I also tried with the other way
<%
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader(
"Pragma","no-cache"); //HTTP 1.0
response.setDateHeader (
"Expires", 0); //prevents caching at the proxy server
%>
Both these code snippets are working incase of a simple jsp file. But in case of Struts tiles , it the meta tags are not even visible in the client side generated web page. 
Can anybody triggerout that where might be I am making mistake ?
Thanks in Advance :)
Santhosh.


Santhosh.G
me@santhoshgandhe.com
 

Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.



Santhosh.G
me@santhoshgandhe.com


Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

New business?

Get new customers.

List your web site

in Yahoo! Search.

Yahoo! Groups

Endurance Zone

A Yahoo! Group

for better endurance.

.

__,_._,___

Monday, September 3, 2007

RE: [completeJava] problem with client side page caching.

Hi santhosh,

 

Try for this code,

 

<% 
response.setHeader("pragma","no-cache");//HTTP 1.1 
response.setHeader("Cache-Control","no-cache"); 
response.setHeader("Cache-Control","no-store"); 
response.addDateHeader("Expires", -1); 
response.setDateHeader("max-age", 0); 
//response.setIntHeader ("Expires", -1); //prevents caching at the proxy server 
response.addHeader("cache-Control", "private"); 

%>

 

K. Anil Kumar

Huawei Technologies India Pvt. Ltd.
Mailid: anilkumark@huawei.com

Mobile: 09980644933

********************************************************************************************************
 This e-mail and attachments contain confidential information from HUAWEI, which is intended only for the person or entity whose address is listed above. Any use of the information contained herein in any way (including, but not limited to, total or partial disclosure, reproduction, or dissemination) by persons other than the intended recipient's) is prohibited. If you receive this e-mail in error, please notify the sender by phone or email immediately and delete it!


From: completeJava@yahoogroups.com [mailto:completeJava@yahoogroups.com] On Behalf Of SANTHOSH GANDHE
Sent: Monday, September 03, 2007 9:26 PM
To: completeJava@yahoogroups.com
Subject: [completeJava] problem with client side page caching.

 

Hi All,

 

I am unable to restrict the browser from not to caching my webpage at the client side. I am getting this problem only when i use tiles with struts. in case regular jsp files it is working fine.  I am using the following code in my jsp files to restrict client side caching.

 

< 

meta http-equiv="Pragma" content="no-cache" />

<meta http-equiv="Cach! e-Control" content="no-cache" />

<meta http-equiv="Pragma-directive" content="no-cache" />

<meta http-equiv="Cache-Directive" content="no-cache" />

 

I also tried with the other way

 

<%

response.setHeader("Cache-Control","no-cache"); //HTTP 1.1

response.setHeader(

"Pragma","no-cache"); //HTTP 1.0

response.setDateHeader (

"Expires", 0); //prevents caching at the proxy server

%>

 

Both these code snippets are working incase of a simple jsp file. But in case of Struts tiles , it the meta tags are not even visible in the client side generated web page. 

 

Can anybody triggerout that where might be I am making mistake ?

 

Thanks in Advance :)

 

Santhosh.



Santhosh.G
me@santhoshgandhe.com

 


Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.

__._,_.___
Recent Activity
Visit Your Group
Give Back

Yahoo! for Good

Get inspired

by a good cause.

Y! Toolbar

Get it Free!

easy 1-click access

to your groups.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___

[completeJava] problem with client side page caching.

Hi All,
 
I am unable to restrict the browser from not to caching my webpage at the client side. I am getting this problem only when i use tiles with struts. in case regular jsp files it is working fine.  I am using the following code in my jsp files to restrict client side caching.
 
<
meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma-directive" content="no-cache" />
<meta http-equiv="Cache-Directive" content="no-cache" />
 
I also tried with the other way
 
<%
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader(
"Pragma","no-cache"); //HTTP 1.0
response.setDateHeader (
"Expires", 0); //prevents caching at the proxy server
%>
 
Both these code snippets are working incase of a simple jsp file. But in case of Struts tiles , it the meta tags are not even visible in the client side generated web page. 
 
Can anybody triggerout that where might be I am making mistake ?
 
Thanks in Advance :)
 
Santhosh.


Santhosh.G
me@santhoshgandhe.com


Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

Ads on Yahoo!

Learn more now.

Reach customers

searching for you.

Food Lovers

Real Food Group

on Yahoo! Groups

find out more.

.

__,_._,___

Friday, August 31, 2007

Re: [completeJava] Re: How to make java Executable?

Hey guyz ....I got the solution, actually I was using System.in and System.out in my application, that's why it was failing. Now I made it a Swing application, and it is working now. Huh!!
 
Thirupathi,
Thank you so much for your help
 
 
Thanks,
Jahangir.

Naveen Kumar Reddy <mareddy_naveen@yahoo.com> wrote:
Jahangir,

Did you try running the JAR file I attached in my previous reply mail to you?

-Naveen

jahangir pasha <jheemu_26@yahoo.com> wrote:
Hi Naveen,
 
I tried out by putting a new line character after the Main-Class line in the manifest file, but stil it is failing.
 
 
Thanks,
Jahangir
 
Naveen Kumar Reddy <mareddy_naveen@yahoo.com> wrote:
Hi Jahangir,

See attached Manifest and JAR file, double-click on attached jar file it opens a Swing window....what santosh told is correct....observe attached files clearly to get right picture.

Hint: Use Eclipse (or some IDE) for creating the JAR file by supplying 'main class' file name in it. Then it directly creates Executable JAR.

I hope all your worries are gone :)

-Naveen

santosh kumar <kumaronline_2004@yahoo.com> wrote:
In the Manifest file after the main-class entry there should be a new line character. check that out. If there is no new line character it will fail.
 
Regards
Santosh

jahangir pasha <jheemu_26@yahoo.com> wrote:
Still im getting the same error "Could not find main class. Program will exit". 
 
I created the jar file using JarBuilder but it is failing. Please help me out  
 
Thanks,
Jahangir

"b.thirupathi" <thirupathi_reddy_82@yahoo.com> wrote:
Hi,
I have uploaded one utility called "JarBuilder".
Now you can easily create Executable Jar files.
You download that tool from completeJavagroup/files/java section.
and unzip that archive and double-click jarbuilderXXX.jar.
Then you select needed class files the you say create jar, it'll
search and list classes having main method.you select the main class
from that list and give the location and name of the jar file to be
created.
it is now very easy....

Regards,
Thirupathi B.
mobile# 9247413378

--- In completeJava@yahoogroups.com, "jheemu_26" <jheemu_26@...>
wrote:
>
> Hi,
>
> I have some set of java class files, I want to make an executable
of
> them, packing them to a jar file, but it is failing. Can anyone
tell
> me the process?
>
> To make the executable im using the following command:
> jar -cvfm ReportGenerator.jar repgen.mf *
>
> repgen.mf has the following lines:
>
> Manifest-Version: 1.0
> Main-Class: ReportGenerator
> Class-Path: ReportMill8.zip
>
> where ReportGenerator is my only class file and ReportMill8.zip
> contains the referenced class files.
>
> But, when I double click that Executable Jar file, Im getting an
> error "Could not find the Main class. Program will exit". Please
> anybody help.
>



Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us.


Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.



______________________________________________________________________________________
"Though we cannot rewrite the past, we should write a better future"
M Naveen Kumar Reddy 
Novartis Pharmaceuticals Corporation
East Hanover, NJ 07936, USA
Direct phone: +1 862-778-9356
Cell: +1 732-318-8956

Pinpoint customers who are looking for what you sell.


Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.



______________________________________________________________________________________
"Though we cannot rewrite the past, we should write a better future"
M Naveen Kumar Reddy 
Novartis Pharmaceuticals Corporation
East Hanover, NJ 07936, USA
Direct phone: +1 862-778-9356
Cell: +1 732-318-8956

Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.


Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out.

__._,_.___
Recent Activity
Visit Your Group
Yahoo! Finance

It's Now Personal

Guides, news,

advice & more.

HDTV Support

The official Samsung

Y! Group for HDTVs

and devices.

Need traffic?

Drive customers

With search ads

on Yahoo!

.

__,_._,___