file « Tomcat « JSP-Servlet Q&A

Home
JSP-Servlet Q&A
1.API
2.Applet
3.Bean
4.Browser
5.Button
6.Cache
7.Character
8.Client
9.Communication
10.Compile
11.Connection
12.Container
13.Context
14.Convert
15.Cookie
16.Database
17.Date
18.Deploy
19.Development
20.Download
21.Eclipse
22.EJB
23.EL
24.Error
25.Excel
26.Exception
27.Filter
28.Folder
29.Form
30.Format
31.Forward
32.Glassfish
33.Header
34.Host
35.HTML
36.HTTP
37.Import
38.Include
39.J2EE
40.Jar
41.JavaBean
42.JDBC
43.JFreeChart
44.JMS
45.JSTL
46.Liferay
47.Log
48.Login
49.Map
50.Message
51.MVC
52.Page
53.Pagination
54.Parameter
55.Path
56.PDF
57.Post
58.Property
59.Redirect
60.Refresh
61.Request
62.Resource
63.Response
64.Security
65.Session
66.String
67.Struts
68.Table
69.Tag
70.Taglib
71.Thread
72.Tomcat
73.Upload
74.URL
75.User
76.Validation
77.Variable
78.Web.xml
79.XML
80.ZK
JSP-Servlet Q&A » Tomcat » file 

1. How to avoid temporary file creation on server-side when pushing back full HTML content to clients?    stackoverflow.com

In a server-side application running on Tomcat, I am generating full HTML pages (with header) based on random user-requested sites pulled down from the Internet. The client-side application uses asynchronous callbacks ...

2. Does tomcat 5.5 treat .jsp and .jspx files in the same way?    stackoverflow.com

I'm working on a java web-application, trying to be xml-friendly and writing my jsp files using the jspx/xml syntax. It took me hours of dissecting examples and configuration files to find ...

3. Jsp download file size    stackoverflow.com

We are running tomcat, and we are generating pdf files on the fly. I do not have the file size before hand, so I cannot direcly link to a file ...

4. How can you serve a dynamically generated file w/ Tomcat & Java technology?    stackoverflow.com

Having a hard time figuring out how to send dynamic data to a web-app's user without having to create a file & using a dynamic link to static content using java ...

5. How can i determine which servlet spec version a java WAR file uses?    stackoverflow.com

I've got a WAR that i need to deploy with TomCat, but i'm not sure which version of the servlet spec the WAR file uses. According to apache's site (http://tomcat.apache.org/whichversion.html) ...

6. where is jsp's java file    stackoverflow.com

In tomcat6, where does tomcat put the generasted java file for a JSP file? java.lang.NullPointerException at org.apache.jsp.xxx.yyy.view_jsp._jspService(view_jsp.java:164)

7. How to delete a txt file when using Tomcat and servlets?    stackoverflow.com

I'm working in an application using Tomcat and servlets. There is a servlet (audioProcess) that receives the name of an mp3 file, that is played. This servlet also processes the mp3 ...

8. how to make my files present in a tomcat server to the browser    stackoverflow.com

I have installed Tomcat 5.0 in order to execute a web application. How can I show my files which are present in Tomcat to the web browser? I tried

9. How can JRE be enough for Tomcat to handle JSP files? Why not JDK?    stackoverflow.com

Can someone clearly describe how JRE handles the JSP files which contain pure JAVA codes? I know that byte codes of JSP files are not placed in the WAR file. It ...

10. Problem with writing file in servlet deployed on tomcat    stackoverflow.com

I wrote servlet that writes an image to the root directory of my app and then delivers it to client when it gets GET request. Everything works fine when i test ...

11. How to do file I/O with a servlet running on Tomcat    stackoverflow.com

I am writing a Java servlet, using Tomcat as the container, which creates and serves PDF files to the end-user. Currently the PDF files are created in-memory and written out as ...

12. How do I list files in web folder of a different java web application    stackoverflow.com

I need to list files under a folder of a different web application. Is there a way to get this done without having to provide the actual path in a properties ...

13. Tomcat/JSP: opening a file on the server and taking a screenshot    stackoverflow.com

I'm setting up a web interface for a testing server. Some of the tests involve opening a specific file, capturing the screen, and then saving the resulting image. I use Runtime.getRuntime().exec() ...

14. Writing to file from within a servlet(Deployer:Tomcat)    stackoverflow.com

I am using the following code to write to a file from a servlet in Tomcat container. I don't worry if the files gets overwritten during each deploy.

    ...

15. jsp welcome file not called    stackoverflow.com

I have a JSP web application deployed to tomcat. The url of the application is http://servername/app The web.xml contains welcome-file-list as below.

<?xml version="1.0" encoding="UTF-8"?>
    <web-app id="mobile" version="2.4" ...

16. Why is my WAR file automatically exploded in Tomcat?    stackoverflow.com

In Tomcat, I found the .war will be automatically exploded. Is this the behavior expected?

17. png file can't show with Tomcat 7.x and JSP    stackoverflow.com

When i use images in web page:

<img src="<%=basePath%>/images/test1.png" />
it doesn't work , but when i try to do this :
<img src="<%=basePath%>/images/test2.jpg" />
it work , and they're not same picture in same ...

18. How to send a XML file under servlets on tomcat?    stackoverflow.com

I have two web services running on my tomcat lets call them X and Y. when Y is requested by X in the end Y have a String with a XML inside ...

19. Servlets and downloading files    stackoverflow.com

I want to download an image file using a javascript client. Then I want to call the servlet in apache tomcat from the applet. How do I host the file on tomcat. ...

20. servlet as welcome-file-list in tomcat 7    stackoverflow.com

I am trying to have a servlet (non-jsp) as my welcome-file in tomcat 7, and the only way I can do it is by having it mapped to "/" url-pattern, otherwise ...

21. Tomcat webapp can't find file in WebContent?    stackoverflow.com

I've lots of jsp files in the WebContent folder and also a user folder there. When the user navigates to a a file in the user folder and then tries to navigate ...

22. Export to Excel, PDF, CSV file doesn't support Arabic Language    stackoverflow.com

I have tomcat6 and use open report application in it. when i export any report as excel or pdf, it doesn't support arabic language. Please can anyone help me? you can find below ...

23. Does webapp upgrade using war file overwrite all the content of the previous web app    stackoverflow.com

Here is the scenario: We are using Linux, Tomcat stack and we deploy our webapp using war files. Basically the deployment process is as follows:

  • git pull latest
  • ant build
  • create war file
  • upload the war ...

24. Want to create a servlet that will save the posted data to a file based on a guid filename    stackoverflow.com

So I pushed my java app to a server, pretty excited about that. Now I want to test something, how can I save the posted data to my servlet to a file, ...

25. Tomcat does not pick up the class file - the JSP file is not displayed    stackoverflow.com

I have a Java code which is a controller for a jsp page, called: HomeController.java. Code is as follows:

@Controller
public class HomeController {

protected final transient Log log = LogFactory.getLog(getClass());

@RequestMapping(value = "/mypage")
public ...

26. Depoly war file in tomcat    coderanch.com

to deploy a war file you just put it in the webapps/ directory of tomcat. In a live system I usually move the webapps directory to another drive so that the server and application are protected from a failure of each other. a virtual path is one that is relative to the root context of your web applicatoin. So if the ...

27. jsp file cannot be found by tomcat    coderanch.com

28. JSP + Tomcat + File permissions    coderanch.com

Hi all! I am working on a site that allows users to upload zip files. After the file is unzipped and stored in the database I wish to delete the zip file. I am using the File function delete to do this - file.delete(); However this does not work. If I shut down tomcat and use a small app to delete ...

29. problem in running JSP file In tomcat    coderanch.com

30. File IO using JSPs & Tomcat    coderanch.com

31. where to put .java file in tomcat    coderanch.com

32. calling an exe file stored in Tomcat/webapps from JSP    coderanch.com

Sir, I want to call eclipse.exe file which is stored in Tomcat/webapps/hari/eclipse.exe from jsp,my code is <% Runtime r = Runtime.getRuntime(); Process p = null; try { p = r.exec("d:/tomcat/webapps/hari/eclipse.exe"); } catch(Exception e) { e.printStackTrace(); } %> it is not calling that exe file and no error msg too. I am able to call this exe file when it is in ...

34. Java files in tomcat    coderanch.com

35. can tomcat process other files then jsp?    coderanch.com

Hello all i have http engine that process files with extension *.ppc this engine reads the pages send to him and parses it and returns html output , it using its own script lang what i plan is to implement this engine in to tomcat . my question is can i make tomcat to read the *.ppc files other then jsp ...

36. Tomcat servlet-mapping bypass if real file requested    coderanch.com

It's usually easier to do things the other way around and set up specific mappings when you DO want to go to a servlet. This usually done with a prefix that looks like a directory /command/* or with a specific file extension like *.do. Then you don't need specific mappings for css, js, jpg, gif, pdf, and whatever else you might ...

38. Executing Servlet File using Tomcat    coderanch.com

40. Where is .tld file for in tomcat?    coderanch.com

41. My jsp file is not displayed - tomcat does not pick up the class file    coderanch.com

Hi everybody, I have a Java code which is a controller for a jsp page, called: HomeController.java. Code is as follows: @Controller public class HomeController { protected final transient Log log = LogFactory.getLog(getClass()); @RequestMapping(value = "/mypage") public String home() { System.out.println("HomeController: Passing through..."); return "home"; } } There is nothing especial in the jsp page: home.jsp. If I go to this ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.