Web.xml jdbc data connection

Could someone post a code snippit (or direct me to a link) that would show me the correct way to setup a data connection in a web.xml file? Could you also show me how to use that data conn in a jsp file? I am currently connecting to my database on every page.
Thanks

You need to add this to your web.xml:
    <resource-ref>
        <description>Your datasource description</description>
        <res-ref-name>jdbc/YourDatasourceName</res-ref-name>
        <res-type>javax.sql.DataSource</res-type>
        <res-auth>Container</res-auth>
    </resource-ref>You'll need to make a Resource to your Context:
    <Resource   name="jdbc/YourDatasourceName"
                auth="Container"
                type="javax.sql.DataSource"/>
<!-- Oracle 9.2.0.1 data source -->
    <ResourceParams name="jdbc/YourDatasourceName">
        <parameter>
            <name>factory</name>            <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
        </parameter>
        <parameter>
            <name>driverClassName</name>
            <value>oracle.jdbc.driver.OracleDriver</value>
        </parameter>
        <parameter>
            <name>url</name>
            <value>jdbc:oracle:thin:@elvis:1521:CAPP</value>
        </parameter>
        <parameter>
            <name>username</name>
            <value>api</value>
        </parameter>
        <parameter>
            <name>password</name>
            <value>mod</value>
        </parameter>
        <parameter>
            <name>maxActive</name>
            <value>20</value>
        </parameter>
        <parameter>
            <name>maxIdle</name>
            <value>0</value>
        </parameter>
        <parameter>
            <name>maxWait</name>
            <value>60000</value>
        </parameter>
        <parameter>
            <name>removeAbandoned</name>
            <value>true</value>
        </parameter>
        <parameter>
            <name>removeAbandonedTimeout</name>
            <value>300</value>
        </parameter>
    </ResourceParams>Make sure you get the Jakarta Commons JARs and your JDBC driver JARs and put them where all apps can see them (TOMCAT_HOME/common/lib for me):
commons-beanutils.jar
commons-dbcp.jar
commons-lang-1.0.1.jar
commons-logging-api.jar
commons-pool.jar
This will be the default data source for the application that all JSPs will be able to see. If you use JSTL, it's really easy. - MOD

Similar Messages

  • CDA XML Schema Data Connection

    I have been experimenting in Adobe Designer 7.0 and want to create an CDA XML schema data connection. I used the directions in the help screen and was almost finished, but I got a pop up box that said that my XML schema file was too big. What are the size limits for XML schema files?
    Linda

    usually you can make the binding global and all same named fields will end up with the same value. You may not be able to do that if you have bound your field to a data node in your XML. If that is the case then you will have to do it programatically. Lets assume you have Order_Number on Page 1 and Order_Number2 on Page 2. You would code on the calculate event of the 1st Order_Number field (the one where the number is calculated) - form1.Page2.Order_Number2.rawValue = form1.Page1.Order_Number.rawValue;
    You can add multiple statements to equate that value to other instances of the field as you see fit. Now when any one of those values changes all of the others will be updated auto-magically!

  • Browser based InfoPath form deployed on a Claims based Web Application calling a Secure Web Service via Data Connection

    hi,
    We have a Browser based InfoPath Form deployed on a Claims based Web Application. We are tyring to call WCF Services that are secure using Certificates via the Data Connections on Infopath Form.
    Earlier we used to get the Data in BCS External List via the WCF Services and the Data Connections used to get the Data from the BCS External List. Due to Performance Issues, we want to remove the BCS External List and straightaway call the secure WCF Services
    via the Data Connections.
    Have anyone implemented this scenario.
    Thanks
    Ram
    Thanks Ram

    Hi Ram,
    As these are browser based InfoPath forms, you have two options 
    1) Deploy as sandboxed forms
    In this case you have to create a secure store application id and then set the credentials for that account.
    You then have to export the data connection to Data connections library and modify the .udcx file to utilize the newly created secure store application id.
    This may sometime give issues related to sandboxed code service. You have to give permissions on the secure store for the user account which the sandboxed code service is running.
    2) Deploy as administrator approved forms
    This would be ideal way of doing things as you have full control over the web request if you write code behind InfoPath forms.
    3) Deploy as a Hybrid solution
    a) Write a full trust proxy solutions (extend SPProxyOperation class and override execute method) and make the web request call inside this and return the response
    b) Invoke above operation from the sandboxed InfoPath form's code behind by SPUtility.RegisteredProxyOperation(four part assembly name, operation args)
    Hope this helps.
    Thanks,
    Srikanth

  • Data Binding using XML as data connection

    I'm using an XML as my data connection. It has several order fields in various sections that have unique field identifiers. I have created a random order # script that runs fine inside of the form that occurs on the first order number field but I need that same number to populate into each of the additional order fields, again that have unique identifiers. Is there a way to combine data fields?
    Thanks!

    usually you can make the binding global and all same named fields will end up with the same value. You may not be able to do that if you have bound your field to a data node in your XML. If that is the case then you will have to do it programatically. Lets assume you have Order_Number on Page 1 and Order_Number2 on Page 2. You would code on the calculate event of the 1st Order_Number field (the one where the number is calculated) - form1.Page2.Order_Number2.rawValue = form1.Page1.Order_Number.rawValue;
    You can add multiple statements to equate that value to other instances of the field as you see fit. Now when any one of those values changes all of the others will be updated auto-magically!

  • PDF form with XML data connection comes up blank at run time

    Hello All,
    I am a newbie to ADOBE Livecycle 9, but am very proficient in C#.  I would like to request for your guidance on the following issue.
    We have a desktop application in C#, WPF, Sqlserver. The requirement is to launch a Livecycle form from the application for the user to read/edit/save data
    I have done this much so far -
    Downloaded trial version of Livecycle 9
    Developed a interactive PDf form
    Created an XML based data connection. Generated fields on the form using the fields from this connection.
    Set the .XML file as preview source for the form
    the controls on the form are boumd to the xml data source
    In design mode, the form works fine, it displays my data correctly
    I have created a WPF form with a button. On click of this button, I call the Process.Start(pdf-file-path). My pdf is launched properly
    I have added a combo box to my WPF form. I select a parameter from this, then call a stored procedure which returns me a datatable depending on parameter passed
    Using the returned datatable, I have used the datatable.writexml and datatable.writexmlschema to create my XML and XSD files. as mentioned above, this xsd is used to create the data connection for the PDF and the XML for the preview source
    This is what I want to do -
    Launch the PDF from my WPF form, pre-populated with the newly created XML data from my WPF form.
    So basically, as the user changes the selection criteria from the combo box, the XML file data will change and the PDF file will be launched each time with new data.
    The XSD format will always be constant
    Problem -
    My XML and XSD get created properly, my PDF launches, but it is empty
    If I change my selection criteria and run the WPF application, and then open the PDF in design mode, it asks me whether it should refresh the XML source. This means that the PDF form is connecting correctly to the XML source
    So why then, does the form come up empty at run time?
    What link am I missing?
    I have found some sites that help using Web applications, but nothing for desktop applications. It would be fantastic if you could point me to some help for developing Livecycle forms with C# / SQLServer
    Your help in this case will be highly appreciated.
    Thanks and Regards

    Oops, something happended with the above post. I will try again... I have tried your suggestion but I still get the same garbled XML (with data repeated and some values "cut in half".<br /><br />Here is what I get after decode-service and extract-to-XML-service. This is just the first barcode, the others are similar, sorry for the poor formatting, but I get a CDATA tage infront of the "istensen" value.<br />                                                              <br />CDATA:istensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />>Superroad 99, 1330 Supertown</fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br />>/sub_Adresse<br />><sub_Person<br />><fld_ForMellemEfterNavn>Kim Christensen</fld_ForMellemEfterNavn<br />><fld_VejNRpostByEnLinie<br />> Superroad 99, 1330 Supertown </fld_VejNRpostByEnLinie<br />><fld_PrivatTelefonnummer<br />>20724283</fld_PrivatTelefonnummer<br />></sub_Person<br />></sub_PktA<br />><fld_BlanketNr<br />>kb0371ff</fld_BlanketNr<br />><fld_BarcodeCount<br />/></form1<br /><br />Obviously this is not a legal xml-string, so I can do nothing about it.<br /><br />I have tried using a custom .NET component (ClearImage) for reading the same form (with the barcode) I get the correct data out from the barcodes. So I guess something is wrong with the decode-service in Barcoded Forms ES when I use compressed XML. But I can conclude since the ClearImage component can read the barcodes that they are compressed correctly.<br /><br />Can you help me with getting further with this problem?<br /><br />Sincerely<br />Kim

  • Where to save web.xml file in apache jserv with servlet 2.0

    hi,
    we are using apache jserv which included servlet 2.0 we are able to run .class files and
    jsp files,but we are using web.xml file for connection pooling which we were used in tomcat
    but we are unable to find web-inf folder in apache/jserv to save the file.
    please help me out in this problem,
    please guide us is there any other method of connection pooling apache jserv,we are using backend
    as oracle9i
    i will be greatfull to u in this regards
    laiq

    Hi,
    Just create WEB-INF folder and copy the web.xml.
    good luck !
    ...san :-)

  • Access my web.xml data source via a class

    Hi - I've gone ahead and set up a datasource in my web.xml according to the steps provided here by the good folks at Netbeans. I know my db works and my data source is set up correctly because I'm able to get results back from something using the following bits in a jsp:
    <sql:query var="prodListQry" dataSource="jdbc/Goober">
        SELECT DISTINCT PRODUCT_NAME,PRODUCT_CODE FROM PRODUCTS //edited somewhat
    </sql:query>
    //lots of stuff
    <c:forEach var="prodListQry" items="${prodListQry.rows}">
    <option value="${prodListQry.PRODUCT_NAME}"     
           >${prodListQry.PRODUCT_NAME}${prodListQry.PRODUCT_CODE}</option>
    </c:forEach>That's all well and good, but I don't seem to be bright enough to extrapolate how to use this same resource (if I can) from within a class (ie NOT a jsp).
    I'm left with duplicate code like the following, which we all know is bad...
               Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         String username = "";
         String password = "";
         con = DriverManager.getConnection("jdbc:odbc:Goobir",username,password);
    //...Can anyone point me in the right direction?

    Sounds promising.... I'm testing it out as a scriptlet within a jsp before I put it in a class, but it seems like I need to import something...
    "Generated servlet error cannot find symbol
    symbol : class Context"
    My complete jsp is as follows:
    <%@ page import="javax.servlet.*" %>
    <%@ page import="javax.servlet.http.*" %>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
        <body>
    <%
    Context initContext = new InitialContext();
    DataSource dataSource = (DataSource) initContext.lookup("jdbc/Goober");
    Connection connection = dataSource.getConnection();
        %>
        </body>
    </html>

  • How to move data connections with SOAP web service in different environments in InfoPath Forms 2010

    Hello,
    I've an InfoPath Form where I've around 10 SOAP web service data connections. They are calling a custom web service for a custom business process. The web service URL has a query string parameter which identifies whether it's a Test web service or the Production
    one. The web service URL looks like this:
    http://server/webservice/wsdl?targetURI=testSPRead (for the Test environment)
    http://server/webservice/wsdl?targetURI=ProdSPRead (for the Production environment)
    When I develop the form in Dev environment, I use the Test web service URL and save the data connection as UDCX files in the data connection library. After completing the development, when I deploy this Form in Production, I update the URL in the UDCX
    file in the Production data connection library, but when I run the Form in Production, it throws error 'Error occurred in calling the web service'. After doing more research, when I extracted the XSN file and opened Manifest.xsf file in Notepad, I found the
    references of 'testSPRead' parameter.
    So, in the UDCX file the web service URL is '/targetURI=ProdSPRead' but in the Manifest.xsf file, there is a reference of Test web service parameter which is 'testSPRead' and that's why it's throwing error.
    For testing purpose, I updated the Manifest.xsf file and replaced all the occurrences of 'testSPRead' to 'ProdSPRead' and also updated all the relevant files of the data connections (like XML, XSF etc.) and saved the Manifest.xsf as Form.xsn and deployed
    in Prod and it worked.
    The question is - is this the right way of doing it? There should be a simple method in such cases where web service has conditional parameter to identify the Test and Production web service.
    Does somebody know what is the right way of doing it? I also thought of adding 'double' data connections - one set of Test and another set of Production and call them by identifying the current SharePointServerRootURL, but that's a lot of work. I've 10 web
    service data connections in my Form and in that case I'll be having 20 data connections and setting their parameters in different Rules is too much work.
    Please advise. It's very important for me!
    Thanks in advance.
    Ashish

    Thanks for your response Hemendra!
    I hope Microsoft improves this thing in subsequent patches of InfoPath 2010 or InfoPath 2013 because I don't think this is a very special requirement. This is failing the purpose of having UDCX files for data connections. Why the WSDL's parameter value
    is being written in the Manifest.xsf and other XSF and XML files. InfoPath should always refer the URL and parameters from the UDCX files.
    --Ashish

  • Problem with the data source and web.xml

    I have an issue where JSC is removing my resource reference:
    <resource-ref>
    <description>Creator generated DataSource Reference</description>
    <res-ref-name>jdbc/localOracleDatabase</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    from the web.xml and sun-web.xml.
    The application has been working great in the IDE for months then wham, no more data source definition. I try and add the reference manually and the IDE takes it out. I am "NOT" adding it to the .xml's in the build area. Why is JSC removing the data source entry?

    This continues to be a problem. The only way that I can get around the problem is to drag a table from the data source onto the design pallete and then the datasource is added back to the web.xml. I can run fine for 10 or 15 runs then the entry is once again removed from the web.xml.
    Help please!

  • How to execute the Code-Behind of .aspx linked using XML Data Connection

    I have a dashboard with a live XML Data Connection tied to a Default.aspx file.  That .aspx file has a Default.aspx.vb code-behind file tied to it with some logic in the Page_Load sub routine.  If i open the .aspx on my own in the browser, the code-behind executes properly.
    However, when I tie the .aspx to my dashboard and launch it I know for a fact the .aspx is being called (i have a placeholder on the dashboard to let me know if it executed or not) but its code-behind file is not.  I can't seem to find a solution through Google, would anyone be able to lead me in the right direction with this?  My code is as follows:
    Default.aspx
    <%@ Page Language="vb" aspcompat="true" Debug="true" validaterequest="false" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="scheduleAppointment._Default" %>
    <%    
        'tester to see that script executes, this puts "ScriptExecuted" on a label on my dashboard
        Dim sXML As String   
        sXML = "<data><variable name=" + Chr(34) + "Range_0" + Chr(34)
                      + "><row><column>ScriptExecuted</column></row></variable></data>"
        Response.Write(sXML)
    %>
    Default.aspx.vb
    Imports Microsoft.Office.Interop
    Partial Public Class _Default
        Inherits System.Web.UI.Page
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
                (I have code here creating a Microsoft Outlook appointment and saving/scheduling it. This is not being
                 executed when running the dashboard itself, but I know the code works if I run the .aspx on my own
                 in Internet Explorer browser)
        End Sub
    End Class

    Easy fix, apparently code-behind doesn't execute in Preview mode.  Exported to .swf and ran in the Internet Explorer browser and it worked.

  • XML data connection works in the preview, but not in the final swf

    Hello,
    I have set-up a dashboard with an XML data connection button to load XML data from an internet source. Everthing works perfect in the preview-swf within Xcelsius 4.5. But pressing the button in the exported swf does not have any effect. The dashboard is busy for 2 seconds, but no data is loaded. What could be the reason?
    Thanks.

    Yes, the location is registered. The problem also occours when the swf is opened directly on the web server where the xml-source is running.

  • Data source needs to be specified in context.xml instead of web.xml - why?

    Hi,
    I'm using a Spring JndiObjectFactoryBean to create my JNDI data source in my code:
    <bean id="jndiDataSource" class="org.springframework.jndi.JndiObjectFactoryBean" lazy-init="true">
              <property name="jndiName" value="java:comp/env/jdbc/DS_OURDB_DB2" />
              <property name="lookupOnStartup" value="false"/>
              <property name="proxyInterface" value="javax.sql.DataSource"/>
         </bean>I have the necessary Resource added to my Tomcat's server.xml:
    <Resource accessToUnderlyingConnectionAllowed="false"
                defaultAutoCommit="true" defaultReadOnly="false"
                driverClassName="com.ibm.db2.jcc.DB2Driver"
                factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
                initialSize="0" logAbandoned="false" maxActive="8"
                maxIdle="8" maxOpenPreparedStatements="0" maxWait="-1"
                minEvictableIdleTimeMillis="1800000" minIdle="0"
                name="jdbc/DS_OURDB_DB2" numTestsPerEvictionRun="3"
                password="ourpass" poolPreparedStatements="false"
                removeAbandoned="false" removeAbandonedTimeout="300"
                testOnBorrow="true" testOnReturn="false"
                testWhileIdle="false" timeBetweenEvictionRunsMillis="-1"
                type="javax.sql.DataSource"
                url="jdbc:db2://machine1:60056/DBD1" username="ouruser"
                   validationQuery="SELECT current date FROM sysibm.sysdummy1"/>I then have the resource referenced in my web.xml:
    <resource-ref>
              <res-ref-name>jdbc/DS_OURDB_DB2</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
              <res-sharing-scope>Shareable</res-sharing-scope>
         </resource-ref>However, I'm getting JndiLookupFailureExceptions when I attempt to use this JNDI resource.
    I can resolve it by specifying the following in my META-INF/context.xml:
    <Context>
         <ResourceLink global="jdbc/DS_OURDB_DB2" name="jdbc/DS_OURDB_DB2" type="javax.sql.Datasource"/>
    </Context>I've read some of the JNDI/Tomcat documentation. However, I still do not understand why it doesn't work with the web.xml. Can anyone explain please? Thanks

    Can answer this myself after some more investigation. The reason I required the entry in the META-INF/context.xml was because I had specified the Resource as a Global Reference in the server.xml. By adding this Resource to my application's Context in the server.xml the configuration in the web.xml worked as expected.

  • XML Data Connection : Relative path

    Hi,
    I'm new to Xcelsius
    I have added an XML Data Connection with a static path pointing to a xml file in my C:/
    Now I would like to point the path to a relative path like ./ where the XML file be place in the same place as the dashbord.
    How can I do this?
    ~SaNv...

    I have inserted a text field to get the xml file input path and inserted that  on a cell.
    Then made tha XML connection to read this cell for loading the XML file. This works fine in the xcelsius preview, however when I exported this as an swf/pdf i get the below error in accessing the XML.
    To access external data, this file must be trusted.
    For a PDF file, in Adobe Reader, click Edit > Preferences > Security (Enhanced).
    For any other file type:
    **Do NOT click OK until you have read all the following steps.**
    1. Click OK to close this message and open the Adobe Settings Manager in a web browser.
    2. Click Global Security Settings Panel.
    3. On the Global Security Settings Panel:
       a). In the u201CAlways trust files in these locationsu201D drop-down, select Add location.
       b). Click Browse for files.
       c). Do one of the following:
           - For a PowerPoint file, navigate to the PowerPoint.exe location.
           - For all other file types, navigate to the location of this file.
       d). Click Open.
    4. Close the Adobe Settings Manager. Re-open this file.
    If the problem persists, contact the file creator or your system administrator.
    Error: Error #2148
    Connection Type: XML Data
    File URL: file:///C:/Documents%20and%20Settings/santhosh/Desktop/final.swf
    External Data URL: C:\Documents and Settings\santhosh\Desktop\test.xml
    I have also added the XML file in the Global secuirity testing
    ~SaNv...

  • Problem on refreshing with XML Data Connection

    Hi all,
    I have just created a Xcelcius 2008 interface which is consuming data from XML Data connection that I created using an ASPX web form (webservices). On Xcelsius 2008, I set to refresh the data on every 30 seconds.
    And I have found problem that the Xcelsius 2008 refresh XML Data intermittently. It doesn't want to refresh the latest data, and it still shows the previous data. But the strange thing is when I open the web services to check the validity of the data, the xcelsius is able to update and show the data exactly same with the opened data that I checked.
    And next, I repeatly refrehsed my browser (F5), oddly, the Xcelsius Flash reload data, and when I stop to refresh it. The Xcelsius stop to refresh the data also.
    So what happen to this Xcelsius? Any solutions?
    Regards,
    Devin Wood

    Hi Devin,
    I am also facing the same problem, what codes you exactly use to control the cache. I have used the following but getting same old data.
    Response.Cache.SetExpires(System.DateTime.Now);
                        Response.CacheControl = "no-cache";
                        Response.AddHeader("Pragma", "no-cache");
                        Response.AddHeader("Pragma", "no-store");
                        Response.AddHeader("cache-control", "no-cache");
                        Response.Cache.SetCacheability(HttpCacheability.NoCache);
                        Response.Cache.SetNoServerCaching();
    Hope to get help from you.
    Regards
    Bikram

  • URGENT: Tomcat, Connection Pool - Issue with web.xml & server.xml

    Folks,
    I am trying to connect to a MS SQL database using Tomcat/JSP but having issues. The code that I am using is as follows:
    Context ic = new InitialContext();
    DataSource ds = (DataSource) ic.lookup("java:comp/env/jdbc/test");
    Connection conn = ds.getConnection();
    Statement stmt = conn.createStatement();
    I have added the following code to my Server.xml:
    <Resource name="jdbc/test" auth="Container" type="javax.sql.DataSource"
    maxActive="100" maxIdle="30" maxWait="10000"
    username="DB_AW_DATA" password="tester" driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
    url="jdbc:microsoft:sqlserver://192.168.0.1\\Newcastle"/>
    And the complete web.xml
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE web-app (View Source for full doctype...)>
    - <web-app>
    - <resource-ref>
    <description>Resource reference to java.sql.Connection factory defined in server.xml</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    The error message that I am getting is as follows:
    java.sql.SQLException: Cannot load JDBC driver class 'null'
    What confuses me is that I have placed the following files in Tomcat\common\lib...
    mssqlserver.jar
    msbase.jar
    msutil.jar
    I think this is purely an issue with how I configured server.xml and web.xml
    In the Tomcat documentation it states to put the code in the server.xml - but nested inside the Context element. This is something that I have not done as I am clear what the Context should be..
    Can someone assist...
    <Context path="" docBase="ROOT" debug="0"> ???
    what should be the path and the docBase.
    I have deployed the following application:
    http://localhost:8080/SCWAPP/index.jsp
    THANKS IN ADVANCE FOR ALL SUPPORRT

    you should put the code you typed in server.xml into context.xml
    in the META-INF folder and this will fix your problem.
    the latest tomcat docs detail what to do.

Maybe you are looking for

  • My website no longer works in Safari

    Recently, my website stopped working correctly in Safari (http://www.LauraZarrin.com). It still works fine in Firefox. It's not just on my computer, either. I reloaded the pages, even reworked or recreated & relinked them. Still no luck. I am at a lo

  • Error in transaction currency while posting GL open items

    Hello, I have made an LSMW template to upload GL open items data; the flat files are perfectly getting converted but while uploading, I encounter error messages stating; Message type      Message ID           Message No             Message Text E    

  • Can we write a join on a view and a table

    Hi all, can we write a join on a view and a table. i got the requirement from my functional people about the following one Select CAUFV-AFUNR, CAUFV-AUART, AFVC-VORNR, CAUFV-FTRMI, CRHD-ARBPL into <ProOrd>, <OrdTyp>, <Opt>, <RelDat>, <WorCen> from CA

  • How do i get stuff out of my headphone jack

    so i have a iPod touch 2nd generation and it was stuck in a couch and when i pulled it out i saw that something got stuck so i tried pulling it but it fell to the very end of the headphone jack so i wanna how do i get it out of my headphone jack

  • Mechanical shutter for Nokia 5800 XM...

    juz wandering is there a "mechanical shutter" for the Nokia 5800 XM's Carl Zeiss Tessar camera?  anybody know about this? <kyuo here>