0
votes
0answers
55 views

error in getting output of jsp pages in apache tomcat 7.0.53

How can I get the output of javascript page in Apache-tomcat-7.0.53? I am trying to design a web page using javascript in Apache tomcat 7. I have created sub folder under webapps i.e hellojsp and ...
0
votes
1answer
121 views

How to create new Servlet and JSP project on Ubuntu?

I've installed Tomcat 7, javaservlet 3.0 and openjdk 7. I read that I need to install Eclipse and Web Tool platform (from eclipse) but I can't find it. I install few packages from eclipse there is no ...
0
votes
3answers
1k views

Tomcat 7 Throwing Unsupported Class Version Error

I'm setting up a Tomcat server to host JSP sites. I have created a test application in Eclipse to make sure everything is working. All it does is print text in JSP, then call a function in a custom ...
0
votes
1answer
378 views

How do I ensure the Context Path is the same when accessing a web app via Apache (proxy pass - port 80) and tomcat (port 8080)?

I have written a web app in Java/J2EE and am deploying it using apache (ec2 micro instance) to forward requests from port 80 to port 8080 (same machine). My httpd.conf looks like the following: ...
1
vote
1answer
656 views

Create tomcat war file from static web dir

I created a simple web application that consists of a dir with html, css, js. No server code. For reasons complicated to explain, my administrator insists on turning it into a .war file, so that it ...
0
votes
1answer
81 views

What percent of time my app server spends rendering html

My employer asked me this and I'm trying to figure out ways to measure this. We have have several applications - some Java with Tomcat and some .NET under IIS. To make things a little easier on ...
-1
votes
1answer
949 views

tomcat cannot write files into WEB-INF folder

I used cpanel+tomcat .the Project structure is : ROOT ----index.jsp ---- sample.txt ----- /WEB-INF/classes/pack2/sample2.txt tomcat Can write into sample.txt with permission 664 . but cannot ...
0
votes
1answer
305 views

how set owner of file cms.war for ftpuser and owner of cms folder for tomcat user?

I'm using Tomcat Server. I woiuld like the owner of the file cms.war to be the ftp user the tomcat user to be the owner of the cms/ folder. When I uploaded cms.war it was automatically deployed in ...
0
votes
3answers
465 views

Can JSP/ JSF be hosted in shared hosting plans?

I want to use JSF with Facelets/JSP in my website. Can I get Java hosting in shared hosting plans ? I want to re-develop a business website for my client's company.
0
votes
1answer
348 views

How to host web application in apache tomcat

I created a small web application in Java using eclipse. Now I want to host it in apache in my local machine. How to do this? I want some simple instructions not very technical details. Thanks in ...
3
votes
2answers
7k views

Tomcat 6: Access Control Exception?

I'm trying to setup a tomcat6 server, and I'm trying to match another setup someone else established. However, my deployment (default Ubuntu install) uses a policy.d/ directory structure, and the ...
0
votes
1answer
302 views

Cache JSP ByteCode with Tomcat?

Is there any way of caching the bytecode for JSP-powered sites with Tomcat? I'm getting really fed up of Tomcat taking up all the CPU for 10 minutes while it compiles 4 different webapps every time I ...
1
vote
1answer
217 views

Why does Tomcat try to use the cache when compilation failed?

For some reason, it appears Tomcat is trying to hit its compilation cache when compilation failed. For example, if I create a JSP containing nothing but Hello, <%=world%>!, predictably, I get ...