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 SkipVought 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. dognobbler

    JSP wanted to redirect and product pop up

    I do not know javascript, could you tell me the code I need to use. Thanks Andy
  2. dognobbler

    JSP wanted to redirect and product pop up

    On the following page http://www.broadbandbasics.co.uk/test2.jsp?URL=http://tracker.tradedoubler.com/click?p=1103&a=991748&g=6427 I want the browser to be forwarded to the URL begining http://tracker and to pop up another window containing the URL - http://www.javascriptkit.com The code I am...
  3. dognobbler

    problem with javac and http

    Thanks I did that and it worked. However now I get the following errors even though my MyBeans does exist in the webapp. Any ideas why it cannot import MyBeans? C:\tomcat\webapps\www.popmates.com\WEB-INF\classes>javac profilePost.java profilePost.java:11: package MyBeans does not exist import...
  4. dognobbler

    problem with javac and http

    Hi Sedj, thanks for the help but I tried that and it didn't make any difference. Andy
  5. dognobbler

    problem with javac and http

    OK I have checked and I do have a file called servlet.jar in directory TOMCAT_HOME/common/lib but I am still not able to javac. Can you think of a reason why javac cannot seem to find this file when I run it. Could this be something to do with setting the environment variables for tomcat and...
  6. dognobbler

    problem with javac and http

    I recently had to reformat my hard drive and I am trying to rebuild an application. I had the actuall webapps part of the application backed up but not the rest of tomcat. So I have download tomcat and installed tomcat and copied across the webapp. Now when I try to javac one of my servlets I...
  7. dognobbler

    help needed with query

    I have the following table which stores entries "content" submitted by users "submitname" about celebrities "celebname" CREATE TABLE submit ( id int(10) NOT NULL auto_increment, celebname varchar(50) default NULL, content varchar(255) default NULL, date_modified timestamp(10) NOT NULL...
  8. dognobbler

    What is the smallest size pop up window you can have

    I know that there is way to do this because I have actually seen tiny pop up windows which do not have the minimize, maximize and close buttons. Does anyone know how to open a window without those buttons? Andy
  9. dognobbler

    What is the smallest size pop up window you can have

    I am trying to create a 1 by 1 pixel pup up window, however the smallest I seem to be able to get the window is about 100 * 100. The reason for this seems to be because of the window minimize, maximize and close buttons. So my question is - is is possible to get rid of the bar containing the...
  10. dognobbler

    how to find max value of query using group by

    When I run the following query select count( username) as count, username from friends where status="validated" group by username order by count; it gives me a list of each username in the and how many times it appears in the friends table Can anyone tell me how to rewrite this query so...
  11. dognobbler

    Question about indexes

    I am new to using indexes and need a little help. I want to create a index to help the following statement run faster, can anyone suggest which would be the best index to create select * from profile, album, movie, book, contact where profile.album = album.albumid and profile.movie =...
  12. dognobbler

    After using Tomcat for 9 months is suddenly decides not to start

    I have been running tomcat on windows xp for 9 months now with no problems. Today I was working with tomcat when my computer crashed. When I restarted my computer and then tryed to restart tomcat it would not work. Each time I start it from the command line it tries to start and after a few...
  13. dognobbler

    sporadic error reading file

    When I put fr2.flush(); I get the following error inviteMailServlet3.java:128: cannot resolve symbol symbol : method flush () location: class java.io.FileReader fr2.flush(); ^ Can you tell me what I have done wrong? Andy
  14. dognobbler

    sporadic error reading file

    lovely jubbly. Thanks for the help Byam. Andy
  15. dognobbler

    sporadic error reading file

    Hi Byam, thanks for the suggestions. Here is an example of my filereading code fr2 = new FileReader("/home/popmate/webapps/uk2/jsp/inviteMailMember1.txt"); while( ( ch2 = fr2.read() ) != -1 ) { sbContent.append( (char) ch2 ); } I have not closed the file. Could you please tell...
  16. dognobbler

    sporadic error reading file

    Thanks for the suggestion. But if it was a concurrency issue, why would it be resolved by restarting the server. Would there still be just as many people trying to access the file concurrently? Andy
  17. dognobbler

    sporadic error reading file

    My site has a number of servlets that send emails out ( ie. when a user registers for an account). The text of the email is held in a text file which the servlets opens and reads using the following line: FileReader fr4 = new FileReader("../webapps/uk2/jsp/contactMail1.txt")...
  18. dognobbler

    Newbie Q - How do you copy data from one table to another

    I have two tables "profile" and "photovote" both of which have a column named "username". I want to copy the value of "username" from "profile" to "photovote" (which is currently empty. I have tried doing insert into photovote...

Part and Inventory Search

Back
Top