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 bkrike 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: dognobbler
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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 =...
  7. 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...
  8. 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")...
  9. 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...
  10. dognobbler

    question about context

    I have just added a new content to my server.xml <Context path=&quot;/test&quot; docBase=&quot;test&quot; debug=&quot;0&quot;/> what I want to know is - is there a way of making it so that I do not have to restart tomcat every time I make a change to a servlet or javabean. Andy
  11. dognobbler

    local links from JSP

    I have a servlet doLogin which forwards to a JSP using the following code RequestDispatcher rd2 = request.getRequestDispatcher( &quot;/matchScore2.jsp&quot; ); rd2.forward( request, response ); The location of the servlet is webapps/UK/WEB-INF/classes/doLogin and the location of the JPS is...
  12. dognobbler

    mail.jar and activation.jar problem

    Hello there, I have been following a tutorial explaining how send emails using JSPS and JavaMail. Unfortuneately for me I couldn't get it to work and when I mailed the author I didn't get a reply so I thought I would try here. The tutorial is located here...
  13. dognobbler

    Newbie question - how do I add a user

    Hello All, sorry for asking a newbie question. I have checked the MySQL manual but I just find it terribly confusing. I have just installed MySQL and what I would like to do is add a user that has all permissions on all database. At the moment I am logging in by going to directory mysql/bin...
  14. dognobbler

    problem with custom tags

    Under directory /webapps/examples I have created a custom tag, a TLD file (examples/WEB-INF/exampleTags.tld) and have amended my web.xml file using. <taglib> <taglib-uri> http://www.popmate.co.uk/taglib </taglib-uri> <taglib-location>...
  15. dognobbler

    deploying my application with domain name

    Currently I have a domain name pointing to my server. I also have my application deployed in the folder webapps/test/project I can view my application at the URL http://www.mydomain.com/test/project However if I alter the server.xml with the following <Context path=&quot;&quot...
  16. dognobbler

    can anyone recommend a stats package

    I am running Tomcat 4 on XP and was hoping someone could recommend a stats package that I can use to analyse the log files. Thanks. Andy
  17. dognobbler

    I want tomcat running on 80 not 8080

    I want tomcat running on 80 not 8080, can anyone one tell me what I need to do to achieve this. Thanks. Andy
  18. dognobbler

    configuring domain name to point to tomcat server

    I have a tomcat server running on my home pc, which is running on a static IP and so is visible on the internet. I have a domain name which I would like to configure to point to a particular application running on tomcat. I am able to point configure my domain name to point to the IP address...
  19. dognobbler

    Want to add file upload functionality to application

    I have a application running on tomcat that I wish to add a file upload functionality to. I have done some research but am having difficulty finding a method that I can understand. I am a beginner and I have looked at the O Reilly Cos class offered here http://www.servlets.com/cos/index.html...
  20. dognobbler

    problem using default /examples/SendMailServlet

    I have installed Tomcat 4.1.24 and am trying to create a form email. I tested the default SendMailServlet that comes with the server (which is located here /examples/SendMailServlet) and it worked fine. So what I wanted to do was to edit that servlet to make a few superficial (ie HTML )...

Part and Inventory Search

Back
Top