What If want Running Time or Date with Time.
Hi All.
And thanks to those who replied.If u see my discussion "No Hard Coded Date", If I want running time or Date with the Current Time then how would I do that. Thanks to u all guys,actually I m new to JSP.
hey
in java.util.Date class u can find lot of methods like getTime()
Similar Messages
-
i have a string 2012-05-22T23:23:42.263-07:00. so i want to convert in date with indian time zone can any one help me out
What does this have to do with iPhone tech support?
-
Hi - Re Keynote I'm trying to figure out how to create a music album (as an artist) on USB flash drive, (accessible by both Mac and PC). What I want is a background picture with 'click-buttons' to play each track listed, and play in order (like a cd) - also similar for embedded videos and photos etc. This should all be on the one page.
Is this possible with Keynote, or any other software package for Mac (am using Macbook Pro) ?
Gav 88Hi there,
Yikes, it sounds like you've been doing a lot of work on this project... Unfortunately, however, this isn't the Adobe Encore forum, but the Acrobat.com forum. While it seems like an exciting question, we're not able to address issues pertaining to other Adobe products and services. Here's a link to the Adobe Encore forum, where you're more likely to get help for this specific issue:
http://forums.adobe.com/community/encore
Sorry not to be of more specific help to you. Best of luck!
Kind regards,
Rebecca -
Was on a website when a box opened up asking me what I wanted to run the application as and I clicked on Firefox - now I can't use that website.
You should never select Firefox as the application to handle a file if you get an open with dialog.
Firefox wouldn't ask this if it can handle the file.<br />
You will have to remove that action in Tools > Options > Applications
*http://kb.mozillazine.org/File_types_and_download_actions
See also:
*https://support.mozilla.org/kb/Managing+file+types
*https://support.mozilla.org/kb/Firefox+keeps+opening+many+tabs+or+windows -
When I open a attachment from an email a box always pops up that says what program do i want to open this document with. How do i get rid of this pop up box?
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
*https://support.mozilla.org/kb/Troubleshooting+plugins
Do a malware check with some malware scanning programs on the Windows computer.<br />
Please scan with all programs because each program detects different malware.
Make sure that you update each program to get the latest version of their databases before doing a scan.
*Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
*SuperAntispyware:<br>http://www.superantispyware.com/
*Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
*Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
*Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
*Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
You can also do a check for a rootkit infection with TDSSKiller.
*http://support.kaspersky.com/viruses/solutions?qid=208280684
See also:
*"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked -
What is "LabVIEW Run Time Engine"?
I'm trying to find the differences between two computers that I'm troubleshooting. One of them is my development system which has the whole Development Suite installed, and the other is a test station which has LabVIEW 8.0 Evaluation Version installed. When I was looking through the list of programs in my development system (in Add/Remove Programs), I found a program named "LabVIEW Run Time Engine" and the size is 0.11 MB that is not in my test station. I thought all the NI components are installed under "National Instruments Software" including the Run Time Engine...
Does anyone knows what this is?
See-MingThe Run Time Engine is a library of routines that a compiled Labview program needs to run on a system that doesn't have the development environment. It is similar to Visual Basic's vbrun.dll, which compiled VB programs need to run.
As far as I know, the run time engine gets installed whenever you install any Labview development environment. This engine is usually only necessary when running a Labview program compiled to an exe format. Both the exe and the run time engine can be installed on another computer so that the program can run without having to buy another development package for that computer.
The runtime engine is called LVRT.DLL. Search for it. For version 7.1, the run time engine is in C:\Program Files\National Instruments\shared\LabVIEW Run-Time\7.1\lvrt.dll
- tbob
Inventor of the WORM Global -
What does "Always stay up to date with the latest photography innovations from Adobe" mean ?
Hello,
I'm considering buying Lightroom 6 standalone version, but I wonder what the fact that "Always stay up to date with the latest photography innovations from Adobe" isn't available means ?
Will the standalone version be updated for free with new camera support ?
Will the standalone version be updated for free with defects correction ?
If there are new functionalities (lightroom minor version), won't they be available for standalone version before the next major version ?
Thanks for your helpMy understanding is that LR6 will continue to receive bug fixes and new camera support updates, but not any new functionality/features that LRCC receives. See question 2 at the bottom on this post: Lightroom CC/Camera Raw FAQ
-
I want to switch contract dates with anther phone, How do I do that?
I have a phone that the contract is up in a week... How do I switch contract end dates with my other phone?
You can't switch contracts/contract end dates. You could swap the phones between the lines, but of course that means they'll also have to swap phone numbers.
-
Whats recommended? Running CSS in parallel with or independent of LD?
In migrating from Local Directors to CSS, is it recommended to deplot the CSS to be independent of the local directors? We have a proposed design that maintains the Local Directors as part of the solution, and I feel that may not be the best way, and I wanted to post this here and see what the consensus is.
CSS is a superset of LD. CSS does what LD does and much more. CSS strengths lay in L5-L7 ie. NBAR, Flash Crowd insurance with WebNS, Cookie and URL inspection, and TCP intercetpt & splicing of connections to the best server in the server farm. Yes it can do L2, L3, L4 but there are other Cisco products to do this.
I agree the inclusion of LD in your new solution limits you to L4 functionality. My own opinion is that a solution is only as good as the "weakest" component. I would go independant of the LD. Perhaps you can redeploy the LD in another part of the LAN? -
UPS for 2 dell r710s and some switches. What gives longest run time?
Hello all, I hope this section also counts for battery backup? I have been looking at tons of different options for UPS, and of course there are the watts, VA ratings, and amount of batteries you actually have connected, but what is the best to shoot for?We have one eaton 9130 with an extra battery pack on it, but most everything is plugged in to it and its at nearly full load as is. We also have 2 dell R710's that I have each individually one larger individual UPS's, but they are only the bigger desktop model ones.I am trying to get a decent runtime setup to put the 2 r710's on, and probably half the switches (6 of them total, HP procurve's 1 48, 3 24's, and 1 16port L3, and a sonicwall tz215)I was looking at the cyberpower systems backups, and they have 3kw ones with extra battery options.Can anyone make a recommendation on what...
This topic first appeared in the Spiceworks CommunityHello all, I hope this section also counts for battery backup? I have been looking at tons of different options for UPS, and of course there are the watts, VA ratings, and amount of batteries you actually have connected, but what is the best to shoot for?We have one eaton 9130 with an extra battery pack on it, but most everything is plugged in to it and its at nearly full load as is. We also have 2 dell R710's that I have each individually one larger individual UPS's, but they are only the bigger desktop model ones.I am trying to get a decent runtime setup to put the 2 r710's on, and probably half the switches (6 of them total, HP procurve's 1 48, 3 24's, and 1 16port L3, and a sonicwall tz215)I was looking at the cyberpower systems backups, and they have 3kw ones with extra battery options.Can anyone make a recommendation on what...
This topic first appeared in the Spiceworks Community -
What is Run time execution in odi?
I came up this question after attending one interview. What exactly a run time execution in oracle data integrator?
Hi Kumar,
SAP Exchange Infrastructureruntime consists of a series of components:
· The Integration Engine executes the integration logic of the Integration Server and converts messaging (of the Integration Server or application systems).
· The proxy runtime uses proxies to exchange messages with the Integration Server. This section addresses the programming model for ABAP and Java proxies.
· The Adapter Engine uses the RFC adapter and external adapters to exchange messages with the Integration Server.
· The respective adapters are either connected using the Adapter Engine or run independently (for instance, the IDoc adapter and the plain HTTP adapter).
· Central monitoring monitors XI runtime components, the message flow, and the performance.
Refer this link for further details...
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Regards,
Ramesh. -
Apex mobile Date-Picker (date with time) format mask error
Hi together.
I'm playing a little bit with Apex mobile.
I want to save a date with hours and minutes in the database. So i have an date field (type: date with time).
On my phone i can select an date value with time, but when i want to save the value, i get an format error, that the format 'YYYY-MM-DD"T"HH24:MI:SS' is wrong.
I can't change the format mask in the element properties, because it is everytime going back to the old value "YYYY-MM-DD"T"HH24:MI:SS", when i save it.Not a 100% related, but personally and from a usability point-of-view I really dislike the built-in datetimepicker and so far every client who has seen it has agreed with it. It pops the date and time down to the bottom, it only selects when you hit close, it just doesn't look appealing as the normal datepicker does and you expect more. Personally I've also gone the route Jari described several times, and it's probably still the cleanest and least error-prone option. Validating dates can be quite a pain, but the datepicker built-in validation does that fine, so if you can circumvent validating a free-text time field that helps). I've used some jQuery timepicker plugins aswell, and they're ok, but still don't solve the validation (even though there is some javascript validation you still need serverside validation). All I'm trying to say is that using select lists for hour-minutes is not such a bad idea in my opinion.
-
How to sign the data with DHPrivateKey
I am testing DH key exchange protocol. When I run the following code, it works.
import java.io.*;
import java.math.BigInteger;
public class DH2 {
private DH2() {}
public static void main(String argv[]) {
try {
String mode = "USE_SKIP_DH_PARAMS";
DH2 keyAgree = new DH2();
if (argv.length > 1) {
keyAgree.usage();
throw new Exception("Wrong number of command options");
} else if (argv.length == 1) {
if (!(argv[0].equals("-gen"))) {
keyAgree.usage();
throw new Exception("Unrecognized flag: " + argv[0]);
mode = "GENERATE_DH_PARAMS";
keyAgree.run(mode);
} catch (Exception e) {
System.err.println("Error: " + e);
System.exit(1);
private void run(String mode) throws Exception {
DHParameterSpec dhSkipParamSpec;
if (mode.equals("GENERATE_DH_PARAMS")) {
// Some central authority creates new DH parameters
System.out.println
("Creating Diffie-Hellman parameters (takes VERY long) ...");
AlgorithmParameterGenerator paramGen
= AlgorithmParameterGenerator.getInstance("DH");
paramGen.init(512);
AlgorithmParameters params = paramGen.generateParameters();
dhSkipParamSpec = (DHParameterSpec)params.getParameterSpec
(DHParameterSpec.class);
} else {
// use some pre-generated, default DH parameters
System.out.println("Using SKIP Diffie-Hellman parameters");
dhSkipParamSpec = new DHParameterSpec(skip1024Modulus,
skip1024Base);
System.out.println("ALICE: Generate DH keypair ...");
KeyPairGenerator aliceKpairGen = KeyPairGenerator.getInstance("DH");
aliceKpairGen.initialize(dhSkipParamSpec);
KeyPair aliceKpair = aliceKpairGen.generateKeyPair();
System.out.println("ALICE: Initialization ...");
KeyAgreement aliceKeyAgree = KeyAgreement.getInstance("DH");
aliceKeyAgree.init(aliceKpair.getPrivate());
byte[] alicePubKeyEnc = aliceKpair.getPublic().getEncoded();
KeyFactory bobKeyFac = KeyFactory.getInstance("DH");
X509EncodedKeySpec x509KeySpec = new X509EncodedKeySpec
(alicePubKeyEnc);
PublicKey alicePubKey = bobKeyFac.generatePublic(x509KeySpec);
DHParameterSpec dhParamSpec = ((DHPublicKey)alicePubKey).getParams();
System.out.println("BOB: Generate DH keypair ...");
KeyPairGenerator bobKpairGen = KeyPairGenerator.getInstance("DH");
bobKpairGen.initialize(dhParamSpec);
KeyPair bobKpair = bobKpairGen.generateKeyPair();
System.out.println("BOB: Initialization ...");
KeyAgreement bobKeyAgree = KeyAgreement.getInstance("DH");
bobKeyAgree.init(bobKpair.getPrivate());
byte[] bobPubKeyEnc = bobKpair.getPublic().getEncoded();
KeyFactory aliceKeyFac = KeyFactory.getInstance("DH");
x509KeySpec = new X509EncodedKeySpec(bobPubKeyEnc);
PublicKey bobPubKey = aliceKeyFac.generatePublic(x509KeySpec);
System.out.println("ALICE: Execute PHASE1 ...");
aliceKeyAgree.doPhase(bobPubKey, true);
System.out.println("BOB: Execute PHASE1 ...");
bobKeyAgree.doPhase(alicePubKey, true);
byte[] aliceSharedSecret = aliceKeyAgree.generateSecret();
int aliceLen = aliceSharedSecret.length;
byte[] bobSharedSecret = new byte[aliceLen];
int bobLen;
try {
bobLen = bobKeyAgree.generateSecret(bobSharedSecret, 1);
} catch (ShortBufferException e) {
System.out.println(e.getMessage());
bobLen = bobKeyAgree.generateSecret(bobSharedSecret, 0);
System.out.println("Alice secret: " +
toHexString(aliceSharedSecret));
System.out.println("Bob secret: " +
toHexString(bobSharedSecret));
if (!java.util.Arrays.equals(aliceSharedSecret, bobSharedSecret))
throw new Exception("Shared secrets differ");
System.out.println("Shared secrets are the same");
System.out.println("Return shared secret as SecretKey object ...");
bobKeyAgree.doPhase(alicePubKey, true);
SecretKey bobDesKey = bobKeyAgree.generateSecret("DES");
aliceKeyAgree.doPhase(bobPubKey, true);
SecretKey aliceDesKey = aliceKeyAgree.generateSecret("DES");
Cipher bobCipher = Cipher.getInstance("DES/ECB/PKCS5Padding");
bobCipher.init(Cipher.ENCRYPT_MODE, bobDesKey);
byte[] cleartext = "This is just an example".getBytes();
// Signature signature = Signature.getInstance("SHA1withDSA");
// signature.initSign(bobKpair.getPrivate());
// signature.update(cleartext);
// byte[] data = signature.sign();
byte[] ciphertext = bobCipher.doFinal(cleartext);
Cipher aliceCipher = Cipher.getInstance("DES/ECB/PKCS5Padding");
aliceCipher.init(Cipher.DECRYPT_MODE, aliceDesKey);
byte[] recovered = aliceCipher.doFinal(ciphertext);
if (!java.util.Arrays.equals(cleartext, recovered))
throw new Exception("DES in CBC mode recovered text is " +
"different from cleartext");
System.out.println("DES in ECB mode recovered text is " +
"same as cleartext");
bobCipher = Cipher.getInstance("DES/CBC/PKCS5Padding");
bobCipher.init(Cipher.ENCRYPT_MODE, bobDesKey);
cleartext = "This is just an example".getBytes();
ciphertext = bobCipher.doFinal(cleartext);
byte[] encodedParams = bobCipher.getParameters().getEncoded();
AlgorithmParameters params = AlgorithmParameters.getInstance("DES");
params.init(encodedParams);
aliceCipher = Cipher.getInstance("DES/CBC/PKCS5Padding");
aliceCipher.init(Cipher.DECRYPT_MODE, aliceDesKey, params);
recovered = aliceCipher.doFinal(ciphertext);
if (!java.util.Arrays.equals(cleartext, recovered))
throw new Exception("DES in CBC mode recovered text is " +
"different from cleartext");
System.out.println("DES in CBC mode recovered text is " +
"same as cleartext");
}I want to sign the data with Signature,So i add the following code to the sample.
byte[] cleartext = "This is just an example".getBytes();
Signature signature = Signature.getInstance("SHA1withDSA");
signature.initSign(bobKpair.getPrivate());
signature.update(cleartext);
byte[] data = signature.sign();
byte[] ciphertext = bobCipher.doFinal(cleartext);Run the code again, the output is
Error: java.security.InvalidKeyException: No installed provider supports this key: com.sun.crypto.provider.DHPrivateKey
What's wrong with the code, It seems that the bob's private key is not instance of DSAPrivateKey but DHPrivateKey.
what's your comment? thanks a lot.slamdunkming wrote:
thank sabre150 for your reply. But the key pair is generated when I use DH to exchange the secret key. Yes! It is a DH key pair and cannot be used for signing. The DH key pair can only be used for secret sharing.
If I can not use this private key to sign the data, what can i do?Do I have to generate another key pair for signature? In that way, I will have two key pair. Yep. You can generate a DSA or an RSA key pair to be used for signing.
Because I use http protocol to exchange the key to get the shared secret key, Yep.
If I generate another key pair, how can i send the public key to server? Since public keys are 'public' then you can send them in the open to anyone you like. In fact, if you don't publish your public keys then they are pretty much a waste of time. The biggest problem one has with public key is proving 'ownership' - if someone sends me a public key how do I know that the sender is actually who they say they are?.
I am confused.Some reading might help. A pretty good starting point is "Beginning Cryptography with Java" by David Hook published by Wrox. -
Necessity of a run time engine
Can anyone tell me whats the detailed concept behind the necessity of installing the labview run time engine along with a labview application to make it work?
veena."Veena" wrote in message
news:[email protected]..
> What i wanted to know was what does a run time engine exactly does and
> whats its necessity? I havent explored the versions compatibility
> parts...am new to labview and exploring various things theoretically
> and practically, since I cant find a particular place or book that
> gives a overall view, and theres only manuals available for now...
> Veena
I'm taking a guess here, Labview is an interpreted language and that means
it needs something to convert the labview code into machine instructions,
the converter is the Labview runtime engine.
I think even if you create a *.exe file you need the runtime engine to run
it. I don't have the full d
evelopment version though so don't quote me on
that.
If you look in the help index for run-time engine you will find this answer
"Using the LabVIEW Run-Time Engine
If you create a system using LabVIEW that runs applications or shared
libraries, then you must install the LabVIEW Run-Time Engine. The LabVIEW
Run-Time Engine includes the libraries and other files necessary to execute
LabVIEW-built applications and shared libraries. All client computers
running LabVIEW-built applications and shared libraries must also have the
LabVIEW Run-Time Engine installed.
The LabVIEW Run-Time Engine also includes a browser plug-in that allows
clients to view and control VI front panels remotely using a browser.
All applications and shared libraries built with a particular version of
LabVIEW will share the same LabVIEW Run-Time Engine installation, so only
one installation is required. If you use applications or shared libraries
that you create with different versions of LabVIEW (for example, 5.1,
6.0,
and so on), you must have the Run-Time Engine for each version of LabVIEW
installed on the system.
You can find an installer for the LabVIEW Run-Time Engine on your LabVIEW
CD. " -
Can I run two separate versions of the LabVIEW Run-Time Engine on one PC?
Hello, I am curious if anyone knew if it is possibly to install and use two separate versions of the LabVIEW Run-Time Engine on one PC? I currently have the 2009 Run-Time Engine installed on one machine and wanted to install the 2011 Run-Time Engine as well. I know that you can run two separate versions of the LabVIEW program on one machine, but what about the Run-Time Engine?
Thanks!
Solved!
Go to Solution.I'm guessing this is a bug that NI needs to fix. I see no reason you shouldn't be able to install the run-time engine of an older version. I'd be interesed in if it allows you to install the older development environment, which also includes the older run-time engine. There are some command line switches for NI installers as mentioned here:
http://digital.ni.com/public.nsf/allkb/C361087EE9F20810862577850073128E
I wonder if there is a force install option.
Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
Maybe you are looking for
-
Hi - I recently purchased a new iMac. I have a registered cs5 design premium package which is an upgrade - I have no disc for cs4 but have the qualifying serial number for it. I have installed cs5 via download onto my iMac but it is not accepting th
-
Linksys WRT54G Wireless-G Router won't save settings
Hi everyone. I got a stupid little case that's really pissing me off, I'm just trying to port foward with this router, and after I'm done entering all my settings, I click save settings, it tells me settings are succesful. But the it goes back to the
-
BUG: System preferences hang
I've just witnessed something rather interesting: System Preferences is hung and can't be quit, not even force quit. Restarting the system did not work; I'll need to power cycle the machine. I was trying to view energy saver preferences from the tool
-
3 Displays & Cinema Desktop Preview
Hi all... Have been all over the fora and found many similar problems but none that exactly duplicate my problem. I have an Apple 23" Display and a Small PAL monitor running off my Radeon 2600 via Apples DVI to Video converter connector. I use the TV
-
Can all the options as history, bookmarks, tools etc made be password protected
my system is shared by many people so i want to make my whole Firefox options as history, bookmarks , tools etc. made password protected. is this make possible?????????????