Re: Display of Static Resources

2004-12-16 Thread Ram Sriram
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

Re: Display of Static Resources

2004-12-16 Thread Ben Souther
> * 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

Re: Display of Static Resources

2004-12-16 Thread Ram Sriram
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

RE: Display of Static Resources

2004-12-16 Thread Mike Curwen
> -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 > > > >

Re: Display of Static Resources

2004-12-16 Thread Ben Souther
Take the package name out of the action attribute. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Display of Static Resources

2004-12-15 Thread Ram Sriram
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:

Re: Display of Static Resources

2004-12-11 Thread Ram Sriram
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

RE: Display of Static Resources

2004-12-11 Thread Ben Souther
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

RE: Display of Static Resources

2004-12-11 Thread Mike Curwen
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

Re: Display of Static Resources

2004-12-11 Thread Ben Souther
>> > >> > >>>Ram, > >>> > >>>Post your web.xml. Only the active parts, leave out the factory comment > >>>sections. > >>> > >>>Also what are your mappings like? > >>> > >

Re: Display of Static Resources

2004-12-11 Thread Ram Sriram
; <[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

Re: Display of Static Resources

2004-12-11 Thread Ben Souther
PROTECTED]> > >> To: "Tomcat Users List" <[EMAIL PROTECTED]>; > >> <[EMAIL PROTECTED]> > >> Sent: Saturday, December 11, 2004 12:01 AM > >> Subject: Re: Display of Static Resources > >> > >> > >>> Doug, > >>>

Re: Display of Static Resources

2004-12-11 Thread Ram Sriram
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

Re: Display of Static Resources

2004-12-11 Thread Parsons Technical Services
- 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

Re: Display of Static Resources

2004-12-11 Thread Parsons Technical Services
;[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

Re: Display of Static Resources

2004-12-10 Thread Ram Sriram
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

Re: Display of Static Resources

2004-12-10 Thread Parsons Technical Services
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

Re: Display of Static Resources

2004-12-10 Thread Ram Sriram
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

Re: Display of Static Resources

2004-12-10 Thread Parsons Technical Services
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.

Re: Display of Static Resources

2004-12-10 Thread Ram Sriram
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

Re: Display of Static Resources

2004-12-10 Thread Dakota Jack
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

Display of Static Resources

2004-12-10 Thread Ram Sriram
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