How to get the version of Java in browser??
I need to check the verson of Java in browser?? Can anybody help me?
I need to check that, and send it to serwer somehow :)
Any code would be usefull. Thanks
see if this helps :
http://www.javatester.org/version.html
Similar Messages
-
How to get the version no. for service po?
Hi,
How to get the version no. for service po?For material po we are getting the version from EKKO-REVNO but for service po Ekko-revno is blank.
Regards,
Rachel.Hiee,
It is not like service PO does not have revision.
REVNO will only exists for any document if amendment is made after releasing it. If in EKKO for all service PO revision number is blank then test if version management is active for document type
MM->Purchasing->Version management -> External documents
Here check for your doc type and purchase org version management is active.
Regs,
Appie -
How to get the Version History of a stored document?
Hi,
I am trying to store and retrieve the content using Content Services features of ADEP 10.0.
I am able to store and retrieve content where as I am not able to get the version of the document. I am trying to store same or different document, but I donot get the version history or version label. Please guide me how I can get the version of a stored document.
Also, please advise me if there are simple alternative to do the same in ADEP10.
Please see below my sample code below:
package test.sample;
import java.io.File;
import java.util.*;
import com.adobe.idp.Document;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
import com.adobe.idp.dsc.clientsdk.ServiceClientFactoryProperties;
import com.adobe.livecycle.contentservices.client.CRCResult;
import com.adobe.livecycle.contentservices.client.impl.DocumentManagementServiceClientImpl;
import com.adobe.livecycle.contentservices.client.impl.UpdateVersionType;
public class AddContent {
public static void main(String[] args) {
try{
//Set connection properties required to invoke Document Services in EJB mode
Properties connectionProps = new Properties();
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://localhost:1099");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,Service ClientFactoryProperties.DSC_EJB_PROTOCOL);
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "administrator");
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password");
//Create a ServiceClientFactory object
ServiceClientFactory myFactory = ServiceClientFactory.createInstance(connectionProps);
//Create a DocumentManagementServiceClientImpl object
DocumentManagementServiceClientImpl docManager = new DocumentManagementServiceClientImpl(myFactory);
//Specify the store and node name
String storeName ="SpacesStore";
String nodeName = "/Company Home/Test Directory";
//Retrieve the document to store in /Company Home/Test Directory
Document contentA = new Document(new File("C://Adobe/New files/Data-A.pdf"), false);
Document contentB = new Document(new File("C://Adobe/New files/Data-B.txt"), false);
Document contentC = new Document(new File("C://Adobe/New files/Data-C.xlsx"), false);
//Create a MAP instance to store attributes
Map<String,Object> inputs = new HashMap<String,Object>();
//Specify attributes that belong to the new content
String creator = "{http://www.alfresco.org/model/content/1.0}creator";
String description = "{http://www.alfresco.org/model/content/1.0}description";
inputs.put(creator,"Veeraganteppa Sajjan");
inputs.put(description,"A sample application form");
//Store MortgageForm.pdf in /Company Home/Test Directory
CRCResult resultA = docManager.storeContent(storeName,
nodeName,
"dataA.pdf",
"{http://www.alfresco.org/model/content/1.0}content",
contentA,
"UTF-8",
UpdateVersionType.INCREMENT_MAJOR_VERSION,
null,
inputs);
CRCResult resultB = docManager.storeContent(storeName,
nodeName,
"dataB.pdf",
"{http://www.alfresco.org/model/content/1.0}content",
contentB,
"UTF-8",
UpdateVersionType.INCREMENT_MAJOR_VERSION,
null,
inputs);
CRCResult resultC = docManager.storeContent(storeName,
nodeName,
"dataC",
"{http://www.alfresco.org/model/content/1.0}content",
contentC,
"UTF-8",
UpdateVersionType.INCREMENT_MAJOR_VERSION,
null,
inputs);
//Get the identifier value of the new resource
String idA = resultA.getNodeUuid();
String idB = resultB.getNodeUuid();
String idC = resultC.getNodeUuid();
System.out.println("A -The identifier value of the new content is "+idA);
System.out.println("B - The identifier value of the new content is "+idB);
System.out.println("C - The identifier value of the new content is "+idC);
System.out.println("A - The Browse Link is "+resultA.getBrowseLink());
System.out.println("B - The Browse Link is "+resultB.getBrowseLink());
System.out.println("C - The Browse Link is "+resultC.getBrowseLink());
System.out.println("A-The Version Label is "+resultA.getVersionLabel());
System.out.println("B-The Version Label is "+resultB.getVersionLabel());
System.out.println("C-The Version Label is "+resultC.getVersionLabel());
System.out.println("The Version History is "+docManager.getVersionHistory(storeName,nodeName, true));
}catch(Exception e)
e.printStackTrace();
Message was edited by: V B SajjanSorry I did not attach the output and errors. Please find the same below.
A -The identifier value of the new content is f5427f5b-c7c1-4c3c-b959-cb84e4e49a13
B - The identifier value of the new content is b237d22c-5ff5-4628-a83a-23f5e49ae48e
C - The identifier value of the new content is 34a9992c-3705-4488-bb55-6dd7ddfa0517
A - The Browse Link is http://localhost:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/f5427f5b-c7c 1-4c3c-b959-cb84e4e49a13/dataA.pdf
B - The Browse Link is http://localhost:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/b237d22c-5ff 5-4628-a83a-23f5e49ae48e/dataB.pdf
C - The Browse Link is http://localhost:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/34a9992c-370 5-4488-bb55-6dd7ddfa0517/dataC
A-The Version Label is null
B-The Version Label is null
C-The Version Label is null
ALC-CSV-30015-000: com.adobe.livecycle.contentservices.client.exceptions.CSInvocationException: ALC-CSV-030-015-The node [/Company Home/Test Directory] is not versioned.
at com.adobe.contentservices.webscripts.impl.AbstractContentManager.doGetVersionHistory(Abst ractContentManager.java:1362)
at com.adobe.contentservices.webscripts.impl.ContentManagerImpl.executeParams(ContentManager Impl.java:198)
at com.adobe.contentservices.webscripts.impl.CSRetryingTransactionCallback.execute(CSRetryin gTransactionCallback.java:45)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransacti onHelper.java:326)
at com.adobe.contentservices.webscripts.impl.ContentManagerImpl.execute(ContentManagerImpl.j ava:114)
at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:333)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransacti onHelper.java:326)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContaine r.java:386)
at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContai ner.java:404)
at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java: 246)
at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:294)
at org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:172)
at org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:122)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.adobe.idp.um.auth.filter.CSRFFilter.doFilter(CSRFFilter.java:86)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:183)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEs tablishmentValve.java:126)
at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEst ablishmentValve.java:70)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 158)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:598)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
at java.lang.Thread.run(Thread.java:662) -
How to get the parameter from Java Script into the Parameter crystal Report
Hi All,
Crystal Report is integrated with Oracle 10g. I created the base SQL query for col1, col2, col3 and col4. Java Script pass parameter value (185) to Col1.
My question is how to create crystal report to make Col1 as parameter and how to get the parameter value 185(Col1) from Java Script. Is there any additional code I need to include in the crystal report?
FYI.
Java script sends the right parameter value.There is no issue in java script.
This is an automatic scheduled process when batch runs, Java script should pass the parameter value and the crystal report should get the value and produce the output report.Not sure if this is an application question or if you are trying to hook into Crystal Reports parameter UI? If the later then no option other than report design. If an application then I can move this to the Java Forums.
If you are asking how to alter the parameters I suggest you remove the Java reference and post a new question so it's not confusing the issue.
Please clarify? -
How to get the version no of a document created/updated in KM
Hi All,
We are currently working on SAP 7.0 SP16.
We have used the KM API to store our documents into the KM repositories.
The problem we are facing here is related to the version no of the documents created.
I will explain this with an example :
I have created a document "test.txt" --> default version no is 1
I updated the same twice now there are 3 version for this document 1, 2 & 3.
Now if I delete the version no 1 then there are only 2 document versions remaining in the system, but the Portal still displays them as 2 and 3.
Now when I want to read the version history of this document I get an IResource object for each version but I am not able to find any means through which I can retrieve the version no of the IResource object which is currently being read.
Can someone please help me the information regarding how to retrieve the version no from the IResource object returned whenever a document is read using KM API.
Thanks in advance!
Regards,
ManishHi,
try something like this:
String strRevisionID = null;
if (resource.isVersioned()) {
IVersionHistory versions = resource.getVersionHistory();
if (versions != null) {
IResource version = versions.get(i);
strRevisionID = actResource.getRevisionID();
hope this helps,
Romano -
How to get the version changes programatically in ItemCheckedin event
Hi,
I am creating a custom version history page.
I have a requirement were I have to capture the changes after file check-in and display it in the custom page.
Is there anyway to get the version changes programatically after the file has been checked-in?
Is is possible to get the current version and previous version in ItemCheckedin event
and get the version changes?
Thanks in advance,
dhijitHi,
As Dimitri said, we can use ItemCheckingIn event to achieve it.
The following code snippet for your reference:
public override void ItemCheckingIn(SPItemEventProperties properties)
base.ItemCheckingIn(properties);
int beforeLevel = (int)properties.BeforeProperties["vti_level"];
int afterLevel= (int)properties.AfterProperties ["vti_level"];
if((beforeLevel==255) && (afterLevel==1))
// This is a major version that is being checked in . . .
int majorVer= properties.ListItem.File.MajorVersion+1;
Best Regards
Dennis Guo
TechNet Community Support -
How to get the online user who are browse some view?
i want to get the current users who are browsing some view in EP6.additonal:which is developed as web dynpro project.
Hi,
Per my knowledge, we cannot get the SharePoint user context available in custom federated search connector with other methods.
Here is a similar thread for your reference:
https://answers.atlassian.com/questions/263735/atlassian-sharepoint-connector-federated-search-authentication-and-authorization
Thanks,
Linda Li
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Linda Li
TechNet Community Support -
How to get oc4j version from Java program
i have the following in my Java Program
Runtime r = Runtime.getRuntime();
Process p = r.exec("java -jar oc4j.jar version");
and then i try to read the InputStream from the Process p.
but this line is not executing, it returns the following error.
Unknown switch: ?version, type java -jar oc4j.jar -? for help
if i change it to ----------
Runtime r = Runtime.getRuntime();
Process p = r.exec("java -jar $ORACLE_HOME/j2ee/home/oc4j.jar version");
then i get another error :
Exception in thread "main" java.util.zip.ZipException: No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)
but if i cd to /oracle/j2ee/home and then run the command java -jar oc4j.jar version, then it gives me the right output with the right version, but for some reason the samething from inside the java program is giving me errors,
please help. i just need to read the oc4j version running on the server and display it in JSP.Process p = r.exec("java -jar oc4j.jar version");The character before "version" should be a hyphen; yours is not.
Process p = r.exec("java -jar $ORACLE_HOME/j2ee/home/oc4j.jar version");
then i get another error : Exception in thread "main"
java.util.zip.ZipException: No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:127)
at java.util.jar.JarFile.<init>(JarFile.java:65)One more problem here: $ORACLE_HOME will be not be interpreted in the runtime.exec even if it is defined as an environment variable. So you get an error that tells you oc4j.jar is not found.
Hope this helps you. -
How To Get The Version Of Music Player Back?
Welcome,,
i have Nokia N8 and i install an update for music player and it is too bad and not easy as the past version
so is there a way to get past version back?
Thanks,,there is no way to downgrade firmware, sorry.
-
How to get the Version of the Solution Manager
Hi Experts,
The Solution Manager is Already Insatlled on our Machine.
How to Find out the Version of the Solution Manager???
How to Disply the Solution Manager Key????
Please give me the Proper Solution on this.
Regards
KhannaHi,
Check this link
http://www30.sap.com/korea//services/pdf/Solman_4.0_Maintenance_Optimizer_Setup_Guide.pdf
you might have to use t-code SPRO
Regards,
Ramesh P
Message was edited by:
Ramesh Parashivamurthy -
How to get the value in java script to JSP
Hi,
I have written an onclick function on each row and passing the primary key of the table to the javascript function. I want the value which I have passed to the javascript back in the jsp to delete the particular row. How can I achieve this.
ThanksThank you for your reply!! Here I am getting the values only into the javascript after I click a particular row in the table. So for the bean and action to get that particular vale I think I have to submit the form and then get the values back because its initially showing null. How do I submit the form and get the value back, so that I can delete particular row?
-
How to get the version of the Document opened.
Hello all,
When a document is opened I want to know in which Indesign version this document was created.
Depending on the version I need to route to different functions in my code.
Is there a way to know this.
Thank you
MadhuHi Madhu,
have a look at iDataBase->GetVersionNumber
Best,
Peter -
How to get the PDF Document version when using Digital Signature
Hi,
I have a form which contains two signature fields.
When i sign the form the pdf document is saved as a version which can be seen by clicking the Signature Panel.
I need to get the binary of the versions stored in the form.
Please suggest me the how to get the version data from the form.
Regards,
S.V.atish KumarHi Mithun:
I think I have run into a similar issue and have not been able to find a resolution.
I have been trying to place three groupings of data and limit them to 15 rows; additional rows would print on a void check on a next page using the rtf template.
Earnings .............. Pre-Tax Deductions .........Taxes
<line 1 earnings> <line 1 pre-tax deductions> <line 1 tax dedcutions>
<line 2 earnings> <line 2 pre-tax deductions> <line 2 tax dedcutions>
<line 3 earnings> <line 3 pre-tax deductions>
<line 4 earnings> <line 4 pre-tax deductions>
<line 5 earnings>
<line 6 earnings>
The template works fine with these lists as nested tables until I add in the restriction and filler for the 15 rows for the first table. The data in the 2nd two lists does not appear once the limitation is added.
Check Writer (XML) - Issues with payroll check stub in rtf
As an alternative, I have been thinking adding the remaining line totals (over 15 rows) and adding a 16th row. However I have been running into an error when trying to use the code for-each-group.
*** XML-22056: exactly one of four group attributes must be present in xsl:for-each-group
Can you send me your template to review? My email is: Karen.Lacey(AT)paetec(DOT)com
Thanks!
Edited by: RedLacey on Dec 17, 2009 11:48 AM -
How to get the value from a JavaScript and send the same to Java file?
Hi.
How to get the value from a JavaScript (this JS is called when an action invoked) and send the value from the JS to a Java file?
Thanks and regards,
Leslie VYes, I am trying with web application.
In the below code, a variable 'message' carries the needed info. I would like to send this 'message' variable with the 'request'.
How to send this 'message' with and to the 'request'?
Thanks for the help :-)
The actual JS code is:
function productdeselection()
var i=0;
var j=0;
var deselectedproduct = new Array(5);
var message = "Are you sure to delete Product ";
mvi=document.forms[0].MVI;
mei=document.forms[0].MEI;
lpi=document.forms[0].LPI;
if(null != mvi)
++i;
if(null != mei )
++i;
if(null != lpi)
++i;
if(null != mvi && mvi.checked)
deselectedproduct[++j]="MVI?";
if(null != mei && mei.checked)
deselectedproduct[++j]="GAP?";
if(null != lpi && lpi.checked)
deselectedproduct[++j]="LPI?";
if( 0!=j)
if(i!=j)
for (x=0; x<deselectedproduct.length; x++)
if(null != deselectedproduct[x])
message =message+ "-" +deselectedproduct[x];
alert(message);
else
//alert(" You cannot remove all products!");
return false;
return true;
} -
How to get the values from struct data type using java code..?
Hi ,
I am newer to java.
we are using oracle database.
How to get the data from struct data type using java code.
Thanks in Advance.
Regards,
kumarHi Rajeev,
To retrieve a FilterContainer you will need to traverse the report structure:
ReportStructure boReportStructure = boDocumentInstance.getStructure();
ReportContainer boReportContainer = (ReportContainer) boReportStructure.getReportElement(0);
FilterContainer boFilterContainer = null;
if (boReportContainer.hasFilter()) {
boFilterContainer = boReportContainer.getFilter();
} else {
boFilterContainer = boReportContainer.createFilter(LogicalOperator.AND);
Calling boDocumentInstance.getStructure() will retrieve the entire structure for the document.
Calling boReportStructure.getReportElement(0) will retrieve the structure for the first report of the document.
Hope this helps.
Regards,
Dan
Maybe you are looking for
-
i have formatte the macbook pro 13 as it was slow and with boot camp,at the time of format sesstion stopped at 61% and was asking 6 hours to complete.this was for 24 hrs on condtion so i skipped and now i find only 150 gb reserved for boot camp,where
-
Can I create a Submit Form button that allows a choice of who to submit it to?
I have some paperwork that all new hires need to complete and then send back to their specific HR representative. Is there a way to allow them to choose which email they want to submit their form to? We're dealing with blue collar workers that aren
-
Oracle lite Java Command to drop a device
I want to know if there is a java method to drop a device from the Oracle lite repository. I don't find it in the java doc. If such method does not exist maybe I could delete the Device in the repository tables? Is someone did that before? Thank you
-
DAQ Quadrature Code Example and Simulated Mode
Hi, I have what I hope is a quick question: I currently am trying to develop .Net software for an NI-DAQmx device. I am attempting to read data from either 1 or 2 attached quadrature devices sampled at 1000hz with the resulting data streamed to a fil
-
Hi everyone, I have installed and reinstalled the new itunes twice now and each time my laptop just totally dies upon restarting during installation i then have to reinstall windows and all my drivers etc. Has anyone else has same issue and if so fou