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

    sql query

    2 things... you need to make sure that you are not passing the string 'gp' instead of the value of gp. And normally sql statements require 's around string values. String query = "select * from " + tablename + " where " + field + "='" + gp + "'"; This is...
  2. gerald

    Setting up Virtual Ftp sites

    It depends on what ftp server you are running. For virtual hosting of FTP I would recommend getting proftd http://www.proftpd.org You can add virtual hosts to the proftpd.conf file pretty much the same way you add them to httpd.conf. In order to restrict them to the starting directory you...
  3. gerald

    Java Development Software System Requirements

    Hmmm I'm not sure of the actual resource usage, but I use JBuilder alot. I have never tried VAJ so I can't really compare the two. JBuilder was what I tried first and it suited me perfectly so I didn't have to really try anything else. :) The reason I like it is because it compiles really...
  4. gerald

    http://myClient.mySite.com

    This is going to be a DNS and web server issue mostly You will need to have a wildcard subdomain (*.myClient.com) in your DNS configuration. And you will need to add a name-based virtual host to your web server configuration for each client.(I'm assuming you don't want to give them a new IP for...
  5. gerald

    about methods...

    Sure there is :) http://java.sun.com/j2se/1.3/docs/api/index.html Regards, Gerald
  6. gerald

    Apache with ASP. Is it possible?

    I am not real familiar with all of the aspects of PHP, although I have previously used it for creating small web applications. It is very fast and effective for small database driven sites, but I dont find it to be a real solution for large scale applications. The sites you listed dont appear...
  7. gerald

    Forcing browser download prompt

    Hmmm that is very strange. HttpServletResponse.addHeader( String, String ) is a standard J2EE method. Maybe you can try setHeader instead: response.setHeader("content-disposition", "attachment; filename=whatever.xls"); This ia actually better because if there was already...
  8. gerald

    script intended for multiple systems....

    the #! shebang has no meaning on Win32 platform. The only way to tell your script where perl is located is to associate the .pl extension with your perl interpreter. Or call it directly from the perl interpreter like this: C:\> perl myscript.pl The other option is to use the pl2bat utility...
  9. gerald

    Win2k server/blue screen of rebooting death?!?

    :) hi there I have a computer that is running Windows 2000 Server. It is actually serving no better purpose than a very expensive work station. heh. It turned out that it was not what I was looking for in server software, opting instead for linux/apache/tomcat. However, I like the way...
  10. gerald

    Apache with ASP. Is it possible?

    If you are currently using ASP and want to start programming on the Linux platform, I would recommend looking into Java Server Pages. It is very similar to ASP, including many of the default objects such as request and response. However it is much more powerful than using VBScript with ASP...
  11. gerald

    Forcing browser download prompt

    Try this: response.addHeader("content-disposition", "attachment; filename=whatever.xls");
  12. gerald

    Error when accessing a Bean from a JSP(URGENT!!!)

    Have you tried instead of: <jsp:useBean id=&quot;user&quot; class=&quot;myBean.UserData&quot; scope=&quot;session&quot;/> use just <jsp:useBean id=&quot;user&quot; class=&quot;UserData&quot; scope=&quot;session&quot;/> without the package name? Also, try adding a...
  13. gerald

    VisualAge bug??

    Im not familiar with Visual Age, but is the Select1 bean getting the information from the ResultSet for you, or does it return the ResultSet to you and you pull the information out yourself? Basically what it sounds like is happening is all of the columns are being taken out with the method...
  14. gerald

    FOCUS

    Try this: textfield.requestFocus();
  15. gerald

    Help, calculating remaing days in year

    The Calendar class is pretty good for this: Calendar date = Calendar.getInstance(); ^^^ this line sets date with the current date and time int dayofyear = date.get( Calendar.DAY_OF_YEAR ); ^^^ this will give you the number of days that have already past in the current year date.set(...
  16. gerald

    TextArea

    Hi. I believe you can do what you want by setting your TextArea as not being editable. Whereas it will show you the text that is already there, but the user cannot type in it, and the scrollbars still function. Any class derived from TextComponent should have this functionality...
  17. gerald

    Applet works in Netscape not in MS Internet Explorer

    Hmm. Ive never used those programs but theres 1 thing you might check. I use JBuilder and they include some of their own user interface classes that you can use to build applets with, and they will work fine using JBuilder to execute them but they will not come up on the browser unless you add...
  18. gerald

    Threads - Help???

    Where are you having problems? Are you unsure about how to use threads? Will need to be more specific, that is a fairly broad problem there and obviously an assignment of some kind.
  19. gerald

    Carry a JSP session variable to an applet?

    Well I knew how to pass the session ID, I just dont know how to actually grab the session attributes from a non-JSP/servlet context. I think somehow I need to have my chat server interact with the web container somehow. In the meantime I have a little workaround that works fine. What I do is...
  20. gerald

    diference between using custom tag and beans

    The basic theory behind the custom tags is that ideally you would have a web designer create your .jsp pages. Since most web designers dont know java, it is beneficial to use custom tags instead of putting java code inline because the web designer is more likely to understand a custom tag than a...

Part and Inventory Search

Back
Top