Hi there,
I am writing a web application that I deploy as a war but would like to put in functionality in a servlet to read and write to a text file. I am able to do this easy from a stand alone java app but am not sure where to put these text files in the war?? Or how to read...
hi there,
i'm trying to use windows update from on the college network and i get this message
[Error number: 0x8DDD0004]
Windows Update has encountered an error and cannot display the requested page. Try refreshing the page, clearing your Internet Explorer Temporary Internet Files...
hey guys,
sorry for replying so late and thanks for the help. That fixed the background color but there is a white stripe accros the to top of the banner- I think this is from the container. I want the banner to sit on the top of the container. My Html is
<!DOCTYPE html PUBLIC...
Here is a style sheet i'm using with ie6, the problem is with the banner. I cant seem to get it to display the colour properly... any hints?
body
{
margin: 0;
padding: 0;
color: #000;
background-color: #ddd;
}
#container
{
margin: 1em 5%;
background-color: #FFF;
border: 1px solid #333;
}...
hi all,
i was wondering as how to use the ant deploy or install task with the config attribute specified. If i package a web app with a confuration file in WEB-INF then do i just have to specify the war attribute or will tomcat pick up the configuration file itself when it unpackages the...
Hi,
i'm implementing the model-view-controller model and am trying to get my controller servlet to display a default login jsp page on startup, i'm doing this by placing a call to this page in the servlets service() method, from this page which displays a simple form i call the servlets...
Thanks for your reply,
i presume the port that tomcat uses for internal services are defined in conf/server.xml. I checked all the ports defined there and seen there are no services running on these either.
Hi,
i am having trouble running my servlet on tomcat, baisically i get this error in my catalina.out log and cannot figure what went wrong;
Stopping service Tomcat-Standalone
Stopping service Tomcat-Apache
ption: Address already in use
LifecycleException: null.open: java.net.BindException...
These are error messages i got from eventvwr.msc. I'm
running xp pro and my computer freezes after logon, and
sometimes during it. I turned off all progs at startup
from msconfig. I think its something to do with services
trying to startup so i put most of them to automatic in
services.msc...
Its allright folks, no need to rush with suggestions [:-), i put %catalina_home%\common\lib\servlet-api.jar onto the classpath and i managed to compile me servlet.. now i've got to deploy it and test it in the browser, wish me luck.
No there's no j2ee.jar and no servlet.jar in %CATALINA_HOME%\common\lib; the nearest thing here is servlet-api.jar. This is the output i get when i try to compile HelloServlet.java;
import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class HelloServlet extends...
Sorry, i cant compile servlets or jsps. I have tomcat5.0 installed am using j2sdk but i get errors like javax.servlet does not exist. I cannot find servlet.jar in my tomcat installation; i read it was in %catalina_home%in tomcat4.x. What i'm asking is what do i need to compile a servlet? How do...
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.