I downloaded apache-tomcat-6.0.16 and ran the startup.bat. I could see the
page display at http://localhost:8080/
Later, I configured the same in eclipse 3.4 and started the tomcat using
eclipse.Eclipse started the tomcat with no exception.
However, when I go to the page at http://localhost:8080/
> is there an tomcat (5.5x) variable which gives back the context name such
> as webappRoot returns the path to the webapp!?
> I plan to use this to specify an logfile such as
> log4j.appender.logfile.File=${log.dir}/${contextnamevariable}_test.log
I'am using ServletContext.getContextPath() insid
Some comments (and answers to Christopher and Rusty) on PostgreSQL:
In 2004 our team decided to use PostgreSQL instead of the well-known
MySQL (current version 4). The main reasons where
- real referential integrity
- real transactions
- support for UTF-8 enoding
- better compliance with the SQL
Hello,
you can use the Sevlet API. First call invalidate() on the actual
HttpSession instance and then getSession(true) on the request object
(HttpServletRequest) to start a new session.
Nicolas Romantzoff schrieb:
> Thats a problem in your server code...
>
> Session is binded to a connection (b
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
## see PatternLayout
## %d{ISO8601} = -MM-dd HH:mm:ss,SSS
## %d{ABSOLUTE} = HH:mm:ss,SSS
## %-5p = level, left aligned, minimum 5 characters
## %c{1} = last part of the name of the logger
## %m = message
## %n = newline (platform dep
Is it possible to use Icefaces and Tomahawk together?
Thank you
Ingmar
Praful Sinha schrieb:
Icefaces provides you a functionality of ajax embedded in it.
But Myfaces did not.
You can also you tomahawk for more enhanced tag lib.
Any trouble can contact me on [EMAIL PROTECTED]
Praful Sinha.
I forgot to change line 113:
old version
Object[][] contents = resources.toArray(new Object[0][0]);
new version
Object[][] contents = resources.toArray(emptyObjectArray);
Ingmar
-
To start a new topic, e-mail: users@tomcat.apac
You also can use ResourceBundle (if you need only Strings) or
ListResourceBundle.
1. ResourceBundle
Save your configuration in com.x.y.z.MyConfig.properties (or in the
default package)
In your Java class type
ResourceBundle bundle = ResourceBundle.getBundle("com.x.y.z.MyConfig");
(= ResourceBund