page « Tomcat « JSP-Servlet Q&A





1. Can't import simple class/package into a simple JSP page using Apache Tomcat    stackoverflow.com

Can someone please walk me through the process of loading a class or package in JSP with Tomcat? I think it might just be a Tomcat setup issue :S my JSP file ...

2. Apache is incorrectly converting jsp pages to "text/plain"    stackoverflow.com

I've got a fairly normal setup in which Apache proxies requests to a servlet running inside Tomcat over the AJP protocol. We've run this setup on Apache 2.0.46/Tomcat 5.0.28 for ages ...

3. When to use Servlet versus JSP Pages in Tomcat?    stackoverflow.com

We have been debating between using servlets or JSP pages and we want to know what the common uses of one versus the other. If you read any online guide ...

4. Tomcat Comets application returns .jsp page instead of weather data    stackoverflow.com

I have implemented the Comets tutorial at http://www.ibm.com/developerworks/web/library/wa-cometjava/#N100CC It seems like I am getting data returned from the server using the Comets technique - i.e. being pushed to the browser. ...

5. How can i get error page from a servlet?    stackoverflow.com

i am using tomcat, i defined some error-page in web.xml and mapped 404 error to page /error/error.jsp, but i need a servlet to detect if the resource exist, i want to ...

6. efficient way to create a xls file in a jsp page    stackoverflow.com

what is the most efficient way to create a xls file in a jsp page? I created an xls file using poi in jsp page, but if not the most efficient. Thanks

7. How solve these error using tomcat server in eclipse for deploy jsp page?    stackoverflow.com

HTTP Status 404 - /JspTest1/


type Status report message /Projectname/ description The requested resource (/Projectname/) is not available.

8. Tomcat ignores my custom error servlet/page    stackoverflow.com

I have an issue which drives me crazy. Not sure it this is a bug in Tomcat or just my plain stupidity but here goes. I have a custom error servlet set ...

9. Need a CRUD tool to create admin pages for a Tomcat app    stackoverflow.com

For a JSP/Servlet based app (not using any other fancy Java framework) running on Tomcat and accessing data on SQL Server 2008, what the easiest way to create simple admin pages ...





10. Setting JSP page syntax to JDK 1.5 on Tomcat 5.5    stackoverflow.com

I have read in the Tomcat doc that its possiable to send to the Tomcat server with a JSP page what JDK to compile it with, the question is how? The reason ...

11. How to write trivial JSP that just returns static XML page    stackoverflow.com

I'm trying to write a trivial JSP that returns the contents of a static xml file. I need to run this in tomcat. Eventually, this will be more dynamic, but at ...

12. How is a JSP page detected and converted to a Servlet by Tomcat?    stackoverflow.com

Is a JSP page detected by the page extension of .jsp only? Is there any other way it can be detected?

13. How can I use the same error page for multiple error codes in Tomcat?    stackoverflow.com

I'm trying to send plain text error messages from a tomcat servlet, so that the responses may be presented to the user by the application. I have the following in my web.xml:

<error-page>
 ...

14. Invoking HTML page inside war file from explorer    stackoverflow.com

I am new to Servlets. I have created a basic HTML createStudent.html. The HTML page invokes a servlet in the form action. I am using Eclipse & Tomcat 6.0. I ...

15. Missing HTML comments in JSP page    stackoverflow.com

I am writing a web app using Spring Roo hosted in a Tomcat 6/7server. I have added HTML comments into the *.jspx pages however they are not being sent to the client ...

16. I cannot launch java method from jsp page    stackoverflow.com

I upload jsp file (index.jsp) and java file (easyTesting.java) on server and cannot launch the method from easyTesting.java. Use : TomCat 6 on UNIX , server version 5.1.41-3ubuntu12.10 this is ...





17. about config of tomcat for counting hits of index page    coderanch.com

Hello guys, I have to count the hits of Pages of index page. So is there any facililty that i can have opening page "index.jsp" to count the hits in tomcat server. I think it's more on admin part which i have to set it during configuration. Can any body tell me about how to go for this on local server ...

18. Tomcat only serves one page at the same time    coderanch.com

Hi! I have configured succesfully a WinNT/Apache1.3/Tomcat4/MySQL/Cocoon architecture. Well, theres only one problem. When I try to request a *.jsp from 2 browsers at the same time, Tomcat doesnt return results (loads forever). I think that happens only during the first request, when Tomcat generates the servlets. However, I am not sure and worried about Tomcats performance. Is this just a ...

19. own "error report" page in Tomcat    coderanch.com

Hi, all. I use tomcat 4.0.3 and I try JSP/Servlet. When I invoke a page, which doesn't exist I got "default error report page", what contens this message: "HTTP Status 404-FILENAME...(/FILENAME) is not available." For example: I don't have file "nopage.jsp". So, when I write in browser "http://localhost/nopage.jsp" then I got message "HTTP Status 404-nopage.jsp..(/nopage.jsp)is not available." How can I do ...

20. error-page with tomcat 4.1    coderanch.com

Hi ! 401 /errorpage.jsp Trying to display an error page when an un-authorised access or 401 status code is been generated. However, on accessing that application it just displays the error page rather than providing with a dialog and furthur after 3 trials then displaying the error page. Also, note that if this error-page tag is removed from web.xml ...

21. How to develop crosstab reports in JSP-Page (TOMCAT)    coderanch.com

Hi All, 'am using HTML + SERVLET/JSP + TOMCAT + ORACLE... how can i develop crosstab reports that contains data fetched from the backend (oracle), dynamically at runtime.. like my requirement is, i have one jsp page that should contain 2 textfields->FromDate,ToDate. 1 Listbox ->contains data fetched from backend. 1 Button. User enters some FromDate, ToDate & chooses some department from ...

22. tomcat 5 and error page    coderanch.com

24. Changing the default Page in Tomcat    coderanch.com

25. custom error page in tomcat    coderanch.com

hi, I have a problem in putting custom error page for our application, I did the following steps in tomcat-4.1.24 1.created one errorPage.jsp placed it in the webapps\context-root\errors 2. I have added the following tag in the web.xml java.lang.Exception /errors/errorPage.jsp 3. a)if I access a page which already has a error it is giving pagenot found exception default page. ...

27. tomcat not able to execute jsp pages    coderanch.com

28. JSP Page Translation + Tomcat    coderanch.com

30. setting up a jsp page that imports a java class under tomcat    coderanch.com

i want a step by step guide on setting up a java class , jsp page under tomcat. i want the jsp page to instantiate the java class and invoke a method in the java class. i tried that but what i get is that the import statement in my jsp page cant resolve the java class name i suspect i ...

31. HTML page-tomcat servlet interaction    coderanch.com