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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by tiz

  1. tiz

    Problems with XALAN under JRun 3.0

    They don't work in harmony - that is certainly true. I have since swapped to Resin (http://www.caucho.com) and Enhydra (http://www.enhydra.org). Tim -- Tim <tim@planetedge.co.uk>
  2. tiz

    Problems with XALAN under JRun 3.0

    Scott, You need to ensure you XSL/XML includes no other namespace declaration other than <xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; version=&quot;1.0&quot;> Tim -- Tim <tim@planetedge.co.uk>
  3. tiz

    How can i execute JavaScript Function from JSP For ... Loop

    Resin-Javascript maybe what you're looking for http://www.caucho.com Tiz -- Tim <tim@planetedge.co.uk>
  4. tiz

    How can i execute JavaScript Function from JSP For ... Loop

    You can't... anyone? -- Tim <tim@planetedge.co.uk>
  5. tiz

    Java servlet / JSP assistance needed!!

    response.sendRedirect(&quot;invalid.jsp&quot;); ? -- Tim <tim@planetedge.co.uk>
  6. tiz

    GD: Font Alignment

    Hi Guys, I'm using GD at the moment to try and create GIF file in which I need to be able to align the fonts used to left, right, center and justify. Is this possible GD? I can't seem to find any information about it in the O'Reilly book. If not, are there any other modules out there that...
  7. tiz

    Need an example for a JavaScript Function

    What errors do you get with using the <SCRIPT SRC=> tag? You can't use JavaScript to manipulate JSP variables, if that's what you're trying to do. Otherwise give us some more info on what the problem is - what's the function do? Source code? Error msg's? Thanks, Tim -- Tim <tim@planetedge.co.uk>
  8. tiz

    can't get function to work when fired by clicking on an image

    Try changing this.form.txtOther to document.form.txtOther? Tim -- Tim <tim@planetedge.co.uk>
  9. tiz

    Reading a dir

    Umm, try: $rec = $_; followed by chomp($rec); ... Tim -- Tim <tim@planetedge.co.uk>
  10. tiz

    Script Executing Itself?

    If your admin has installed it, just type 'crontab' :) Create an empty file called 'mycron' although it can be called anything. Inside the file you need to put some crontab configuration commands like the following: * * * * * /home/user/blah.sh Will run blah.sh every minute, on the minute...
  11. tiz

    Script Executing Itself?

    Hi, If you're running under Unix/Linux, use crontab to execute your script at specific intervals - 'man crontab' should give you the info you need. There is similar scheduling software under Windows but I don't think it's that reliable. Finally, you may not be able to specify which subroutine...
  12. tiz

    Please Help me with JSP!

    MrBabe: JSP files are compiled the first time they are accessed by the web server, and only again if the server is restarted or forces a refresh. So, you yourself don't have to compile the JSP as you would a servlet or Java file into a .class. What you need however is a Web server and a...
  13. tiz

    cast problem

    ..also check for NumberFormatException in case someone does myVar=xyz! Tim -- Tim <tim@planetedge.co.uk>
  14. tiz

    cast problem

    Try this Elise: import java.util.*; // Init an array String[] MyArray = new String[3]; // Add some data to the array MyArray[0] = &quot;Test&quot;; MyArray[1] = &quot;Blah&quot;; MyArray[2] = &quot;hah&quot;; // Cast n as (int)myVar int n =...
  15. tiz

    Assigning a value to a JSP variable from a Script

    Well, you can get the browser type by simply parsing the string 'ua' in the following example: <% String ua = request.getHeader(&quot;user-agent&quot;); out.println(ua); %> Based on whether 'ua' contains 'MSIE' or 'NAV' will tell you the browser type. I suggest you use <jsp:forward> or...

Part and Inventory Search

Back
Top