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 strongm 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. pazhanikanthan

    Java as a batch job

    Q1. I would like to synchronize data from mssql to postgresql in a schedule job. I did this by VB use Windows scheduler. Can java do this also? OS may be Linux or Window. Answer: You can run a Thread which will wait for a certain time period and then run the process again. Q2. Can jsp ask OS...
  2. pazhanikanthan

    Dynamic call of session beans

    I use something like this in WebLogic Server I hope this shuld be the same for JBoss also. <session> <ejb-name>Hello2Bean</ejb-name> <home>com.its.ejb.Hello2Home</home> <remote>com.its.ejb.Hello2</remote> <ejb-class>com.its.ejb.Hello2Bean</ejb-class>...
  3. pazhanikanthan

    Browse Button

    You cant select a directory using the FIle HTML Element. You need to think of doing something else like a Applet for FTPing teh files under a directory
  4. pazhanikanthan

    Passing jsp variables to javascript after delete confirm

    Modify the method confirmDelete() as // Confirm Delete Request function confirmDelete(iSection) { var yes=confirm('Are you sure you wish to delete ' + iSection + '?'); if (yes) { return onDeleteSection(iSection);// This is the place where you had missed out } else {...
  5. pazhanikanthan

    Changing from lower case to upper case(syntax)

    String is the class Teh method u need to use is toUpperCase ()
  6. pazhanikanthan

    cannot get the result from db

    Try using this: import java.sql.*; public class Temp { public static void main(String args[]) { Connection con; try{ Class.forName(&quot;sun.jdbc.odbc.JdbcOdbcDriver&quot;); con = DriverManager.getConnection (&quot;jdbc:odbc:test;PWD=abc&quot;); Statement stmt =...
  7. pazhanikanthan

    date validation with no luck

    See whether this helps /* * Function to compare two dates */ function compareDates(strFieldMinVal, strFieldMaxVal) { var arrData = new Array(3); var intDay = 0; var intMonth = 0; var intYear = 0; arrData = strFieldMinVal.split('/'); intMonth = parseInt(arrData[0], 10)...
  8. pazhanikanthan

    problems connecting with jdbc

    What Server are u using???? Is it Tomcat??? If it is so, then u need to put the classes12.zip in the D:\Tomcat\shared\lib folder where D:\Tomcat is teh folder where I have installed Tomcat.
  9. pazhanikanthan

    Create HIDDEN input on Form Dynamically

    Why do u want to create hidden elements to send data from the form. You have the form elements which is sent when u post the form... If u still wanna do it... Create the hidden elements when u form the HTML itself. Now u have the HTML painted with the regular form as well as Hidden elements...
  10. pazhanikanthan

    form field jump

    U can do thru JavaScript itself... No need to go for Java Serverside Programming
  11. pazhanikanthan

    Database , To send a sql to database to get all columns for DATETIME

    Try using TO_DATE('19/08/1955','MM/dd/yyyy')
  12. pazhanikanthan

    number value

    Use isNaN ()
  13. pazhanikanthan

    i have a web form consist of follow

    Netscape lower versions doesa not support disabled attribute... One Option modify ur scripts to blur the text field when the user is clicking on it. else submit to teh server and come back with READONLY INPUT TYPE
  14. pazhanikanthan

    3 qns regarding string, date, validating date, etc.. Help.

    I have attached a JS Function which will validate a date in teh format u have specified. You can do it in the front end itself rather than going to the middler Layer for this purpose. Hope this helps... /* Function to validate the date */ function validateDate(strDate) { var strFormatError...
  15. pazhanikanthan

    Model View Controller (MVC)

    Read thru the documentations in Java Site
  16. pazhanikanthan

    Deployment Method

    Read thru some documentation provided by any Container Provider (Eg: WebLogic). That will answer all your questions clearly
  17. pazhanikanthan

    Hi, When HttpSession become inva

    I seriously dint understand ur first question This is the Answer for ur 2nd Question: response.sendRedirect (&quot;Login.jsp&quot;); This is the Answer for ur 3rd Question: response.setHeader(&quot;Pragma&quot;, &quot;No-cache&quot;) ; response.setDateHeader(&quot;Expires&quot;, 0) ...
  18. pazhanikanthan

    Random Class

    First of all u need to import import java.util.Random; Next is u cannot access the method nextInt as it is not a static method. have a object instantiated and then do it...
  19. pazhanikanthan

    jsp form validation

    My first question is why are u doing out.print inbetween the processing? Second give a return statement after the forward and sendRedirect calls.
  20. pazhanikanthan

    General Qestion about JSP

    As far as I know, u can save it the data as Comma Separated Values in a CSV file which is compatible with MS Excel. If u are specifically looking out for suppot for XLS Files with Macros, etc, then u might have to depend on third party JAVA - COM Bridges. For example third party softwares like...

Part and Inventory Search

Back
Top