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

    web.xml <welcome-file> tag

    How does this tag work on run-time? Does it automaticaly redirect to the file specified if you only type the domain name? I'm asking cause for me it seem to do nothing. Also, can I put a servlet name in there instead of a JSP or HTML file? http://www.wolfmahheaven.net
  2. wolfmah

    Cookie lost in RequestDispatcher

    I am trying to set cookies in a controller servlet before dispatching to a JSP file, but the cookies are not set in the JSP file. Servlet Cookie cookie= new Cookie("userName", "wolfmah"); cookie.setMaxAge(60*60*24*7*1)...
  3. wolfmah

    MySQL and CHECK

    Is it possible in MySQL to put a CHECK in your CREATE TABLE sentence? I have try this below but it doesn't work at all. CREATE TABLE test( id TINYINT UNSIGNED NOT NULL , PRIMARY KEY ( id ) , UNIQUE UC_id( id ) , CHECK ( id > 33 ) ); http://www.wolfmahheaven.net
  4. wolfmah

    Including non existing Font

    Is there a way to include font (a font that is mostly non existing on a user station) directly into a project .exe without having to make an installation? My application is pretty small and I don't want to bulk it with an installation thing for simply a font, but if there is a way, it would be a...
  5. wolfmah

    Button and icon prob

    BTW, I'm not making an applet but I have found my answer in your applet snippit. The only way I can make the icon appear whit a relative path is by using getClass().getResource("oval.gif"). I found this strange but anyway, thanks for your help, it's working now. :D...
  6. wolfmah

    Button and icon prob

    Yeah, when I type the full path it works, but this is not very portable from a comp to another since the path will never be the same. Is there anything I could do to make it more versatile? http://www.wolfmahheaven.net
  7. wolfmah

    Button and icon prob

    I want to add an icon to a button but I got a problem, the following code doesn't work and I don't know why: JToggleButton button = new JToggleButton( new ImageIcon( "images/oval.gif" ) ); My button is showing up, it does what I told it to do but the image is not showing up! The...
  8. wolfmah

    ?? HBITMAP ??

    Thanks, this work great but I can't seem to make the picture appear on the Dialog Box "startup". The picture only appear once you have click one time on the combo box. I have try the UpdataData(FALSE); but it didn't help.
  9. wolfmah

    query string

    I'm using PHP 4.2.1 and MySQL 3.23.39 for WinXP. My problem is that I can't seem to be able to pass a value through the URL. I tried to catch the variable with this : $id= HTTP_GET_VARS['id']; I also tried without but it always give me a notice. The SQL query I'm using : $query= "SELECT *...
  10. wolfmah

    ?? HBITMAP ??

    Here my problem, I got a picture control in one of my dialog box and I want to change a bitmap picture in it when the user select one of the option found in a combo box near by. I have set a variable link to the picture control (CStatic) and I know that there is a member function to set a...
  11. wolfmah

    HTML...

    or you try the easy way an type this : <form action=&quot;mailto:something@domainName.com&quot;>
  12. wolfmah

    images act like buttons

    Hi there! I wrote down something that make images act like buttons and it work pretty well except for one thing. I can't seem to be able to specify a specific path for images so I'm force to put them in the same place as the htm file. I want to know if it's possible to determine a relative path...
  13. wolfmah

    alert box &quot;undefined&quot;

    DUH! I still need a few things to learn. Thank, it work perfectly now.
  14. wolfmah

    alert box &quot;undefined&quot;

    Hi there! I was typing some lines of code to tell the visitor of my site what is the resolution of his screen, so he could change it or not to the one I'm using for my web site. Here the sample : <script language=&quot;JavaScript&quot;> <!-- var width=screen.availWidth; var...
  15. wolfmah

    onMouseOver=&quot;window.status=.......

    Thanks everyone, but there is still one more thing that I'd like to know. Does a chart for the event.keyCode exist somewhere on the net? I mean that it will tell that the code 78 is for Ctrl+N and so on. It would be great if it does. See ya! wolfmah
  16. wolfmah

    onMouseOver=&quot;window.status=.......

    Thank a lot! This will help me. :-D I still want to know if it's possible to apply a status bar name to all my hyperlink on my web page whit only one JS file, but...oh well.... Ho yeah, I got one more question that may sound similar. Is there a trick, like the one seen above (this.innerHTML)...
  17. wolfmah

    onMouseOver=&quot;window.status=.......

    Hi there! onMouseOver=&quot;window.status='SOMETHING';return true&quot; Everybody know this line of code. But my question is : is it possible to make the SOMETHING into a function that will automaticaly show my hyperlink name instead of always re-naming my hyperlink in this part. And also...

Part and Inventory Search

Back
Top