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. dexter195

    Strange SQL Exception

    Has anyone ever gotten this SQL Exception in Sybase IQ? java.sql.SQLException: Cannot get data from database for table : emp I've done a lot of searching on google but I've found nothing. Is this a probelem with a lock on a table? It seems to be connected to the database. Thanks for the help
  2. dexter195

    DB Unit

    Cheers Stefan, Cant believe I didnt spot that.
  3. dexter195

    DB Unit

    Hi, Can anyone see whats wrong with this. Im using DB Unit with HSQL Memory based database but I'm having trouble trying to get it to recognise the driver. I have used this driver with another class to connect to the database, run queries etc and it works fine and its the same as in examples...
  4. dexter195

    quick regex question

    Thats great, that does the trick. Thanks again for the help Dexter
  5. dexter195

    quick regex question

    Hi, Thanks for the help. here's exactly what im doing and sorry for not mentioning i was using ant, i presumed it would be just a regex issue. a directory path for each module will be passed into an ant loop. e.g. distribution/maintance/java/source/nameOfModule there are no forward slashes...
  6. dexter195

    quick regex question

    Hi Thanks for the replies. I'm actually using this in an ANT script that uses a regex tag. Normally i would use the substring if i was using java but im restricted to using the regex. i think i should be able to get around this by just using the full path where thats needed. not pretty but it...
  7. dexter195

    quick regex question

    Hi, Im trying to use a regex to get just the name of the directory path folder from a string. I can get the build part on its own using .*/ but is there a way to get just "distribution/maintance/java/source" with out the last forward slash. distribution/maintance/java/source/build I'm very...
  8. dexter195

    ANT Cobertura

    I figured out what i was missing. In the Cobertura report tag i needed to specify the .ser file i wanted to use, otherwise it creates the cobertura.ser and combines all the classes in the other .ser files and these end up in all the reports. <cobertura-report format="html"...
  9. dexter195

    ANT Cobertura

    Hi, I have a few different projects that i need to run code coverage on using cobertura. Im testing this on two projects at the moment. I have it so that there are different folders for each report but the problem is, the classes from both projects are appearing in both of the seperate reports...
  10. dexter195

    connecting 2 wirelss routers together

    thats great. thanks Trevor, ill give that a go. dexter
  11. dexter195

    connecting 2 wirelss routers together

    Hi, I have two wireless routers. I need to be able to connect the two of them together using the wireless only. I cant have any physical wires connecting them together (Which would make my life a lot easier) Is this possible at all? Thanks for the help
  12. dexter195

    Personalised Wiki Application

    Hi, does anyone know of any decent wikis out there that i could use. we need a wiki for work, that people can post tutorials, workarounds, scripts, faq's etc. im not concerend about how it looks, it its white background and black writing it makes no diff. ive tried using JSP wiki but you cant...
  13. dexter195

    Uploading files using different browsers

    Hi im uploading files onto a webserver. i have this working but ive run into some problems that i dont understand. i have to get it to work with the various browsers. i have a number of input fields enterd by the user and i have the file upload <INPUT> field in the same form. the form header...
  14. dexter195

    XML in HTML

    i presume you have the xml is in one continious string with no formatting and you want to show the xml in its tabbed form if so you would need to add HTML formatting tags before/after the relivant parts of the xml string. e.g. the first time you come accross a tag you put a break return at the...
  15. dexter195

    windows username (difference when run in java and jsp)

    Thanks for the help. Im gona have to resort to the usual username and password because after talking to the people who'll be using the site, they'll need to access the information from other peoples workstations so if i go this way they'll have no permissions when they're on other peoples pcs so...
  16. dexter195

    Writing to a specific line in a file

    Im trying the same thing out at the moment. with regards to the random access file how would i search for a specific line of text and insert after that line? ive looked at the various methods that exist for the random access file but cant seem to figure out how exactly you would use them for...
  17. dexter195

    windows username (difference when run in java and jsp)

    I can see your point but this is for an internal application within the company so i suppose a signed applet is probably the way to go. the reason i dont want a password based authentication is becasue i want as little maintance as possible. i dont want to have all the bother with people...
  18. dexter195

    windows username (difference when run in java and jsp)

    thats exactly what i want to do dian. i guess i should have copped that. ill have a look to see if some java script can do the job. cheers
  19. dexter195

    windows username (difference when run in java and jsp)

    thanks feherke, i wasnt aware of the servlet container had anything to do with authentication. i just used the servlet-api.jar %CATALINA_HOME%\common\lib\servlet-api.jar; i have that in my CLASSPATH environmnet variable. i presume that, that's started up with the tomcat service. or is this...
  20. dexter195

    windows username (difference when run in java and jsp)

    Hi, Im creating a small internal web application that will detect the user's username automatically to save them having to log in and out and also to restrict other people accessing the application. when i run the following code in java System.getProperty("user.name") it brings up the...

Part and Inventory Search

Back
Top