The following said that if client click on links that
including *.jsp then forward the requested to tomcat
using worker2. But where will it go when the traffic
forward to tomcat. If one have more than one context
under Tomcat. How does it know which one to go from the
three. for example: of
Your webapp context is the root directory of your web application, I am
sorry but you should probably read a bit first before trying to deploy a web
app. Check out the following link, it should be easy to see the steps you
need to successfully develop and deploy your app in tomcat:
http://tomcat.
hi! there
I understand the line you told me to type in my brower:
"http:// your ip address: tomcat port/your webapp context path"
only problem is what do u mean by the webapp context path? my webapp folder
is in c: drive in programfiles folder.
Or how should I type the weba
Chuck, Chris
(Pretty much) here are the rules:
The owner of a gallery can set its permission to public or passwd or
private. If passwd, the owner specifies (i.e., sets) a gallery-specific
password. The owner can change this anytime they like.
Additionally, owners must (of course) authenticate
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat Security
>
> Well, he did say that the user can choose arbitrarily what the
> authorization rules were. I would imagine that includes changing
> it on the fly. Changing the URL on the fly based upon the
> authorization r
Chris, Chuck
Yes, Chris: the below is the case exactly:
(Actually, galleries - and consequently their included
images and documents are authenticated, not specific images.)
So what I would like to know how to do is how to programmatically
bypass web.xml-based authorization and impose this author
Chris
Yes, the way my image server system (if I can call it such) works is
pretty much exactly what you are suggesting.
This issue, for me at least, is in the past-tense - i.e., already
working code.
And yes, as I say above, the model I devised is pretty much what you
suggested.
Maurice Yarro
yes, I have Tomcat 5.5 on Windows also, and I don't have these
problems. I'm trying to set this up on a Linux machine though,
because developing and hosting on my laptop just isn't working. The
wars are open-source apps that deploy fine on my Windows box, so I'm
guessing it must be a config or p
The 192.168... is an IP only valid behind your router, for someone on the
internet to access your app, you'll need to use your router's Iternet IP
address. Again you can determine that address by typing "What's my IP
address" in google and then select any of the results. From the URL you
stated, I
Chuck,
Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
>> Subject: Re: Tomcat Security
>>
>> Since each image could have different authorization settings,
>> you can't just use the servlet container's built-in authorization
>> (set up in web.xml). You will have
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat Security
>
> Since each image could have different authorization settings,
> you can't just use the servlet container's built-in authorization
> (set up in web.xml). You will have to enforce this yourself.
Not sure that
Maurice,
> The answer is the latter: authentication required.
> In fact, there are three levels of privacy on these images and documents:
>public: (everyone can view)
>passworded: (password required for viewing: say, your
> family only. This pw
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: Changing the webapps directory
>
> First, eventhough autodeploy is set to true, it's not
> deploying wars I put into this directory.
What's the file structure inside the .war? There should be a WEB-INF
directory with a web.xml in
Thanks, I have gotten it changed, but now have a couple of other
problems. First, eventhough autodeploy is set to true, it's not
deploying wars I put into this directory. Second, after looking at
the examples pages, I see that servlets run fine, but jsp examples
return compiler errors.
On 10/
Chris
Yes, thank you for clarifying you question:
The answer is the latter: authentication required.
In fact, there are three levels of privacy on these images and documents:
public: (everyone can view)
passworded: (password required for viewing: say, your
Yes tomcat should run on win 98
128 ram
Eric Haszlakiewicz <[EMAIL PROTECTED]> wrote:
On Fri, Oct 27, 2006 at 02:21:06PM +0800, Eric wrote:
> i wanna avoid this problem too but i am a student now having my internship
> to do my Final Year Project. so there is no choice because i got a PC t
> From: Dima Retov [mailto:[EMAIL PROTECTED]
> Subject: Performance throttling
>
> Is that possible to do performance throttling (or shaping) in tomcat
> on per context base?
No direct mechanism that I'm aware of (although others might). I
suppose you could segregate apps under different s, and
On Fri, Oct 27, 2006 at 02:21:06PM +0800, Eric wrote:
> i wanna avoid this problem too but i am a student now having my internship
> to do my Final Year Project. so there is no choice because i got a PC that
> is running on Windows98. so what to do. i have to live with it and find
> solutions to wo
hi
Thanks for ur reply. I actually already new what u just mentioned.
The problem is I tried 100s of times to run it
my tomcat is running at 8080 on my pc.
I enter the ip address like:
http://routerip:8080/index.html
Is that the correct way, or do I need to c
Hi,
Is that possible to do performance throttling (or shaping) in tomcat
on per context base?
--
Best regards,
Dima mailto:[EMAIL PROTECTED]
-
To start a new topic, e-mail: users@tomcat.apache.org
To
Aaron
to change docRoot supply new value for appBase attribute in host element within
server.xml
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
This e-mail communication and any attachments may contain confidential and
privileged information for the use of the
designated recipients na
Firstly you'll need to configure (open some ports) your router to allow
direct access to the tomcat port on your machine. Assuming you know the IP
address of your router ( type in google: "what's my IP address"), user
should be able to connect to your app by typing something like
"http://YourRoute
Hello!
I am a new tomcat 5.5 user. I have created some JSPs and they run perfectly
in my PC windows xp using tomcat.
I want to make my PC a webserver, so that ppl from outside can access my JSPs
through tomcat 5.5 running on my system.
My PC is connected to a router and my r
Thanks for the reply. I did find the webapps reference in webapps,
but again, didn't know the correct implementation for changing the
directory. I was also unaware that I hijacked a thread. My thread
does contain text from another thread, but the list created a new
thread in my mailbox and the
On 10/28/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
Where does the above class come from? (And why does its name have _005f
in it rather than a plain underscore?)
Jasper changes "_" in JSP file names to "_005f". But I don't know why.
--
Len
---
This line:
org.apache.jsp.trans_005fhistory_htm._jspService(org.apache.jsp.trans_005fhistory_htm:429)
indicates that the NullPointerException is being thrown by one of your
JSP pages, named trans_history.htm or something like that. The line
number trans_005fhistory_htm:429 refers to the Java tra
> From: asd [mailto:[EMAIL PROTECTED]
> Subject: Apache Tomcat/5.5.12
>
> This is blocking a very important page. I must view it.
This appears to be an application problem, not Tomcat.
> root cause
> java.lang.NullPointerException
>
> org.apache.jsp.trans_005fhistory_htm:429
Where does the a
Thanks to Charles and Edmond for replying.
The problem was actually in my code. Tomcat destroyed the session, but
when calling sessionDestroyed()
(before the session is completely destroyed), a user bean that was
expected was already null.
The bottom line: session-timeout does work properly fo
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Changing the webapps directory
>
> I'd like to change my webapps directory to be in my home directory.
> I've look around and can't find how to do this on Tomcat 5.x.
Look at the doc for the element, in particular the appBase
attribu
This is blocking a very important page. I must view it. I've tried deleting
cookies, etc. I can't seem to get on the page I want to get on.
HTTP Status 500 -
type Exception report
message
description The serve
> From: Robbert [mailto:[EMAIL PROTECTED]
> Subject: RE: CSS not being used when a Servlet is involved
>
> Hm, alright. Should all else fail, is it possible to let a
> Servlet handle the CSS?
Some servlet must handle everything; static content (including .css
files) is normally handled by Tomca
I'd like to change my webapps directory to be in my home directory.
I've look around and can't find how to do this on Tomcat 5.x. I've
also looked at server.xml, but don't really know the right way to
implement any solutions that I have been able to dig up.
Also, I can't seem to login to the man
Robbert,
> Hm, alright. Should all else fail, is it possible to let a Servlet handle
> the CSS?
You don't really want to do this.
> I have four JSP pages (index, profile, statistics and gallery) that must
> invoke the StatistiekServlet. The page is simply a normal, static HTML page
> that calls
Maurice Yarrow wrote:
> The short answer is: if URL's are filtered first, then the actual location
> DefaultServlet will need to use is not visible in any of the html.
> Only for the authenticated serves will getPathInfo() be appropriately
> adjusted and then passed to DefaultServlet.
Huh?
> Sil
Caldarale, Charles R wrote:
>
>> From: Robbert [mailto:[EMAIL PROTECTED]
>> Subject: RE: CSS not being used when a Servlet is involved
>>
>> Combining that with what you just said, I assume that you're
>> basically saying that my servlet tries to handle the
>> tag that contains the URL to my
Yes I tried it. But it did not work.
Umar
-Original Message-
From: Michael Courcy [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 19, 2006 2:16 PM
To: Tomcat Users List
Subject: Re: Downloadable file name is not correct on Linux/Unix box
Did you try to add the mime type in your header
36 matches
Mail list logo