URGENT PLEASE:How can I run a a class file on the Apache server?

Hi Guys and Gurus,
I am seeking some favor all of experienced gurus, i.e.
How can I run a a class file on the Apache server? Can I run through an Applet?
How can I set Environment variables in Windows2000 Professional Environment?
Actually, I want to extract some records from a MySQL Database running on Apache Server. I wrote a program just to select the columns and show them. It is now a Class file, Now how can I run this class file from the Server???
The code is here
import java.sql.*;
public class RecordShow {
public static void main(String args[]) {
String url = "jdbc:mysql://localhost/myhost";
Connection con;
String query = "select mytable.column," +
"from mytable " +
"where mytable.column = 1";
Statement stmt;
try {
Class.forName("com.mysql.jdbc.Driver");
} catch(java.lang.ClassNotFoundException e) {
System.err.print("ClassNotFoundException: ");
System.err.println(e.getMessage());
try {
con = DriverManager.getConnection(url,
"myuser", "mypassword");
stmt = con.createStatement();
ResultSet rs = stmt.executeQuery(query);
ResultSetMetaData rsmd = rs.getMetaData();
int numberOfColumns = rsmd.getColumnCount();
int rowCount = 1;
while (rs.next()) {
System.out.println("Row " + rowCount + ": ");
for (int i = 1; i <= numberOfColumns; i++) {
System.out.print(" Column " + i + ": ");
System.out.println(rs.getString(i));
System.out.println("");
rowCount++;
stmt.close();
con.close();
} catch(SQLException ex) {
System.err.print("SQLException: ");
System.err.println(ex.getMessage());
Please advise... THANKS
VJ

Ehm, I wasn't referring to you at all... read up,
there's a comment by jschell saying that CGI might be
easier/better for his purposes.
Yep.
I know PHP/Perl/whatever might be easier for some
purposes, but only if you happen to know them and want
to/are able to use them. Ok. But you aren't the one asking the question are you. And the person who asked the question seems to have absolutely no familiarity with Apache or applets.
So whatever they do they are going to have to learn a lot.
And that does indeed suggest that in all likelyhood they have not investigated the alternatives.
And for the vast majority of internet applications, especially with smaller projects (obvious this person is not working with a large team), using perl, or something besides java, is going to be the best business solution. It is simpler, and more secure (probably due to the fact that it is simpler.)
Since this is a Java forum, I
answer under the assumption that people have made a
choice one way or another to use a Java solution to
their problem, so I try to solve it in Java first, and
only when that fails (very seldom) do I turn to other
solutions.You approach problems by arbritrarily deciding to try to solve it in java first and only if you fail do you then look to other solutions?
My first step is to try to figure out which of the various avenues is going to cost less. (And a secondary, but non-trivial concern, is then to convince the customer that just because they have heard of a buzz word like 'enterprise bean' that it doesn't mean that is a cost effective solution.) We must come from different worlds.

Similar Messages

  • How can I run a a class file on the Apache server?

    Hi Guys and Gurus,
    I am seeking some favor all of experienced gurus, i.e.
    How can I run a a class file on the Apache server?
    Actually, I want to extract some records from a MySQL Database running on Apache Server. I wrote a program just to select the columns and show them. It is now a Class file, Now how can I run this class file from the Server???
    Please advise...
    VJ

    cross posted
    http://forum.java.sun.com/thread.jsp?thread=299137&forum=31&message=1184025

  • How can i run a java class file from shell?

    Hi all,
    I've a .class file named "File" that contains Main method, it is in the package "File2".
    How can I run it by shell command?
    PS: "java -cp . file" doesn't work it launch->
    Exception in thread "main" java.lang.NoClassDefFoundError: File2/File (wrong name: File2/File)
    Thanks in advance.

    Just to understand: is File2 ar jar archive or not? If it is a jar archive, have you tried open File2.jar? If File2 is a directory within the current directory, have you tried java -cp . File2/File? I just tested with a set of classes and it works... Let me be precise:
    * Let us imagine you are working in a directory whole path is PathToDir/
    * in this directory you have the classes put in a directory called File2
    * in order to launch File.class then you would have to invoke :
    cd PathToDir/ (just to be sure)
    java -cp . File2/File
    *if you were to do the following then you would have the problem you describe
    cd PathToDir/File2/
    java -cp . File

  • How can I run a SQL script file...

    How can I run a SQL script file from a location on my computer without providing the whole path?
    Is there some way I can set a "Working folder" in SQL Plus??
    Thanks!
    Tom

    You can create an environment variable called "SQLPATH" which is a list of directories that SQL*Plus will search for your .SQL
    scripts.
    I would like to use another directory than the oracle/bin...
    How can I do this ??
    Hello,
    U can do this by this way:
    Save odm_script.sql file to the default Oracle
    directory i.e. Oracle-Home/bin and Run following command
    through SQL Plus.
    SQL>@Script_Name
    I hope this will resolve ur problem.
    Regards,
    Omer Saeed Khan.

  • Email attachments: whenever someone sends me a file the Ipad labels it winmail.dat and wont allow me to open it...these are Word, Exce or jpgs.  Does anyone know why this is and how to fix it?  Also, how can you save attachments to a file on the IPad2

    whenever someone sends me a file the Ipad labels it winmail.dat and wont allow me to open it...these are Word, Exce or jpgs.  Does anyone know why this is and how to fix it?  Also, how can you save attachments to a file on the IPad2

    Is this a particular sender, or all of your attchments?  Google winmail.dat and you will see a number of returns that can explain this, but in short, this is the way some e mail providers deal with attachments.  If all of your e mail is coming that way, you need to change a setting on your isp set up.  Perhaps stary here...
    http://www.nytimes.com/2010/11/25/technology/personaltech/25askk.html

  • HT4910 How can I backup my Quicken Essentials files to the Cloud?

    How can I backup my Quicken Essential files to the Cloud?

    Use the camera icon in the header for your post to insert the picture.
    My other question?
    What is the file's extension (in the folder on your Mac?)
    Is it a .dmg?

  • How do I setup permission to transfer files to the MacMini Server. I thought I had it setup to do such but apparently not as I get an error message?

    How do I setup permission to transfer files to the MacMini Server. I thought I had it setup to do such but apparently not as I get an error message that I don't have permission?

    Both the Mac and Windows units we are usinghave connectivity to the MacMiniServer (on the same network) to open and edit files but cannot transfer new files to the MacMini. FileSharing is on. I went to File Sharing on the MacMini and added the appropriate users and checked FileSharing. Is there something else I needed to do?

  • How can I run a labview executable file inside a VI

    How can i add and run a labview executable file inside the vi and grab the output of the executable file to be used in the vi?
    mytestautomation.com
    ...unleashed the power, explore and share ideas on power supply testing
    nissanskyline.org
    ...your alternative nissan skyline information site

    Hi cmdrb,
    to run an executable you use SystemExec function.
    To get the output of your (LabVIEW-made) executable you need to program some data transfer means: you may use network functions or file functions. In both cases your "LabVIEW executable" needs to provide that options…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Urgent -please- how can I insert my context into proxy request ?

    here is par of my request after I have transformed it, to the bs request.
    Routed Service
              Route to: "SkatEtilAndelsbogAnmeldelseSvarService"
         $outbound:
         <con:endpoint      name="BusinessService$dk.skat.etil$bz$SkatEtilAndelsbogAnmeldelseSvarService" xmlns:con="http://www.bea.com/wli/sb/context">
         <con:service>
         <con:operation>getAnmeldelseKvitteringModtag</con:operation>
         </con:service>
         <con:transport>
         <con:mode>request-response</con:mode>
         <con:qualityOfService>best-effort</con:qualityOfService>
         <con:request      xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <tran:headers      xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
         <http:Content-Type>text/xml</http:Content-Type>
         <http:SOAPAction>
         "http://skat.dk/etil/2011/02/11/getAnmeldelseKvitteringModtag"
         </http:SOAPAction>
         </tran:headers>
         </con:request>
         </con:transport>
         <con:security>
         <con:doOutboundWss>true</con:doOutboundWss>
         </con:security>
         </con:endpoint>
         $body (request):
         <soapenv:Body      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <ns:Kontekst      xmlns:ns20="http://skat.dk/etil/2011/02/11/" xmlns:ns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/">
         <TransaktionsID>34c768d8-4f6d-4194-93b7-e77ffa8c76e6</TransaktionsID>
         <TransaktionsTid>2011-06-30T14:40:15.105+02:00</TransaktionsTid>
         </ns:Kontekst>
         <ns:AnmeldelseKvitteringModtag_I      xmlns:ns="http://skat.dk/etil/2011/02/11/">
         <ns1:AnmeldelseKvitteringModtag      xmlns:ns1="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">
    my problem is how can I insert the
    <ns:Kontekst      xmlns:ns20="http://skat.dk/etil/2011/02/11/" xmlns:ns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/">
         <TransaktionsID>34c768d8-4f6d-4194-93b7-e77ffa8c76e6</TransaktionsID>
         <TransaktionsTid>2011-06-30T14:40:15.105+02:00</TransaktionsTid>
         </ns:Kontekst>
    inside
    <ns:AnmeldelseKvitteringModtag_I      xmlns:ns="http://skat.dk/etil/2011/02/11/">
    The context is generated using this:
    <ns:Kontekst xmlns:ns20="http://skat.dk/etil/2011/02/11/">
    <TransaktionsID>{fn-bea:uuid()}</TransaktionsID>
    <TransaktionsTid>{fn:current-dateTime()}</TransaktionsTid>
    </ns:Kontekst>

    request before context:
    <ns2:AnmeldelseKvitteringModtag xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">
    <ns:AnmeldelseIdentifikator>string</ns:AnmeldelseIdentifikator>
    <ns:AktoerReference>
    <ns:AktoerID>string</ns:AktoerID>
    <ns:KorrelationID>string</ns:KorrelationID>
    </ns:AktoerReference>
    <!--Optional:-->
    <ns:SagsReference>string</ns:SagsReference>
    <ns1:KoeIndikator>false</ns1:KoeIndikator>
    <ns1:ProeveTinglysningIndikator>true</ns1:ProeveTinglysningIndikator>
    <xd:Signature Id="string">
    <xd:SignedInfo Id="string">
    <xd:CanonicalizationMethod Algorithm="http://www.your.org/aeoliam/quae">
    ventos
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    verrantque
    </xd:CanonicalizationMethod>
    <xd:SignatureMethod Algorithm="http://www.sample.org/turbine/circum">
    regemque
    <!--Optional:-->
    <xd:HMACOutputLength>100</xd:HMACOutputLength>
    nimborum
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    fremunt
    </xd:SignatureMethod>
    <!--1 or more repetitions:-->
    <xd:Reference Id="string" URI="http://www.my.com/profundum/sceptra" Type="http://www.test.com/iovis/flammato">
    <!--Optional:-->
    <xd:Transforms>
    <!--1 or more repetitions:-->
    <xd:Transform Algorithm="http://www.sample.com/bella/nubibus">
    flammas
    <!--You have a CHOICE of the next 2 items at this level-->
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    <xd:XPath>string</xd:XPath>
    ac
    </xd:Transform>
    </xd:Transforms>
    <xd:DigestMethod Algorithm="http://www.my.com/ac/caelumque">
    speluncis
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    circum
    </xd:DigestMethod>
    <xd:DigestValue>YXJpcw==</xd:DigestValue>
    </xd:Reference>
    </xd:SignedInfo>
    <xd:SignatureValue Id="string">Y29uaXVueA==</xd:SignatureValue>
    <!--Optional:-->
    <xd:KeyInfo Id="string">
    praeterea
    <!--You have a CHOICE of the next 8 items at this level-->
    <xd:KeyName>string</xd:KeyName>
    <xd:KeyValue>
    arce
    <!--You have a CHOICE of the next 3 items at this level-->
    <xd:DSAKeyValue>
    <xd:P>Y2xhdXN0cmE=</xd:P>
    <xd:Q>Y2lyY3Vt</xd:Q>
    <!--Optional:-->
    <xd:G>aW1wZXJpbw==</xd:G>
    <xd:Y>Y2VydG8=</xd:Y>
    <!--Optional:-->
    <xd:J>cXVpc3F1YW0=</xd:J>
    <xd:Seed>ZXQ=</xd:Seed>
    <xd:PgenCounter>YWM=</xd:PgenCounter>
    </xd:DSAKeyValue>
    <xd:RSAKeyValue>
    <xd:Modulus>ZmV0YQ==</xd:Modulus>
    <xd:Exponent>YWM=</xd:Exponent>
    </xd:RSAKeyValue>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    sed
    </xd:KeyValue>
    <xd:RetrievalMethod URI="http://www.test.org/pectore/austris" Type="http://www.your.gov/certo/dare">
    <!--Optional:-->
    <xd:Transforms>
    <!--1 or more repetitions:-->
    <xd:Transform Algorithm="http://www.any.com/volutans/dedit">
    faciat
    <!--You have a CHOICE of the next 2 items at this level-->
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    <xd:XPath>string</xd:XPath>
    magno
    </xd:Transform>
    </xd:Transforms>
    </xd:RetrievalMethod>
    <xd:X509Data>
    <!--You have a CHOICE of the next 6 items at this level-->
    <xd:X509IssuerSerial>
    <xd:X509IssuerName>string</xd:X509IssuerName>
    <xd:X509SerialNumber>100</xd:X509SerialNumber>
    </xd:X509IssuerSerial>
    <xd:X509SKI>ZXQ=</xd:X509SKI>
    <xd:X509SubjectName>string</xd:X509SubjectName>
    <xd:X509Certificate>YWM=</xd:X509Certificate>
    <xd:X509CRL>ZXQ=</xd:X509CRL>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    </xd:X509Data>
    <xd:PGPData>
    <!--You have a CHOICE of the next 2 items at this level-->
    <xd:PGPKeyID>cmVnZW1xdWU=</xd:PGPKeyID>
    <!--Optional:-->
    <xd:PGPKeyPacket>YW5ub3M=</xd:PGPKeyPacket>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    <xd:PGPKeyPacket>aW5maXhpdA==</xd:PGPKeyPacket>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    </xd:PGPData>
    <xd:SPKIData>
    <xd:SPKISexp>dmVudG9z</xd:SPKISexp>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    </xd:SPKIData>
    <xd:MgmtData>string</xd:MgmtData>
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    tenens
    </xd:KeyInfo>
    <!--Zero or more repetitions:-->
    <xd:Object Id="string" MimeType="string" Encoding="http://www.my.org/rapidum/habenas">
    insuper
    <!--You may enter ANY elements at this point-->
    <AnyElement/>
    mollitque
    </xd:Object>
    </xd:Signature>
    </ns2:AnmeldelseKvitteringModtag>
    This is after the transformation.
    Routed Service
              Route to: "SkatEtilAndelsbogAnmeldelseSvarService"
         $outbound:
         <con:endpoint      name="BusinessService$dk.skat.etil$bz$SkatEtilAndelsbogAnmeldelseSvarService" xmlns:con="http://www.bea.com/wli/sb/context">
         <con:service>
         <con:operation>getAnmeldelseKvitteringModtag</con:operation>
         </con:service>
         <con:transport>
         <con:mode>request-response</con:mode>
         <con:qualityOfService>best-effort</con:qualityOfService>
         <con:request      xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <tran:headers      xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
         <http:Content-Type>text/xml</http:Content-Type>
         <http:SOAPAction>
         "http://skat.dk/etil/2011/02/11/getAnmeldelseKvitteringModtag"
         </http:SOAPAction>
         </tran:headers>
         </con:request>
         </con:transport>
         <con:security>
         <con:doOutboundWss>true</con:doOutboundWss>
         </con:security>
         </con:endpoint>
         $body (request):
         <soapenv:Body      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
         <ns:Kontekst      xmlns:ns20="http://skat.dk/etil/2011/02/11/" xmlns:ns="http://rep.oio.dk/cpr.dk/xml/schemas/core/2005/03/18/">
         <TransaktionsID>93235d7a-131d-45a7-a36b-34fd9c83343f</TransaktionsID>
         <TransaktionsTid>2011-06-30T15:35:55.567+02:00</TransaktionsTid>
         </ns:Kontekst>
         <ns:AnmeldelseKvitteringModtag_I      xmlns:ns="http://skat.dk/etil/2011/02/11/">
         <ns1:AnmeldelseKvitteringModtag      xmlns:ns1="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">
         <ns2:AnmeldelseIdentifikator      xmlns:ns2="http://rep.oio.dk/tinglysning.dk/schema/model/1/">string</ns2:AnmeldelseIdentifikator>
         <ns2:AktoerReference      xmlns:ns2="http://rep.oio.dk/tinglysning.dk/schema/model/1/">
         <ns3:AktoerID      xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="http://rep.oio.dk/tinglysning.dk/schema/model/1/">string</ns3:AktoerID>
         <ns3:KorrelationID      xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/" xmlns:xd="http://www.w3.org/2000/09/xmldsig#" xmlns:ns3="http://rep.oio.dk/tinglysning.dk/schema/model/1/">string</ns3:KorrelationID>
         </ns2:AktoerReference>
         <ns2:SagsReference      xmlns:ns2="http://rep.oio.dk/tinglysning.dk/schema/model/1/">string</ns2:SagsReference>
         <ns2:KoeIndikator      xmlns:ns2="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/">false</ns2:KoeIndikator>
         <ns2:ProeveTinglysningIndikator      xmlns:ns2="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/">true</ns2:ProeveTinglysningIndikator>
         <xd:Signature      Id="string" xmlns:xd="http://www.w3.org/2000/09/xmldsig#">
         <xd:SignedInfo      Id="string" xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">
         <xd:CanonicalizationMethod      Algorithm="http://www.your.org/aeoliam/quae">
         ventos
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         verrantque
         </xd:CanonicalizationMethod>
         <xd:SignatureMethod      Algorithm="http://www.sample.org/turbine/circum">
         regemque
         <!--Optional:-->
         <xd:HMACOutputLength>100</xd:HMACOutputLength>
         nimborum
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         fremunt
         </xd:SignatureMethod>
         <!--1 or more repetitions:-->
         <xd:Reference      Id="string" URI="http://www.my.com/profundum/sceptra" Type="http://www.test.com/iovis/flammato">
         <!--Optional:-->
         <xd:Transforms>
         <!--1 or more repetitions:-->
         <xd:Transform      Algorithm="http://www.sample.com/bella/nubibus">
         flammas
         <!--You have a CHOICE of the next 2 items at this level-->
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         <xd:XPath>string</xd:XPath>
         ac
         </xd:Transform>
         </xd:Transforms>
         <xd:DigestMethod      Algorithm="http://www.my.com/ac/caelumque">
         speluncis
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         circum
         </xd:DigestMethod>
         <xd:DigestValue>YXJpcw==</xd:DigestValue>
         </xd:Reference>
         </xd:SignedInfo>
         <xd:SignatureValue      Id="string" xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">Y29uaXVueA==</xd:SignatureValue>
         <!--Optional:-->
         <xd:KeyInfo      Id="string" xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">
         praeterea
         <!--You have a CHOICE of the next 8 items at this level-->
         <xd:KeyName>string</xd:KeyName>
         <xd:KeyValue>
         arce
         <!--You have a CHOICE of the next 3 items at this level-->
         <xd:DSAKeyValue>
         <xd:P>Y2xhdXN0cmE=</xd:P>
         <xd:Q>Y2lyY3Vt</xd:Q>
         <!--Optional:-->
         <xd:G>aW1wZXJpbw==</xd:G>
         <xd:Y>Y2VydG8=</xd:Y>
         <!--Optional:-->
         <xd:J>cXVpc3F1YW0=</xd:J>
         <xd:Seed>ZXQ=</xd:Seed>
         <xd:PgenCounter>YWM=</xd:PgenCounter>
         </xd:DSAKeyValue>
         <xd:RSAKeyValue>
         <xd:Modulus>ZmV0YQ==</xd:Modulus>
         <xd:Exponent>YWM=</xd:Exponent>
         </xd:RSAKeyValue>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         sed
         </xd:KeyValue>
         <xd:RetrievalMethod      URI="http://www.test.org/pectore/austris" Type="http://www.your.gov/certo/dare">
         <!--Optional:-->
         <xd:Transforms>
         <!--1 or more repetitions:-->
         <xd:Transform      Algorithm="http://www.any.com/volutans/dedit">
         faciat
         <!--You have a CHOICE of the next 2 items at this level-->
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         <xd:XPath>string</xd:XPath>
         magno
         </xd:Transform>
         </xd:Transforms>
         </xd:RetrievalMethod>
         <xd:X509Data>
         <!--You have a CHOICE of the next 6 items at this level-->
         <xd:X509IssuerSerial>
         <xd:X509IssuerName>string</xd:X509IssuerName>
         <xd:X509SerialNumber>100</xd:X509SerialNumber>
         </xd:X509IssuerSerial>
         <xd:X509SKI>ZXQ=</xd:X509SKI>
         <xd:X509SubjectName>string</xd:X509SubjectName>
         <xd:X509Certificate>YWM=</xd:X509Certificate>
         <xd:X509CRL>ZXQ=</xd:X509CRL>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         </xd:X509Data>
         <xd:PGPData>
         <!--You have a CHOICE of the next 2 items at this level-->
         <xd:PGPKeyID>cmVnZW1xdWU=</xd:PGPKeyID>
         <!--Optional:-->
         <xd:PGPKeyPacket>YW5ub3M=</xd:PGPKeyPacket>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         <xd:PGPKeyPacket>aW5maXhpdA==</xd:PGPKeyPacket>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         </xd:PGPData>
         <xd:SPKIData>
         <xd:SPKISexp>dmVudG9z</xd:SPKISexp>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         </xd:SPKIData>
         <xd:MgmtData>string</xd:MgmtData>
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         tenens
         </xd:KeyInfo>
         <!--Zero or more repetitions:-->
         <xd:Object      Id="string" MimeType="string" Encoding="http://www.my.org/rapidum/habenas" xmlns:ns1="http://rep.oio.dk/tinglysning.dk/schema/anmeldelse/1/" xmlns:ns="http://rep.oio.dk/tinglysning.dk/schema/model/1/" xmlns:ns2="http://rep.oio.dk/tinglysning.dk/svarservice/message/anmeldelse/1/">
         insuper
         <!--You may enter ANY elements at this point-->
         <AnyElement/>
         mollitque
         </xd:Object>
         </xd:Signature>
         </ns1:AnmeldelseKvitteringModtag>
         </ns:AnmeldelseKvitteringModtag_I>
         </soapenv:Body>

  • How can I run a servlet with Sun Java System Application Server PE 8?

    I've created a package with a TestServlet.class inside, used the deploytool to create a WAR and deployed this using the autodeploy folder.
    The filestructure has been generated and I find the TestServlet.class in
    [installdir]\domains\domain1\applications\j2ee-modules\testProject\WEB-INF\classes\[packagefolderstructure]\TestServlet.class.
    The context root is working fine, but I have no clue how I can run the servlet directly via the URL.
    I've tried many things like
    http://localhost:8080/testProject/TestServlet
    http://localhost:8080/testProject/servlet/TestServlet
    http://localhost:8080/testProject/servlet/[packagenamewithpoints]TestServlet
    http://localhost:8080/testProject/servlet/[packagenamewithslashes]TestServlet
    etc etc
    Can somebody tell me please how to write URLs to deployed servlets? Or send me an example url and xml descriptor files?
    Thanks a lot in advance!

    in web.xml use servlet mapping
    <servlet-mapping>
        <servlet-name>TestServlet</servlet-name>
        <url-pattern>/doit</url-pattern>
    </servlet-mapping>then use http://localhost:8080/testProject/doit

  • How can I run multiple midlets in parallel via the raspberry pi cmd line interface?

    I am trying to run multiple midlets at the same time on my raspberry pi.
    From netbeans point of view I am able to deploy and run them. But for my applications I want to auto start multiple midlets on the raspberry pi.
    On the cmd line interface of java me 8 I have commands to install a midlet and run a midlet.
    But i am not able to start multiple midlets.
    Can someone explain to me how I can do this?

    Hi!
    Could you please clarify a bit: do you want auto-start behavior of your applications or be able to start them manually via CLI?
    Because "auto start" means that applications are started by Java once you start Java itself and in order to make it happen you shall mark your applications appropriately (check MEEP spec for "MIDlet-<n>-Type" application attribute value "autostart"). If this is the case, have you added this attribute?
    If you want to run them manually you should be ale to do so via CLI just the same way as you start one application (via "ams-run" command).
    Either way, could you also please clarify what are the symptoms of the problem? E.g. on CLI what are the messages you receive back (if start is unsuccessful what is the error message etc).
    In addition please mind that there is limit on number of simultaneous VM tasks. If I'm not mistaken by default it is 6: 2 of them are used by system code and each running MIDlet consumes 1 VM task. If you want to increase it please change the value of "MAX_ISOLATES" property in jwc_properties.ini file. The maximum supported value is 16
    Regards,
    Andrey

  • How can i run 2 i tunes accounts on the same computer without songs duplicating?

    my wife and I both have ipods, how do you run an account each on the same computer without files syncing on both ipods/ libraries?

    Using More than One iDevice on the Same Computer
    This applies mainly to couples who are adding another device and do not want their email, messages, etc. being duplicated on both devices. To begin read: How to use multiple iPhone, iPad, or iPod devices with one computer. You need to establish a separate Apple ID and password for whomever will use the new iDevice. See Apple - My Apple ID and Frequently asked questions about Apple ID. The easiest way is to do this on the computer using iTunes: iTunes- How to set up an Apple ID within iTunes.
    On the computer create a new user account for the person with the new iDevice. This will be the user account that person will always use. He/She will no longer use the other user account. This way that person will have a separate iTunes Library
    Start by transferring the new device(s) to a new account along with all your data.  Save any photo stream photos that you want to keep to your camera roll (unless they are already in the camera roll) by opening your Photos app, tap on Albums icon at the bottom. Now, tap on My Photo Stream album; tap Select; tap on the photos you want to select;, tap the share icon (box with upward facing arrow) in the lower left corner; then tap Save to Camera Roll.
    If you are syncing notes with iCloud that you want to keep then you need to open each of your notes and email them to yourself. Later you can copy and paste the text into new notes created in your new account.
    Tap on Settings > iCloud > Delete Account (only deletes it from this device, not from iCloud; the person keeping the current account will not be affected,) provide the password to turn off Find My Phone and choose Keep on My iDevice when prompted.  Sign in with a different Apple ID to create your new account. Choose Merge to upload your data.
    Once you are on separate accounts, you can each go to icloud.com and delete the other person's data from your account.
    Note: The essence of the above was created by user, randers4. I
    have made substantial changes to improve readability and syntax.

  • How can I run two independant LabView applications from the same computer, without taking a performance hit?

    I have two identical, but independant test stations, both feeding data back to a Data Acquisition Computer running LabView 6.1. Everything is duplicated at the computer as well, with two E-series multifunction I/O cards (one for each test station) and two instances of the same LabView program for acquiring and analysing the data. The DAQ computer has a Celeron processor w/ 850Mhz clock and 512MB memory, and is running on Windows NT.
    I have noticed that when I run both the applications simultaneously, I take a substantial performance hit in terms of processing speed (as opposed to running just one program). Why does this happen and how can I prevent it? (In t
    his particular case, it may be possible to combine both the tests into one program since they are identical, but independant, simultaneous control of two different LabView programs is a concept I need to prove out).
    Thanks in advance for any tips, hints and spoon feedings (!)....

    Depending on your application, you may or may not be able to improve things.
    Firstly, each task requires CPU time, so a certain performance difference is guaranteed. Making sure you have a "wait until ms" in every while loop helps in all but the most CPU intensive programs.
    Secondly, if you are
    1) streaming data to disk
    2) Acquiring lots of data over the PCI bus
    3) Sending lots of data o ver the network
    you can have bottlenecks elsewhere than in your program (limited Disk, PCI or Network bandwidth).
    Avoid also displaying data which doesn`t need to be displayed. An array indicator which only shows one element still needs a lot of processing time if the array itself is large.... Best is to set the indicator invisible if this is the case.
    I think
    it would be best if you could give some more information about the amount of data being acquired, processed and sent. Then maybe it will be more obvious where you can optimise things. If you are running W2000, try activating the task manager while the program(s) are sunning to see where the bottleneck is.
    Shane
    Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)

  • How can i run java windows(class) app. from studio creator

    Hi experts,
    I want to run windows application(which write with java and compile javac, i have got *.class) from studio creator.
    For example;
    import java.awt.*;
    import java.awt.event.*;
    public class IlkPencere implements WindowListener,ActionListener
    public Frame p1;
    public Button btnIkinciPencere;
    public Button btnKapat;
    public int X;
    public int Y;
    public void PencereAyarla(String baslik,int genislik,int yukseklik,int konumX, int konumY,Color
    arkaPlanrengi)
    X=konumX;
    Y=konumY;
    p1=new Frame(baslik);
    p1.setLocation(konumX,konumY);
    p1.setBackground(arkaPlanrengi);
    p1.setSize(genislik,yukseklik);
    p1.setLayout(new FlowLayout());
    p1.addWindowListener(this);
    btnIkinciPencere= new Button("Ikinci Pencere");
    btnKapat=new Button("Kapat");
    p1.add(btnIkinciPencere);
    p1.add(btnKapat);
    btnKapat.addActionListener(this);
    btnIkinciPencere.addActionListener(this);
    p1.setVisible(true);
    public static void main(String args[])
    IlkPencere p=new IlkPencere();
    p.PencereAyarla("ANA PENCERE",250,100,0,0,Color.white);
    public void actionPerformed(ActionEvent e)
    if(e.getSource()==btnKapat)
    p1.setVisible(false);
    else if(e.getSource()==btnIkinciPencere)
    IlkPencere p=new IlkPencere();
    X=X+50;
    Y=Y+50;
    p.PencereAyarla("ANA PENCERE",100,100,X,Y,Color.red);
    public void windowClosing(WindowEvent e)
    System.exit(0);
    public void windowOpened(WindowEvent e)
    public void windowClosed(WindowEvent e)
    public void windowIconified(WindowEvent e)
    public void windowDeiconified(WindowEvent e)
    public void windowActivated(WindowEvent e)
    public void windowDeactivated(WindowEvent e)
    I am using java server. I want this ; Any client can run my project(create with studio creator) with explorer after click any button after this class run application windows(but this windows application must run on server)
    I don't want to install any program in client PC. Client PC which have got only explorer, may be use this application.
    Thanks,

    or can i hidden explorer tools and address bar. User must use only my application menu.
    How can i solve it.

  • How can I run two different versions of Firefox, the latest does not work with an important site I need to use?

    With the latest version of Firefox I cannot send "Quick Mails" to my students using the college's ANGEL system. I had to uninstall it and go to an earlier version. I prefer the newest rev.
    Any way to run two different versions. It does not have to be simultaniously. Seems to be a problem on both my Mac and XP systems.
    Thanks,
    Kim

    Currently I don't think there is a way to run two version of firefox at the same time. But you can install Firefox Beta or Aurora instead (which is build for future release for firefox) and help test it! Here's the link:
    http://www.mozilla.org/en-US/firefox/channel/

Maybe you are looking for