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

  • Users: JavaDude32
  • Order by date
  1. JavaDude32

    Viewing Source

    Thank you, document.body.innerHTML was what I needed. I understand that I can't show the server side points but this will work for the client side modifications :).
  2. JavaDude32

    Viewing Source

    Well I'm debugging a page and I would like to look at the result of the javascript functions in the page. This includes source changes and modification of HTML through javascript. Plain View Source doesn't cut it as it is only showing me the result of the page after the server side script but...
  3. JavaDude32

    Kill after x number of refreshes??

    Client side script or server side script? As client side this will likely not work unless you set a cookie with a counter in it for the refreshes as variables will be reset on reload. Server side you should append a querystring variable to the url like: mypage.asp?counter=0...
  4. JavaDude32

    Can I set Session Variable from Javascript

    Sessions are assigned unique ids per user, so you need to have the user keep track of their session id somehow. You could do this with a form variable or a cookie. Else you can't tell what data is associated with what user. You could make good use of form variables to keep from having to have...
  5. JavaDude32

    reload specific frame from another

    frames have names so why don't you create a function to look through the parents recursively for a frame with the same name and then call reload() on that frame?
  6. JavaDude32

    why do we require start and run method in threads

    Thread.run() doesn't actually server the new thread from the current thread like Thread.start() does, right?
  7. JavaDude32

    create a vector to store more then one username and

    At creation time, fill the Vector with usernames and passwords. Then you want to check it against the Vector. Vector a = new Vector(); User u = new User("admin","111"); a.add(u); ... User b = new User(); b.setName(Text1.getText()); b.setPw(Text3.getText()); for(int k = 0; k < a.size(); a++)...
  8. JavaDude32

    String to Executable Code

    Well unless you find a scripting language that will let you execute code just like that, you might just want to do a google search for code that deals with Expression Trees.
  9. JavaDude32

    JAR issue

    Yeah I noticed that later, aye stupid mistakes. *shrugs* Thanks though :). I'll give you a star as I could see others getting confused by the same.
  10. JavaDude32

    JAR issue

    Extra note, I noticed I didn't have the code set up into packages but that shouldn't cause the output I saw should it?
  11. JavaDude32

    JScrollPane positioning and Vertical ScrollBar

    You could create a JScrollBar object, set its properties and then add it to the JScrollPane using: JScrollPane.setHorizontalScrollBar(<name of object>); ?
  12. JavaDude32

    JAR issue

    Hello, I seem to have a complex problem, did a google search, didn't find too much. I'm trying to make a Jar file like so: jar cv0 ZipFlex.jar * I've also tried jar -cv0 ZipFlex.jar * and jar -cv0 ZipFlex.jar *.class This is entered into a terminal (Gnome and Xterm) on Debian with the...
  13. JavaDude32

    File System Problems (CDROM & Floppy)

    Well fixed the problem, thanks for the tips. The floppy was blank, aye. I found out you can't mount a music cd and my problem with not being able to use the cdplayer was that I had to add my user account to the disk group where /dev/cdrom belongs to, as it was really a permissions problem...
  14. JavaDude32

    File System Problems (CDROM & Floppy)

    I have Debian Sarge installed....I think 3.0 Anyways, after doing a net installation using the minimal boot up cd on my compaq presario laptop, I can't mount my cdrom or floppy drives. I have tried it with a random floppy disk and it tells me that the file system is unrecognizable or something...
  15. JavaDude32

    C port programming

    Yeah, I agree with the front end. You can use PipeStreams in Java to communicate with processes so you could write a C program to handle the sockets (however, you have to mess with different socket codes unless libpcap handles independent of platform) and have the java program execute it. The...
  16. JavaDude32

    Chat applet made, what port do I use?????

    I'm not really clear on this, but try this: Look up Public and Private Keys and Certificates on Google. You'll need a Certifying Authority who will provide you with a certificate of Identity and a key that you can use keysigner or jarsigner (something like that) to sign the jar file with your...
  17. JavaDude32

    Chat applet made, what port do I use?????

    Alright, an applet is like an embedded application put into a web document. A servlet generates an html page and works on the server side to generate content. A server is pretty much a standalone product that waits for and accepts connections. If you mean when you run it on your computer from...
  18. JavaDude32

    Cookie Detection

    I realized I could try that, however, an issue is the internal browser cookie limit that is already reached by the website. I don't really want a dummy cookie replacing necessary information that can't really be reset. All the cookies used are written using server side scripts. So I was...
  19. JavaDude32

    Using Windows Environment Variables in Java

    I thought System.getProperty() (or something like that) worked in general for Environment Variables as the JVM is still compiled for each platform??
  20. JavaDude32

    Cookie Detection

    Alright, I have a script so far and I tested it in Mozilla and it seems to work, but no such luck in IE. The idea is to determine if the user has cookies enabled. If the user doesn't have at least cookies enabled for first-party cookies or cookies from the originating site, it redirects them...

Part and Inventory Search

Back
Top