Hi Abhay,
I don't have a solution but if you do find a clear description about how
this can be done I too would be interested (and I am sure others are too).
Mike
Abhay Hiwarkar wrote:
Doesn't any body have a detailed procedure to deploy compiled jsps with
Tomcat4.0 ?
Abhay
-Original
Tim Funk wrote:
Ant is trying to create some temporary files to compile the JSP. Ant
cannot write the temp file. Somewhere in the archives or in bugzilla
there was a discussion about this.
-Tim
I found a few hits in the archives about this but they seemed to be
related to permissions for the
Hello,
I apologize for the length of this note but I have attempted to shorten
it as much as possible without removing possible useful information.
I am trying to deploy an app on TC 5.0.28 running on a Linux box at my
ISP. This app deploys and runs without error on TC 5.0.25 on Windows
Keith Hankin wrote:
I have been been trying to jar up a custom taglib java class along with the corresponding tld
file. However I keep getting an error indicating that it cannot find a file named
META-INF/taglib.tld.
I have followed instructions in this doc:
FWIW (I must have too much free time)
I tried your hello world example as a recipient of a posted form and it
seems to work just fine for me with either request.getReader or
request.getInputStream.
Though I was using TC 5.0.25 (standalone) and even tried it in IBM WAS
5.1 Test Environment.
Ivan Jouikov wrote:
From: Ivan Jouikov [mailto:[EMAIL PROTECTED]
Sent: Monday, July 19, 2004 1:48 AM
To: 'Tomcat Users List'
Subject: [URGENT] When I type Russian in my .jsps, it displays it as a bunch of squares!
Hi everyone!
First of all, in my JSP page I specify:
%@ page language=java
What I want to do is to include a servlet in a .JSP. For reasons that I
won't go into please assume that in the environment that I wish this to
run I cannot define a named servlet nor can I load by classname.
A simplified version of what I have been doing is below:
%
Class c =
or jsp:forward
-- or --
RequestDispatcher rd = request.getRequestDispathcer(myPath);
rd.include(request, response);
-Tim
M.Hockings wrote:
What I want to do is to include a servlet in a .JSP. For reasons that
I won't go into please assume that in the environment that I wish this
to run I cannot
that I gave below seems to work OK for the servlets
themselves but if they include another servlet or jsp then the output of
that next level included thing appears to be discarded.
Mike
Tim Funk wrote:
The servlet class should be mapped to a path in web.xml
-Tim
M.Hockings wrote:
Ok, I would tend
How does one do that? Would it be spec compliant ?
Mike
Tim Funk wrote:
But it is not spec compliant. YOu can always use the invoker servlet.
-Tim
M.Hockings wrote:
That would be what I tend to call a named servlet. I find that in a
portal environment that named servlets that are not portlets
Hi Asher,
It looks like you are using Struts? If so then setting the encoding in
the response is too late as the Struts runtime has already set it.
Look into using a filter (that is what I do) for your webapp, I expect
that should solve your problem.
You can Google about for more on utf-8 and
with no changes to the TC config at all.
Mike
Asher Tarnopolski wrote:
sorry, no struts are involved.
- Original Message -
From: M.Hockings [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 05, 2004 7:04 PM
Subject: Re: utf-8 with tomcat 5: second round
Hi Asher,
It looks like you are using
STOCKHOLM, Raymond wrote:
How did you locate your tld in your JSP ?
something like this ?
%@ taglib uri=/WEB-INF/tld/form-tags.tld prefix=ftags %
-Message d'origine-
De : Keith Hankin [mailto:[EMAIL PROTECTED]
Envoyé : mardi 1 juin 2004 08:31
À : [EMAIL PROTECTED]
Objet : Where to put tld
Is the settter for dType setdType(String value) or setDType(String
value)? I think that it will need to be the latter.
Mike
Ravi Mutyala wrote:
Hi,
I created a tag which extends from the html:text tag.
I'm using tomcat 4.1.30.
when I use this tag, I get the following error.
Ben Souther wrote:
Ah Ben, I don't know if you have kids or not. But y'know how a kid can
kinda look at the floor and shuffle their feet when caught doing
something stupid. Well, keep that in mind as you read what I figured
out...
Believe me, you've nothing to feel stupid about. We've all
Allistair Crossley wrote:
We are having a host of problems with character encoding at the moment. Somehow
between the UI and the Struts Action our euro symbols are being turned into question
marks. I have fiddled with the JVM file.encoding, using JSP page directives for
content type and much
Jacob Kjome wrote:
Well, it works for me on Win2k with Tomcat-5.0.25. Same session every post.
You don't have sessions turned off in web.xml by setting the session-timeout to
0 or -1 (can't remember which one, if any, disables sessions) by chance, do you?
You might also check for virus or
Ben Souther wrote:
I just dropped your JSPs in a box running win2k server and tomcat 5.0.24.
They run fine, same session. Once the strings are created, they stay created,
no nulls.
I'm hitting from a linux box using Mozilla, but I also tried from MSIE on the
machine that's hosting your JSPs.
Shapira, Yoav wrote:
Hi,
Oh, this reminds me to have a vote on the stability of 5.0.25!
You never answered the key question of whether your session attributes
are Serializable or not: that's a binary question, should be easy to
determine ;)
Yoav Shapira
Millennium Research Informatics
Hi !
Yes,
what I'm trying to say is I wonder if some of my woes have been
due to trying to use Tomcat 5 on my Win2K laptop rather than a real
server box.
Mike
Ben Souther wrote:
Could you just attach the src to the two JSPs?
On Friday 21 May 2004 09:18 am, M.Hockings wrote:
Shapira, Yoav wrote:
Hi
Shapira, Yoav wrote:
Hi,
How does 5.0.25 run on FC1?
Yoav Shapira
Millennium Research Informatics
Hi Yoav,
No, not yet as the 5.0.24 seems to be working fine (worlds better than
.24 or .25 on Win2K). If I get some free time I'll give it a whirl.
Mike
My ISP has just upgraded the servlet container from Tomcat 4.1 (which
was working just fine BTW) to Tomcat 5.0 (5.0.19 I believe). I have had
several webapps successfully deployed under Tomcat 4.1 that were causing
Tomcat 5 not to start. For the most part I think I have fixed all of
these
QM wrote:
On Thu, May 20, 2004 at 08:55:43AM -0400, Ben Souther wrote:
: putValue and getValue have been deprecated.
: See:
: http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpSession.html
:
: Use setAttribute and getAttribute instead.
Yes, did you rebuild your app when you upgraded?
, M.Hockings wrote:
My ISP has just upgraded the servlet container from Tomcat 4.1 (which
was working just fine BTW) to Tomcat 5.0 (5.0.19 I believe). I have had
several webapps successfully deployed under Tomcat 4.1 that were causing
Tomcat 5 not to start. For the most part I think I have fixed all
Shapira, Yoav wrote:
Hi,
Is your attribute Serializable? That's a big deal ;)
There's no limit imposed by Tomcat on session attribute size.
Yoav Shapira
Millennium Research Informatics
Hmm, interesting thought Yoav. It is a class derived from a
properties file but I'm not sure if the
Ben Souther wrote:
On Thursday 20 May 2004 10:15 am, Shapira, Yoav wrote:
in starting jsp 1
session.setAttribute(ml,ml);
in target jsp 2
MyPackage.MyClass ml = (MyPackage.MyClass)session.getAttribute(ml);
System.out.println(ml = +ml);
then in the log I see...
ml = null
You didn't
Jacob Kjome wrote:
I didn't see the earlier posts, but are you using Tomcat-5.0.24?
There's a bug related to session cookies which requires a hotfix.
However, I'd just install 5.0.25 which has the fix, plus a few
others. Also note that Tomcat-5.0.24+ is very strict about objects in
the
27 matches
Mail list logo