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...
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...
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...
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...
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...
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 =...
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...
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")...
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...
I have just added a new content to my server.xml
<Context path="/test" docBase="test" debug="0"/>
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
I have a servlet doLogin which forwards to a JSP using the following code
RequestDispatcher rd2 = request.getRequestDispatcher( "/matchScore2.jsp" );
rd2.forward( request, response );
The location of the servlet is
webapps/UK/WEB-INF/classes/doLogin
and the location of the JPS is...
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...
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...
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>...
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=""...
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...
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...
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 )...
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.