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...
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...
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...
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...
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...
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...
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...
:) 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...
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...
Have you tried instead of:
<jsp:useBean id="user" class="myBean.UserData" scope="session"/>
use just
<jsp:useBean id="user" class="UserData" scope="session"/>
without the package name?
Also, try adding a...
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...
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(...
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...
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...
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.
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.