Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. smilyface

    DDL Files

    Well, i want yo know if so than how can you convert dll files into packages that can be used in java. Or is there any other way of using dll files by using classes.
  2. smilyface

    JDBC INSERT PreparedStatement into Access

    try running this code segement. ResultSet rs; Statement stat = con.createStatement(); String query = &quot;INSERT INTO TEST(<column_name>,[<column_name>]) VALUES(?)&quot;; PreparedStatement pstat = con.prepareStatement(query); pstat.setInt(1, 1); pstat.executeUpdate(); Basically...
  3. smilyface

    Servlet Instances

    A servlet instance would create a process at the server at which it runs which has multiple threads. Multiple calls to the same servlet by any client would create multiple threads.
  4. smilyface

    IMAGE

    try this code and see if it works. import java.awt.*; import javax.swing.*; public class Driver { public static void main(String[]arg) { JFrame frame = new JFrame(); Container cont = frame.getContentPane(); JPanel panel = new JPanel(); JLabel i = new...
  5. smilyface

    Switch Question

    yes! you can. here ia a sample code. switch(Integer.parseInt(<JOptionPane.showInputDialog>)){ case 1:<object referenece>.balance(); default:; } make sure that you enter only integer value when prompted for input.
  6. smilyface

    Using File Reader

    You can develop your own class that extends the any reader class and then override the methods that you wnat to use. But u will have to develop your own class.
  7. smilyface

    HTML &amp; Servlets

    I think I can provide with a suggestion. 1. First Start the Tomcat Server 2. Open any browser's window and in the address bar type : http://localhost:8080/ 3. Hope this will show u the index page of the server a let u in on a little bit of directory structure. 4. This should enable u to create...
  8. smilyface

    Casting

    You want to implement the functions , probably using the same varible as u havce mentioned. This would make your casting easier.
  9. smilyface

    JDBC Connection - Database Session

    You can use a static instance of a class in which you would have java.sql.Connection type variable that would be private. And synchronise on the connection object.
  10. smilyface

    How Pseudo Remote Threads works

    can u be precise with the error or exception it may be. Than i may be able to help you.
  11. smilyface

    JSP and Download File

    You can use a checkbox or radio button to select either of the two and route the information to another JSP which would either save or open the file depending on the value of the checkbox or radio button.
  12. smilyface

    How to delete files on an action.

    prefix the server host name or IP with the path of the files.

Part and Inventory Search

Back
Top