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 Mike Lewis 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. rach18

    Problem with executing ssh in JSP

    Hi, I need to run a script(/home/rs/Get_FileList) which is on a remote server(usnav.mh.vntnt.com), as user 'rs'. The script takes 2 arguments: requirements and 16.1. When i try to do this with JSP(code as given below), the following command is returning "null": rt.exec(command); JSP code...
  2. rach18

    Java7u3: error: unmappable character for encoding ASCII

    Hi, My java program has a comment line as follows: //Go on to the DMS Table LENLINES ~V Single Line Requirement. While compiling using /usr/java/jdk1.7.0_03/bin/javac, i get the following error: error: unmappable character for encoding ASCII //Go on to the DMS Table LENLINES ? Single Line...
  3. rach18

    How to resolve "java.lang.reflect.InvocationTargetException"

    I was able to get the cause of the exception thrown. In one scenario, the application was trying to dispose the Frame before it was initialized. That caused the above exception. Thanks anyhow Dian for your reply.
  4. rach18

    How to resolve "java.lang.reflect.InvocationTargetException"

    I'm using Java Plug-in 1.6.0_20. When I run my application, i'm getting the following error: What might be the issue? What needs to be taken care in this case? java.lang.reflect.InvocationTargetException at com.sun.deploy.util.DeployAWTUtil.invokeAndWait(Unknown Source) at...
  5. rach18

    Customize only the first row to JComboBox in JTable

    Thanks Timw! :-) Overriding getTableCellEditorComponent method, helped me in resolving the issue.
  6. rach18

    JTable: scroll to get the entered row number at the top of screen

    I have a Jtable. Upon accepting the row number entered by the user, the query results screen shall scroll down such that the entered row number is "at the top of the screen" of JTable. The code i have used is: //Dialog box to fetch row number from the user rowNo = customDialog.getRowNum(); if...
  7. rach18

    Need a dialog box inbetween a servlet

    In between a servelt, for a specific condition, i need user confirmation dialog box. According to the user input, yes/no, the servlet should continue processing further or exit logging some message. What concept can be used here? Any help would be appreciated.
  8. rach18

    Customize only the first row to JComboBox in JTable

    How can i customize only the first row to JComboBox in jTable? (Only one row in the JTable, not the whole column) I tried using the following code: EachRowEditor rEditor = new EachRowEditor(bti.BTIC.comboBox,false,bti.BTIC); bti.BTIC.jTable.getColumn(0).setCellEditor(rEditor); Here the whole...
  9. rach18

    Need a single SQL query

    Hi, Need a “single” SQL query to retrieve records. The SQL query can be a nested/correlated one. Example: Table name: table1 Keyfields: (scr,cdi,rax) SELECT scr,cdi,rax,srow,srti,schg FROM table1 WHERE rc_struct_flag='S' and tron=-1 and hostclli='MTRLPQQQ00T' scr cdi rax srow...

Part and Inventory Search

Back
Top