Thank-you.
Ben Souther wrote:
* servlet name tag in the servlet tag and servlet-mapping tag should
be the same.
Yes the servlet tag in web.xml is where you define the servlet's name.
* The value of the url-pattern, welcome-file and the action value in
the form tag should be a
> * servlet name tag in the servlet tag and servlet-mapping tag should
> be the same.
Yes the servlet tag in web.xml is where you define the servlet's name.
> * The value of the url-pattern, welcome-file and the action value in
> the form tag should be all the same
Yes, the url
alling
it's class name).
so in fact, you want bizDispathcer (no capital b).
-Original Message-
From: Ben Souther [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 16, 2004 5:57 AM
To: Tomcat Users List
Subject: Re: Display of Static Resources
Take the packa
> -Original Message-
> From: Ben Souther [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 16, 2004 5:57 AM
> To: Tomcat Users List
> Subject: Re: Display of Static Resources
>
>
>
>
Take the package name out of the action attribute.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
The problem for static resources went away. But now http is not able to
find the servlet class when I click on the button on the form. This used
to work before I changed the config in web.xml. So I am assuming this
problem is related to what I have done in web.xml.
Here is what is happening:
Hi,
Thanks for all the help everyone. The problem is solved.
Having my servlet mapped to "/" pattern was the problem. I changed the
pattern for my servlet and added the entry in the welcome-file-list and
the static resources show up and the page waits for the user response
even with a gif image
On Sat, 2004-12-11 at 15:52, Mike Curwen wrote:
> you've named it 'myweb.xml', just so we can tell the attachments apart, or
> is it actually named myweb.xml? If the latter, change it to web.xml.
>
> And having your servlet mapped to "/" is most likely the problem.
>
> The default servlet is t
r 11, 2004 1:10 PM
To: Tomcat Users List
Subject: Re: Display of Static Resources
Ben,
I removed all my application specific entries in web.xml under conf and
moved those to the web.xml under ROOT\WEB-INF. I am attaching both the
web.xml files. One under the WEB-INF is called myweb.xml. I am not
>>
> >>
> >>>Ram,
> >>>
> >>>Post your web.xml. Only the active parts, leave out the factory comment
> >>>sections.
> >>>
> >>>Also what are your mappings like?
> >>>
> >
; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, December 11, 2004 12:01 AM
Subject: Re: Display of Static Resources
Doug,
This is what I did. I stopped Apache; I don't that made any
difference. I was the application on port 8080 anyways. I put a
static HTML page
PROTECTED]>
> >> To: "Tomcat Users List" <[EMAIL PROTECTED]>;
> >> <[EMAIL PROTECTED]>
> >> Sent: Saturday, December 11, 2004 12:01 AM
> >> Subject: Re: Display of Static Resources
> >>
> >>
> >>> Doug,
> >>>
ent: Saturday, December 11, 2004 12:01 AM
Subject: Re: Display of Static Resources
Doug,
This is what I did. I stopped Apache; I don't that made any
difference. I was the application on port 8080 anyways. I put a
static HTML page in the same directory as the image (and tried it
from the
- Original Message -
From: "Ram Sriram" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, December 11, 2004 12:01 AM
Subject: Re: Display of Static Resources
Doug,
This is what I did. I stopped Ap
;[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Saturday, December 11, 2004 12:01 AM
Subject: Re: Display of Static Resources
Doug,
This is what I did. I stopped Apache; I don't that made any difference. I
was the application on port 8080 anyways. I put a static HTML page in the
sam
Doug,
This is what I did. I stopped Apache; I don't that made any difference.
I was the application on port 8080 anyways. I put a static HTML page in
the same directory as the image (and tried it from the ROOT directory as
well). When I access the html (http://localhost:8080/image/test.html or
Are the images served out ok on other pages?
Images are not being served at all in any page.
This makes me think you have a configuration issue that is pointing all
content to your servlet other than *.jsp.
Have you tried running Tomcat without Apache? And is there a reason you need
Apache?
If
e out where this configuration
should be done for Tomcat. Or maybe it is not a configuration issue at all.
Doug
- Original Message - From: "Ram Sriram" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 10, 2004 10
browser request for the image?
Doug
- Original Message -
From: "Ram Sriram" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, December 10, 2004 10:10 PM
Subject: Re: Display of Static Resources
Hi Jack,
Thanks for your response.
Hi Jack,
Thanks for your response.
I understand how HTTP technology works. I have a working application
with a Form with form elements including a button. When I do not have a
gif in the HTML, the behaviour is what is expected of HTTP. In other
words, the displayed page waits for the user to ent
Hello,
Looks like you need to read an overview of how web based HTTP
technology works. Essentially, in the typical and simple case, a
request holding name/value pairs in a request object,
HttpServletRequest in your case, and other information from the client
makes a request and then your applicat
Hi,
I use jakarta-tomcat-5.0.19 and Apache HTTP Server 2.0.49. I am having
problem displaying static resources such as gif. When I have gif in the
HTML, not only it doesn't display the gif, the page also doesn't wait
for user input. The page gets displayed and continues back to the servlet.
I am
22 matches
Mail list logo