You need to submit a valid HTTP request. Yours doesn't have the version
at the end of the request line.
Try:
GET / HTTP/1.0
(Thats a two linefeeds: one marking the end of the request line and one
blank line indiating the end of the http headers)
You should then see the HTTP response,
And possibly a HttpSessionActivationListener object as a session
attibute. The sessionDidActivate() method on the object gets called if
the session is still valid when tomcat restarts. You can use this to fix
your state.
HTH,
Jon
Mark Thomas wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL
If what you are after is a way to filter messages then use a good email
client and filter on the message header List-Id. For this list it is
set to:
List-Id: Tomcat Users List tomcat-user.jakarta.apache.org
Seak, Teng-Fong wrote:
It would be nice if this mailing-list could add a header
Unless you have a directory ${TOP}/web/html/jsp/jsp your uribase/uriroot
probably aren't right.
[EMAIL PROTECTED] wrote:
Hi,
I am trying to get our JSPs to be precompiled as part of
our ant build process to catch all syntax errors at compile
time.
The problem I have run into is that we are
What Chuck says is right.
This approach has a few gotchas though, especially if ClassX is complex
and references many other objects loaded from the same (WebApp)
classloader. You can end up with a lot of classes up in the common
repository. -o
Make ClassX an interface, if you can. That way
Yep. It's a FAQ, but not in the FAQ.
Tomcat not quitting generally means your webapp has started a non-daemon
thread which does not exit when the webapp is destroyed. If so, shut
them down in a ServletContextListener.
If you aren't explicitly creating threads in your webapp then the usual
Return binary content from a servlet using the ServletOutputStream and
you should have no problem.
This is the way we vend MMS data. (In fact all of our binary data.)
HTH,
Jon
Alpay Ozturk wrote:
Thanks Kerem ,
But I need to set the content-type of a servlet response as
Of course, you could just call request.getRemoteAddr();
Tomcat is a Servlet Specification container. You don't get headers with
CGI naming conventions.
Check out the api documentation:
http://java.sun.com/j2ee/1.4/docs/api/index.html
It's the packages starting with javax.servlet that will be
Aye. It just states for that, amongst others, amphersand and semi-colon
are reserved characters within the query string.
This got me looking coz I assumed that the structure of the http get
query string was defined somewhere in rfc rather than just a convention.
I found a few resources
In a URL the semi-colon indicates the start of path parameters (as
opposed to the normal query parameters) as defined in rfc2616 (HTTP1.1
spec) et al.
Thus, you can't tell tomcat to use it as a query string delimiter.
JSESSIONID is a well known path parameter for Servlet 2.2+ Containers.
To
I'm not sure the whitespace in your directory structure came out right
so I'll make a few comments:
web.xml should be in myapp/WEB-INF
context.xml should be in myapp/META-INF (or rename it to myapp.xml and
move it to the webapps directory)
Your servlet class should be in a package. Have a
It doesn't like the agent_report_all_in_jsp classname.
I'm guessing that's supposed to be the name of the servlet class
generated from the jsp. Are you sure it's correct? If it is then you may
have to use a String argument instead of a class when calling the Logger
factory method.
Gary Zhu
with log4j statements -- Tomcat
5.5.9
I think Jon maybe onto something ... to use
agent_report_all_in_jsp.class your JSP would need to be called
agent_report_all_in.jsp
Is that the case?
Allistair/
-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED]
Sent: 12 August 2005 16
Works for me.
Show us the snippet of the jsp with the import statement...
Jon
Vernon wrote:
I have the jdom-1.0.jar in the application library
directory, that is WEB-INF/lib, where other jar files
are. The jar doesn't seem to be loaded. I get the
following error:
ERROR
in the content1.jsp file as
%@ page import='org.jdom.*' %
That doesn't make any difference.
--- Jon Wingfield [EMAIL PROTECTED] wrote:
Works for me.
Show us the snippet of the jsp with the import
statement...
Jon
Vernon wrote:
I have the jdom-1.0.jar in the application library
directory
I'm pretty sure Tomcat doesn't allow a session to migrate from a secure
(ssl) channel to an insecure one. It does allow the session to be
maintained in the other direction, however.
The rationale for this behaviour is that if the login is supposed to be
secure why allow the session cookie to be
The key info in the stracktrace is:
root cause
java.lang.NoClassDefFoundError: org/apache/xalan/templates/OutputProperties
at com.test.wmtool.gui.SessionHelper.saveState(Unknown Source)
The SessionHelper class uses Xalan classes that the webapp classloader
cannot find at runtime.
This
For Servlet 2.3 containers both the JSP and Servlet APIs are in
servlet.jar.
It's only later they were split out into servlet-api.jar and jsp-api.jar
Frank W. Zammetti wrote:
Hi all... does anyone know where I can grab a copy of the JSP 1.2 spec
JAR? I've checked iBiblio, they only have 2.0
Use a ServletContextListener, they were added to the Servlet 2.3 spec
for this very purpose.
You set up your object in the contextInitialized(...) method of your
implementation and tear it down in contextDestroyed(...). For it to be
used you need to add it to your web.xml.
The container is
http://wiki.apache.org/jakarta-tomcat/HowTo#head-45c3314139cb900ddd43dde2ff671532e6e844bc
HTH,
Jon
Maciej Stoszko wrote:
I have a class X which needs to load a .properties file.
Here is a code snippet:
ClassLoader cl = this.getClass().getClassLoader();
InputStream stream =
From one of Allistair's posts yesterday:
www.adcworks.com/blog
Mladen Turk wrote:
Allistair Crossley wrote:
Hi Chaps,
If anyone is interested, I blogged last night on my experience setting
up ...
It would be great if you provide a link to your blog :)
Regards,
Mladen.
Do you have a web.xml in WEB-INF?
What do the tomcat logs say on startup? You can tweak the logger
verbosity by increasing the debug attributes on elements within server.xml.
What version of tomcat? Not sure Logger elements are supported in 5.5.x
Jon
PS: books are generally out of date by the
I think that's expected behaviour: You can't set headers after the
response has been committed (more body data has been written to the
outputstream than the buffer size).
In the case of the 200 response code the call to
filterChain.doFilter(...) actually serves the content. Setting of the
It looks like your web.xml DOCTYPE definition is either missing or
incorrect. Digester is using a validating parser and so barfs.
Review your web.xml document(s).
Jon
Tewari,kuldeep wrote:
Hi,
I am getting following messages during tomcat 4.1 startup.
What could be the cause?
Jul 7, 2005
I agree; it does the job :)
There is an equivalent for IE:
http://www.blunck.info/iehttpheaders.html
Enjoy,
Jon
Woodchuck wrote:
GB Developer,
thanks so much for your suggestion, Live HTTP Headers is awesome!
and my hunch was correct. the problem is Tomcat 5.5 does not produce
any
log4j has an appender which can write to the Event Log
http://logging.apache.org/log4j/docs/api/index.html
http://jakarta.apache.org/tomcat/faq/logging.html
HTH,
Jon
Mark wrote:
Is it possible for only one context to log to the Windows Event Log?
What I want is for logs for the tomcat
to only place audits from one context in the Event
Log, not all of Tomcat's audits.
On 7/6/05, Jon Wingfield [EMAIL PROTECTED] wrote:
log4j has an appender which can write to the Event Log
http://logging.apache.org/log4j/docs/api/index.html
http://jakarta.apache.org/tomcat/faq/logging.html
HTH,
Jon
We've implemented our own realm. The step's are quite easy:
1) Implement your custom Realm, we subclassed RealmBase.
2) compile your Realm class with catalina.jar in the classpath
3) jar up your Realm class and any helper classes
4) deploy realm jar to server/lib
The only thing you really need
The jsessionid would have to be a path parameter not a url parameter
(append prefixed with a semi-colon rather than a question mark).
There was a thread last week called isRequestedSessionIdFromURL()
returns false which discussed what happens when the id is both in the
url and a cookie: the
.
-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED]
Sent: 24 June 2005 15:13
To: Tomcat Users List
Subject: Re: [OT] Sharing session with manual jsessionid
The jsessionid would have to be a path parameter not a url parameter
(append prefixed with a semi-colon rather than
+1 on dev matching uat and production environments as closely as possible.
As to the issue:
IIRC the JDTCompiler shipping with 5.5.9 does not support J2SE 5
features in jsp scriptlets. This may be your problem.
Jon
Mark Benussi wrote:
Well without wishing to sound petty
Your
You need some JkMount directives to tell Apache which requests to
forward to Tomcat.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/config/apache.html
Jon
Katherine Faella wrote:
I am a new user of Apache and of Tomcat. I am using a Redhat AS 4.0
system. I am running Apache V2.0.54
Something like this maybe:
String url = request.getRequestURL().toString();
if (url.indexOf(jsessionid)-1
url.indexOf(request.getRequestedSessionId())-1) {
// do redirect
}
Jon
Michael Jouravlev wrote:
If both methods return true, they would identify the first request
after session
Ajay,
That's a mySQL error message.
In the jdbc url you can add parameters to automate reconnection:
extract-from-doco
autoReconnect should the driver attempt to re-connect if the
connection dies? (true/false) - false
maxReconnects if autoReconnect is enabled, how many times should the
That's because it's hardcoded to look for jmx.jar. One jar, singular.
Sitting on my local dev machine I've got a jmx.jar which is a
concatenation of mx4j.jar and mx4j-tools.jar. It's a bit horrible but it
works.
There are other ways to do it:
1)
Add your jars to the bootstrap classpath by
You can also just watch these on the fly with browser plug-ins:
IE: google for ieHTTPHeaders
Mozilla/FireFox: http://livehttpheaders.mozdev.org/index.html
Both have been very useful to us.
Jon
Bernhard Slominski wrote:
Hi Cristi,
they are in the Apache Logfile anyway, why do you want to log
You should check tomcat's logs to see if there are any warnings. The
last error-page def'n is invalid. It should be:
error-page
exception-typejava.lang.Exception/exception-type
location/error.jsp/location
/error-page
Maybe tomcat is ignoring all the error-page definitions due to the
Section 14.30 of the http spec. rfc2616
http://www.faqs.org/rfcs/rfc2616.html
Jon
Angelov, Rossen wrote:
Len,
Can you point me a place where I can read about these HTTP requirements?
I thought this might be the case but I couldn't find anything helpful
online. Probably didn't search enough.
The ability to change the Server header in a filter depends on the
connector. The Coyote connector uses the response.addHeader(..., ...)
variant so you get your custom header AND coyote's:
HTTP/1.1 304 Not Modified
Server: IMP/4.1
Date: Tue, 17 May 2005 08:54:10 GMT
Server: Apache-Coyote/1.1
A
I don't think
${catalina.home}/common/classes/log4j.properties
is a valid classpath element.
An excerpt from the java tools doc says:
How the Java Launcher Finds User Classes:
User classes are classes which build on the Java platform. To find user
classes, the launcher refers to the user class
2 access.err access.out
to be useful for debugging security issues.
J
Jon Wingfield wrote:
I don't think
${catalina.home}/common/classes/log4j.properties
is a valid classpath element.
An excerpt from the java tools doc says:
How the Java Launcher Finds User Classes:
User classes are classes which
Sounds like the message IE gives when you hit back to a page served in
response to a POST request.
http://theserverside.com/news/thread.tss?thread_id=28366
http://theserverside.com/news/thread.tss?thread_id=29758
Anto Paul wrote:
On Apr 6, 2005 1:46 PM, Pawson, David [EMAIL PROTECTED] wrote:
I'm
One solution would be to map a Filter to whichever URLs you wish to
override the browser settings. In the Filter wrap the request, using a
sub-class of javax.servlet.http.HttpServletRequestWrapper, before
passing the request to the rest of the chain.
In your wrapper sub-class override the
Mozilla doesn't understand how to deal with wml. But you can get a plug-in:
http://wmlbrowser.mozdev.org/
Nick Wolters wrote:
In mozilla the download window says: text/vnd.wap.wml
The file itself begins with the following:
?xml version=1.0 encoding=iso-8859-1?
!DOCTYPE wml PUBLIC -//WAPFORUM//DTD
It's a NullPointerException causing all your woes. In the Connect method
of DBConnection you are assigning to a local variable of type Connection
instead of the instance variable. The instance variable is always null,
which causes issues in the QueryDataBase and TotalRows methods.
The code as
What happens in FireFox if you do this:
response.setHeader(Content-Disposition, attachment;
filename=\ + theFile.getName() + \);
The relevant spec is here:
http://www.ietf.org/rfc/rfc2183.txt
And for the definition of 'value' it references:
http://www.ietf.org/rfc/rfc2045.txt
The filename
Tomcat doesn't pick up CATALINA_OPTS when run as a service.
The arguments for the service are held in the registry.
More details here:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/windows-service-howto.html
and in the archives of this list.
HTH,
Jon
PS: you should still profile your app, though
Have you got the right permissions set up in the database?
log into mysql. switch to the mysql database and look in the user table.
You'll need to have an entry for host=monkinetwork, user=root.
If you don't refer to the mysql admin docs for assigning privileges:
I work with a similar setup when I'm at home. It should all be fine.
Check the File menu in IE. Does the Work Offline item have a tick next
to it? If so, click it and then hover over the link again. Should be
available.
Jon
Clyde, Judy, Robert Kate Thomson wrote:
Hi,
I have Tomcat 4.1.12
What about a leading slash? Giving a mapping of:
/schemas/content.xsd
Jon
Robert Koberg wrote:
Caldarale, Charles R wrote:
From: Robert Koberg [mailto:[EMAIL PROTECTED]
Subject: Re: bug? invalid url-pattern - 'schemas/content.xsd'
sevlet-mapping
/sevlet-mapping
Do you really have sevlet in the
Section 4.4 of rfc2616 (HTTP1.1 spec) has rules for message-length
processing. Rules 2 and 3 seem most pertinent.
extract
2.If a Transfer-Encoding header field (section 14.41) is present and
has any value other than identity, then the transfer-length is
defined by use of the chunked
Argh. Triple hijack!
This thread started as JSP expressions are displayed as string, became
Do not allow browsing the root directory to tomcat, then problem
starting tomcat 5.5/jdk1.3.1_11 and now New Babie query - pls pls help
me.
For the sake of the archives and those of us using
The default timezone of a Sun JVM is determined by user locale settings.
If the runtime can't determine a sensible timezone from those it
defaults to GMT, which is 3hrs off from Brazilia time, i think.
Looking at the source of TimeZone it uses the following system properties:
user.timezone
Yep. Read the docs more carefully ;)
The activation/passivation methods are called on objects that implement
the listener AND are attributes of the session to be activated/passivated.
Tomcat works as Yoav described.
HTH,
Jon
Mark O'Driscoll wrote:
Well, as you can see my listener implements this
Also from Section 14.36 of rfc2616:
extract
The Referer field MUST NOT be sent if the Request-URI was obtained from
source that does not have its own URI, such as input from the user keyboard.
/extract
So you can't rely on it being present.
Shapira, Yoav wrote:
Hi,
But I have 2 questions:
1.
It's part of the core java security model. If a package is sealed within
a jar then packages of the same name cannot be defined in another jar,
or elsewhere on the classpath.
Within the manifest file of the jar file which is being loaded by your
putpr servlet you'll probably have a couple of
You are calling getWriter in your catch clause after you have already
called getOutputStream. That's illegal.
You could set up an error page in web.xml to report the exception
instead of catching it.
Jon
Lina MarĂa Rojas Barahona wrote:
Hello:
I am trying to write a PDF using a servlet in
Archives:
http://marc.theaimsgroup.com/?l=tomcat-userm=109818070801385w=2
http://marc.theaimsgroup.com/?l=tomcat-userm=105966032518910w=2
Jon
Dobson Paul L Contr OO-ALC/LGFBR wrote:
I created a JSP web application that allows user to dynamically generate
and download excel files using POI/HSSF.
Message -
From: Jon Wingfield [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, October 15, 2004 9:57 AM
Subject: Re: Internet Explorer Bug under SSL Connection
Yep. This comes up every so often on the list.
Whenever IE downloads content we change the Pragma response header
One thing you might want to check is that whatever PrintService SPI
implementation is looking up your printers doesn't cache the result for
the lifetime of the JVM.
Does your command line app show new printers and then exit? If so, you
might want to change it so you can:
1) list the printers
2)
Yep. This comes up every so often on the list.
Whenever IE downloads content we change the Pragma response header to be
public instead of no-cache:
String userAgent = request.getHeader(user-agent);
if (response.containsHeader(Pragma)
userAgent!=null
I'd be surprised if synchronization was broken. Given one assumption I
think I can explain what you are seeing.
Assumption: The two concurrent requests are handled by two different
instances of a jsp servlet.
If there are two instances then each request will be able to
sucsessfully obtain the
==
-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED]
Sent: Monday, September 27, 2004 10:59 AM
To: Tomcat Users List
Subject: Re: cannot deploy the war file..Tomcat 4.1.30 --- please
suggest...
Ok, wait a minute. Have
Suddenly? ;)
The error message tends to imply there is no DOCTYPE (at all) in one of
your web.xml files. The parser fails when validating the doc with this
rather strange error message.
HTH,
Jon
Wilson, Allen wrote:
Hello...
I am running 4.1.18 and I suddenly started having problems with
IE feels the need to cache the content before saving it to the desired
location. You probably have some headers in the response designed to
stop caching. You could comment in the RequestDumperValve to confirm this.
Add to your code:
response.setHeader(Pragma, public);
We saw similar problems
You need a servlet-mapping for your servlet. The Invoker servlet,
which gives you a configuration shortcut, has been disabled since Tomcat
4.1.12.
http://jakarta.apache.org/tomcat/faq/misc.html#invoker
nyhgan wrote:
Hi,
I finished the apach2 and tomcat5.0.27 integration today, The JSP is
I've used a Filter to strip out redundant whitespace from text/html
output. I wrapped the ServletResponse so that a custom
ServletOutputStream filters out empty and recurring linefeeds. Works
pretty well.
As for mod_gzip, I would be very surprised if it didn't respect the
Accept-Encoding
You may want to watch the status of the following bug:
Hi,
There's a known escaping issue there,
http://issues.apache.org/bugzilla/show_bug.cgi?id=28219.
Yoav Shapira
Millennium Research Informatics
HTH,
Jon
Sun House wrote:
Chuck ,
YOU ARE THE MAN
Escaping the dollar sign doesn't
Can't you use a java.io.PushbackInputStream?
You could write a Filter instead of a Valve. In the Filter wrap the
ServletRequest and provide a custom ServletInputStream which uses the
PushbackInputStream around the real ServletInputStream.
Once security checks have passed you can push back the
If you're using 4.1.x you can place a context-name.xml file in the
webapps (appBase) directory. It contains the Context element that would
have gone in server.xml.
The custom Realm classes still need to be in the common classloader.
This has come up several times recently. It's all to do with how IE
handles content. It seems, whenever a plug-in is used (excel, word,
acrobat etc) IE has to download the content to its cache before the
plug-in can be passed the content. So, when content is served from a
protected area Tomcat
Not sure you can do this with Tomcat alone (but would be happy to be
shown the error of my ways). This is because every ssl connection uses
the same SSLSocketFactory configuration irrespective of requested URI.
The mod_ssl module for Apache has support for this type of config, though:
- Original Message -
From: Jon Wingfield [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Thursday, August 12, 2004 6:09 AM
Subject: Re: Tomcat 4.1.30 adding no-cache to http headers
Yep. Tomcat (reasonably) adds these headers when the requested url is
within a security constraint
Yep. Tomcat (reasonably) adds these headers when the requested url is
within a security constraint defined within the web.xml.
In all places on our site where pdf, excel, word docs etc can be
downloaded we have the following code:
final String userAgent = request.getHeader(user-agent);
The 49.0 is a magic number within the class bytecode. This type of error
typically means the class was compiled using a newer version of the jdk
than the runtime that is interpreting the bytecode. So, did you, say,
compile the lawSearch class using jdk 1.5 but are running Tomcat against
jdk
Your instance variable conn will always be null.
In your init method you are assigning the result of the
ds.getConnection() to a local variable. Change it from
Connection conn = ds.getConnection();
to
conn = ds.getConnection();
and you may be ok.
Of course, conn may also
sendRedirect(...) tells the browser to use a resource in a different
location. That location can be same webapp, different webapp, different
server.
forward(...) is for the same server only.
In context:
servletContext.getRequestDispatcher(path).forward(...);
Out of context:
Just a thought. Does your error page also have header.jsp included?
Have you got yourself into an infinite loop of Session already
invalidated IllegalStateExceptions?
Jon
Hans Wichman wrote:
Hi,
while stresstesting my application using tomcat 4.1.29, oracle, dbcp
connection pooling and a
Extract from the HTTP spec:
The Referer field MUST NOT be sent if the Request-URI
was obtained from a source that does not have
its own URI, such as input from the user keyboard.
http://www.w3.org/Protocols/rfc2616/rfc2616.txt
So unless someone links to your index page you'll probably never get a
An invocation of a Tomcat Valve gives you a Request object. This is a
facade to a ServletRequest, which you can access via the getRequest()
method. You could set your info object as an attribute on the
ServletRequest. This should then be visible to your filter.
://web.comlab.ox.ac.uk/oucl/research/areas/softeng/eWLM/
Cheers,
Rui
On Fri, 21 May 2004, Jon Wingfield wrote:
An invocation of a Tomcat Valve gives you a Request object. This is a
facade to a ServletRequest, which you can access via the getRequest()
method. You could set your info object as an attribute
This is probably a classloader issue. The Realm will load classes from
the server classloader. Your webapp will also load the same classes in
its own classloader. The two types of CrmPrincipal are not assignable so
a ClassCastException results. Try placing the CrmPrincipal class in
common/lib
Download the binary not the source zip:
http://jakarta.apache.org/site/binindex.cgi
If you execute catalina run instead of startup you'll see the error in
the same shell.
HTH,
Jon
[EMAIL PROTECTED] wrote:
Hi,
I have installed Tomcat on my windows machine and set the CATALINA_HOME
and
No need to change the script. I normally set an Environment variable in
the same place I define JAVA_HOME
Go to Control Panel \ System \ Advanced tab \ Environment variables...
Well, that's where it is on XP, which i'm currently running.
HTH,
Jon
Giorgio Ponza wrote:
[EMAIL PROTECTED] ha
I may be way off but...
I don't think
http://myserver.com/portal
maps to
/portal/* ajp13
http://myserver.com/portal/
or
http://myserver.com/portal/whatever.jsp
probably will, though.
Give it a go, may work,
Jon
Wilson, Allen wrote:
Bill..thanks for the reply...
I will read through the link you
not know how to tell..when I check the running ports I see the 8009 port
running but it does not hand to Tomcat
-Original Message-
From: Jon Wingfield [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 2:09 PM
To: Tomcat Users List
Subject: Re: Connecting the HTTP Server and Tomcat
I
The answer's in the question ;)
Tomcat is not a J2EE Server but an implementation of the Servlet
Specification (which is but a part of the whole J2EE spec).
Tomcat's JNDI lookups are in-process only.
Need an open source J2EE container? Have a look at JBoss...
Hassan Sajjad wrote:
Hi
Can anyone
/tomcat-4.1-doc/jndi-resources-howto.html
Have fun,
Jon
Hassan Sajjad wrote:
Jon Wingfield, thanks for your reply.
My application is a Web Application (.war) only, no ejb's etc. However,
since I'm using Composite View Pattern (aka Templating), I want different
parts to be combined into One View, all
And of course:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html#Tyrex%20Connection%20Pool
Although I'm not sure how actively maintained Tyrex is these days.
http://sourceforge.net/projects/tyrex/
Jon
Jon Wingfield wrote:
There is always a way ;)
Saw
JAVA_OPTS only works for standalone startup not as a service.
Found this by googling.
http://forum.java.sun.com/thread.jsp?thread=290568forum=33message=1211179
Solution is about six down and by user dfortae
HTH,
Jon
shyam wrote:
Hi,
I not sure about tomcat 3.2.1. In tomcat 4 I have used the
http://www.cygwin.com/
I'm using grep, tail and scp on windows xp all the time :)
I also like gVim on windows. http://www.vim.org/
Shaw, Laurence wrote:
Does anyone know where I can find a workable version awk for Windows,( and for that matter most common [U}[Lin]ix utilities) that will run on
If you had
String name = config.getInitParameter(companyName);
it might work ;)
HTH,
Jon
Michael Jones wrote:
Hello-
I'm trying to store some values in my server.xml and then get them with my
Servlet.
I followed the instructions at:
parameters to
webapps.
The Parameter tags within server.xml are related to Resources (Data
Sources etc) and probably not what you want.
Jon
Jon Wingfield wrote:
If you had
String name = config.getInitParameter(companyName);
it might work ;)
HTH,
Jon
Michael Jones wrote:
Hello-
I'm trying
I just looked at the code you posted. I think it's a
NullPointerException within line 33 of your LoginServlet
int kode = Integer.parseInt(request.getParameter(kode));
This will throw an NPE if the kode parameter is not set...
Is your MIDLet TextField empty when you get this error?
If not, check
I'm fairly certain classes deployed to web-app\WEB-INF\classes have to
be in packages.
So your Fruit class should be deployed to
web-app\WEB-INF\classes\com\stevensons
if the Fruit class is in the com.stevensons package.
In your jsp you also MUST import the class you want to use. eg:
%@ page
WEB-INF/classes takes precedence over WEB-INF/lib in the servlet spec:
2.3fcs, section SRV.9.5 Directory Structure.
If WebLogic 6.1 behaves differently then it's another spec violation ;)
Jon
Justin Ruthenbeck wrote:
To you (the end-user), there's no purpose for it other than
convenience. One
Also make sure that the user running tomcat has write permissions to
$CATALINA_TMPDIR. That's where the JVM does its temporary io work.
HTH,
Jon
Evgeny Gesin wrote:
I set ownership tomcatUser:tomcatUser and permission
770 to the entire path
$CATALINA_HOME/webapps/app/WEB-INF/lib, including jar
http://w3development.de/rdf/uaprof_repository/
This list is not exhaustive bay any means.
I will talk you through what the data means and what other information
we need to gather.
Jon
-
To unsubscribe, e-mail: [EMAIL
oops. wrong list.
Jon Wingfield wrote:
http://w3development.de/rdf/uaprof_repository/
This list is not exhaustive bay any means.
I will talk you through what the data means and what other information
we need to gather.
Jon
Did you read as far as the NotSerializableException bit? ;)
If you don't want to make MyLinks serializable but want Tomcat to
serialize sessions you could (amongst other things) implement a
HttpSessionActivationListener.
Add this object to the session at the same time as your MyLinks object.
1 - 100 of 269 matches
Mail list logo