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: *

  • Users: hyperbug
  • Order by date
  1. hyperbug

    Servlet to Display a Certain Number of Returns per Page

    It depends on the database your are using. If you were using MySQL it has functions to do that. There is a generic form passing the current index to the next page, for example 26, then in that page move the resultset until the 26 row and display the next 25 rows. The link for the back and next...
  2. hyperbug

    In what jar file are com.beasys.commerce.foundation.* classes?

    I have not found in what jar file are the following classes: com.beasys.commerce.foundation.exception.PipelineFatalException; com.beasys.commerce.foundation.pipeline.PipelineComponent; com.beasys.commerce.webflow.CommerceInputProcessor;
  3. hyperbug

    How to find the position of the first bit set to one?

    I think my last post was confusing because I didn't ask the right question. I have a 64 bit unsigned integer. I want to find the position of the first (or the last) bit set to 1 without a loop. I'm using this code: int position(uint64 number){ for(int i=0; i<64; i++) if ( (((uint64) 0x01)...
  4. hyperbug

    How to find the most significative bit

    I have a 128 bit unsigned integer and I want to find the first bit set to one without a loop. Thank you
  5. hyperbug

    How to find the most significative bit

    I want to get this bit whithout a loop and testing each bit. I read that there is a formula to find it like (number - 1) % y or something like that.
  6. hyperbug

    How to avoid the StaleConnectionException?

    The application has frequently a lot of StaleConnectionExceptions. How can it be solved?
  7. hyperbug

    Java I/O

    There is a system property named: line.separator Line separator (&quot;\n&quot; on UNIX) (&quot;\n\r&quot; on Windows) you could skip 1 or 2 bytes per line if your file is binary. Or read the file using a BufferedReader it has a method readLine.
  8. hyperbug

    Software for Servlets/JSP

    You should download Apache and Tomcat from http://www.apache.org also you could download the java servlet development kit.
  9. hyperbug

    The behavior of a session stateless ejb with synchronized method?

    I would like to know what behavior has an stateless session ejb bean with a synchronized method.
  10. hyperbug

    Do I need the MS-DTC to interconnect websphere and SQLserver?

    I'm using websphere 4 y SQLserver 2000. SQLserver has a service named DTC (Distribuited Transaction Controller). I got the error 8525 from SQLserver: Distribuited transaction completed. I dont think I need the DTC service, because it would be doing the work of the websphere. But when I stop...
  11. hyperbug

    Are direct jdbc connections also managed by the by the EJB container?

    I mean if I have direct jdbc connections they are affected by the transaction attributes of the EJB?
  12. hyperbug

    The difference between direct jdbc connections and datasources?

    I would like to know what are the most important differences between direct jdbc connections and datasources from a transactional point of view.
  13. hyperbug

    How EJB transactions are done?

    Suppose there is a method named method_B which opens a jdbc connection directly using the jdbc API. This method opens its connection with the autocommit attribute set to true and makes an insert. This method was called from another method named method_A which has the transaction attribute set...
  14. hyperbug

    How to limit the memory used by a process?

    I would like to know if there is a way to set a limit for the amount of memory used by a process.
  15. hyperbug

    How to set a process umask?

    A process owned by root is started in the /etc/rc3.d directory. But when it starts to run is owned by the bin user. The bin user doesn't have a shell in the passwd file. The process creates files with permisions 0640. In the /etc/profile is the umask 022 command. I would like the process...
  16. hyperbug

    Can install mod_ssl to a server which was not compiled with it?

    I have an apche server installed an running. I'd like to add to it some secure virtual hosts, but this pache was not compiled with mod_ssl. Is it possible to become it a secure server?
  17. hyperbug

    apache + mod_ssl + openssl problem

    Is it posible to install mod_ssl to an apache server which was not compiled with that module?
  18. hyperbug

    Are there functions to HTML encode or decode strings

    That is not what I am asking. Those methods works for URL encoding not HTML encoding.
  19. hyperbug

    Are there functions to HTML encode or decode strings

    I didn't find a function to replace strings like: &quot;&amp;aacute; b &amp;eacute; ...&quot; to &quot;á b é&quot; and vice versa
  20. hyperbug

    How to delete relating two tables?

    I tried the following: delete empopattribute from employeropening, empopattribute where employeropening.employerOpeningId = empopattribute.employerOpeningId

Part and Inventory Search

Back
Top