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 derfloh 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. greedyzebra

    Reflection/Class Loader question

    Hi, I'll try to simplify this problem as much as possible. I have a program that uses multiple jar files. We'll call two of them 1.jar and 2.jar. 1.jar has objects w,x,y and z. 2.jar has objects y and z. At runtime the user will decide whether to execute with 1.jar or 2.jar. I compile my...
  2. greedyzebra

    XSL: Accessing XML object attributes

    It's simple enough to obtain the value contained within an xml tag: <xsl:value-of select="NodeNameToGetTheValueFrom"> My question is how do I access and obtain the value of a tag's attribute. For instance: <!ELEMENT widget (#PCDATA)> <!ATTLIST widget MyAttribute CDATA #REQUIRED> How can...
  3. greedyzebra

    XSL question

    I'm wanting to turn an xml document into a form page and am wondering how I can apply a default value to a text input field. Here's how I would do this in HTML: <input type="text" value="My Default Value"> When displayed in a browser, a text input field would appear with "My Default Value" as...
  4. greedyzebra

    Your recommendation needed, please!

    Hi, I'm working on a project where an XML file is being used to transfer data from one application to another. We want to have an empty template for this file that users can edit (populate the data). However, we don't want the users editing the xml. Can anyone recommend an editor that...
  5. greedyzebra

    Need some cookie help, please

    My problem boils down to this. Why do I have a cookie that exists on only one page? Here are the details: 1) We start at the index page. onload we perform a function called "sniff" that creates a cookie that stores some environmental data (screen size, browser type). This has always created...
  6. greedyzebra

    Need cookie help (before I have a stroke!)

    I'm creating two cookies on my web site. One is created on the index page (presumably the entry point, but the javascript function that does this is called "onload" on every page). The other is very specific and is created and added to based on user selections on another page. On entry into...
  7. greedyzebra

    Need help creating a module

    Hi, I'm wanting to do something that seems as though it should be very simple, but a couple of hours on google and reading through several Perl books has not yielded an answer. I've created a module. The functions (subs) in it are readily accessible, but variables I intend to be global...
  8. greedyzebra

    ImageMagick, EXIF, Image::Info and comments

    I'm wanting to extract comments from photos. If I write the comments with ImageMagick, I can read them with ImageMagick, but they can't be seen in the tool tip resulting from a mouseover (in Windows) or in the info pane when selecting the file (also in Windows). However, if I create comment by...
  9. greedyzebra

    how can I get a list of a directory's subdirectories?

    Though it seems easy to get all of the files within a subdirectory, the name of the directory is important for what I want to do and I would like to get a list of subdirectories and then operate on them (and the files they each contain) individually. Any ideas? Thanks.
  10. greedyzebra

    Set &quot;onclick&quot; attribute of dynamic button

    Hi, I'm dynamically creating a button with the following code: var commentButton = document.createElement(&quot;input&quot;); commentButton.type = &quot;button&quot;; And I wish to have the button do something when it is clicked (as you would with most buttons). How can I do this...
  11. greedyzebra

    Accessing table cell w/o an ID

    In the following code: <html> <head> <style type=&quot;text/css&quot;> .hideMe {display : none} </style> </head> <body> <table border=&quot;0&quot; width=&quot;60%&quot; id=&quot;theTable&quot;> <tr> <td width=&quot;50%&quot;><input type=&quot;button&quot; value=&quot;Click Here&quot...
  12. greedyzebra

    Problem disabling a form field

    On my form I have two checkboxes, one with the value &quot;yes&quot; the other with the value &quot;no.&quot; When one is clicked I want to disable both checkboxes. As is normally the case, the code to achieve this works perfectly in IE but it's too much for poor Netscape. What happens is...
  13. greedyzebra

    Passing functions as parameters?

    Hi, I know that in JavaScript you can assign reference to a function and access it's members like any other object, but can this be done with Java? And if so, what would be its functionality? My situation is this: I'm wanting a function that will call multiple functions. The issue is how to...
  14. greedyzebra

    Using Net::smtp

    Hi, I'm trying to find a method to be able to send mail using a script on Windows. I'm able to connect to my domain's smtp server, but it requires authorization. After a couple of hours searching (to no avail) to find an example of how to provide a username and password after connecting to...
  15. greedyzebra

    Basic CGI/web server question (I believe)

    Are the scripts/apps located in the cgi-bin directory the only processes that are threaded by the web server? The reason I ask: My cgi-bin application is going to be using an application that exists on the web server (but is not publicly accessable). Since there could be multiple users using...
  16. greedyzebra

    Please help! Form handling question specific to IIS 5.0

    Sorry for what is probably a stupid question, but I cannot seem to get an answer for it anywhere! What needs to be done on IIS 5.0 to allow a CGI application to accept form data sent with the POST method? Can it even be done? TIA, Tom
  17. greedyzebra

    Problem getting POST info through stdin with CGI

    Why can I not receive POSTed form results via stdin? The program just hangs. I've posted this to the CGI and C++ (the language being used) forums and the suggestion was that it was an IIS problem, which I'm very inclined to believe since code to simply accept from stdin and echo it back is...
  18. greedyzebra

    Problem getting POST info through stdin using C++

    Why can I not receive POSTed form results via stdin? The first line of my C++ program is: cin >> buffer; The program just hangs. I've also used fgets(buffer, 255, stdin);, but have the same result. Also, I'm new to CGI and in all of the reference materials I've recently consulted tell me...
  19. greedyzebra

    Problem getting POST info through stdin using C++

    Why can I not receive POSTed form results via stdin? The first line of my C++ program is: cin >> buffer; The program just hangs. I've also used fgets(buffer, 255, stdin);, but have the same result. Also, I'm new to CGI and in all of the reference materials I've recently consulted tell me...

Part and Inventory Search

Back
Top