Tomcat 5 « Tomcat « JSP-Servlet Q&A

1. Migrating from Tomcat 5.5.x to 6.0.x

I'm migrating an mature application from Tomcat 5.5.x to 6.0.x. What are the sticking points that I need to make sure that I address? I use a couple of Tomcat's services ...

2. Detecting client disconnect in tomcat servlet?

How can I detect that the client side of a tomcat servlet request has disconnected? I've read that I should do a response.getOutputStream().print(), then a response.getOutputStream().flush() and catch an IOException, but ...

3. Tomcat 5.5 Don't Find My Servlet

I've compiled the source into the class Files, then putted at the folder:

Tomcat 5.5\WEB-INF\ROOT\classes\Files.class
And added this to the web.xml file:
But when I tried ...

4. How to change Java version used by TOMCAT?

I have Java 1.6 installed in my system and I do have Tomcat 5.5 installed in my system. But Tomcat 5.5 accesses Java 1.5 and hence as the outcome I get the ...

5. Processing Java servlet 'javax.servlet' package not found

Not a very common implementation, but using Processing as a Java Servlet has been discussed in previous posts before (1, 2). I have been developing a program in ...

6. Tomcat: How to share data between two applications?

Is there any way to share data between to JSP applications using Tomcat 5.5? The applications are running in the same server. The shared data should not persist in the system for many ...

7. With Tomcat 5.5, how can I programmatically locate a specific servlet instance or add new mappings?

I understand that this is normally not done, and I've found a number of instances of this question around the web with answers of the sort: "Your design is wrong if ...

8. Seam 2.2.0 GA on Tomcat 5.5, problem with JSP version?

I really don't know what to do now. I tried to copy jsf-api.jar and jsf-impl.jar (that $SEAM-HOME/lib just as example tomcat55 build script from examples/hiberante uses) directly to $CATALINA-HOME/common/libs, I even tried to add there jstl.jar and standard.jar from tomcat jsp example like Tomcat domcumentation advises here: but it didn't help. Has anyone came across similar problem?

9. Help!Tomcat 5 server

10. How to use JSP in Tomcat 5.0.19

11. Problems with jsps in tomcat 5.0.25

12. JSP is not working @ Tomcat 5.0

Hi, First clear your cache , through the IE browser - Tools - Internet Options - Delete files (Temporary Internet Files) . Check "Delete all offline content". Then restart Tomcat . Check again. Otherwise, Uninstalling it is the only option. Please check also the file name you are entering. I hope this helps.

13. blank index.jsp on Tomcat 5.5.9

I have an index.jsp that redirects to a jsf page. <% response.sendRedirect("welcome.jsf"); %> I tested it and it works fine on my development computer with JBoss/Tomcat 5.5 I then uploaded it to my web server and now I get a blank page instead of the redirect. However I know the webapp was deployed because if I type in /welcome.jsf the page ...

14. Getting started with JSP-Servlet using apache-tomcat-5.5.17

Hi all, I'm trying to run an example which display fist - a login page. Then there is a call to servlet which retrieves user name and finally displays welcome message to the user. My directory structure.. 1) Root directory : TOMCATE_INST_DIR\webapps\onJava 2) login.jsp : TOMCATE_INST_DIR\webapps\onJava\login.jsp 3) welcome.jsp : TOMCATE_INST_DIR\webapps\onJava\welcome.jsp 4) web.xml : TOMCATE_INST_DIR\webapps\onJava\WEB-INF\web.xml 5) servlet class : TOMCATE_INST_DIR\webapps\onJava\WEB-INF\clssses\com \onjava\login.class My ...

15. Scriptlet getting ignored by Tomcat 5.0

Hi Ranchers, I have written 1 JSP with a System.out.println() statement in the scriptlet . However it has been observed that the scriptlet code gets ignored by the tomcat and rest of the stuff is getting rendered properly. I am using tomcat 5.0 (exicutable version) and also I checked it out that in web.xml there is no entry for tag ...

16. Servlet Problem In Tomcat5

19. Servlet Chaining In jakarta Tomcat 5.0.27

Servlet chaining is something that early servlet containers used to process requests in a pipelined way. It was never part of the Servlet specification, and I don't think Tomcat has ever supported it. To achieve similar aims, check out the Servlet Filter concept. It allows you to have several pieces of code work on a request successively. Alternatively, you can use ...

21. Tomcat 5.0.28 and servlets

mmm .. okay .. so i even tried without the servlet part, and didn't work (i got that from one site teaching about servlets, they said it is required to call using /servlet/) can you give me a small checklist of what i should have so that the servlet can be called / will work correctly really appreciated dude Best, Mohammad ...

23. Problem in with Tomcat 5.0 to run jsp

25. Need Help in Running Servlet in Tomcat 5.5.12