Questions tagged [jsp]

Based on Java Servlet technology, JSP (JavaServer Pages) allows the platform-independent development of dynamic web applications.

Filter by
Sorted by
Tagged with
1 vote
1 answer
567 views

Java multiple HttpSession IDs for the same user

I have some problem with sessions. When I try my project from local sources and refresh several times a JSP that contains the following code: <h1>Session ID=<%=session.getId()%></h1>...
user avatar
  • 213
0 votes
1 answer
5k views

Unable to start Tomcat8 because of org.apache.catalina.core.JasperListener?

I cannot start Tomcat8 because of the Jasper Listener, When I start Tomcat8 I got this message: org.apache.catalina.startup.Catalina.load Catalina.start using conf/server.xml: Error at (30, ...
user avatar
  • 143
0 votes
1 answer
209 views

Execute JSP files in IIS7 and Tomcat6

I want to execute JSP files in on Windows Server having IIS7, Tomcat6 and Java 1.6 installed. Already Installed: Java 1.6 IIS7 Tomcat6 BonCode Apache Tomcat AJP 1.3 Connector Current scenario: I am ...
user avatar
1 vote
1 answer
811 views

Tomcat to hadle only JSP - Apache proxy not working as expected

I've been given some source code for a PHP project that includes a .jsp file. I am able to run it as-is on my XAMPP set up on my Mac at work but I'm struggling to achieve the same on my Ubuntu setup ...
user avatar
-1 votes
1 answer
25 views

What can be turned into a docker image?

Assume I have the the following VM: -Centos -JRE 1.8 -Tomcat -Jar dependencies -My WAR file + all the server configuration files Now can I turn this whole thing into one Docker image, excluding the ...
user avatar
0 votes
1 answer
808 views

Can I deploy a war or java web application into Azure with git?

I allways use control version to develop webs and apps. Now we will make an java web app and deploy it in Microsoft Azure and I've seen that you can upload content with git. But in the case of java ...
user avatar
  • 516
0 votes
1 answer
123 views

.War updates for Jboss

There is a .war file running well in JBoss environment. I need to update some little logic in some of the .jsp files. The steps I followed was First I change the extension to .zip extract out a ...
user avatar
1 vote
0 answers
1k views

JSF stylesheets missing with nginx

I developed a simple JSF application, using Glassfish4 as the application server. Currently it has only one page with administration things. When I run this on localhost everything seems to be in ...
user avatar
  • 111
-1 votes
1 answer
222 views

Apache Tomcat standalone or with nginx or apache?

I will be rolling out a fairly big project that will be running on Tomcat. I will have a linux VPS for it (Debian). i wanted to know if it is recommended to run it by itself or behind a httpserver ...
user avatar
0 votes
1 answer
6k views

Tomcat localhost page showing HTTP500 but I can access the 'sample' war / app but no others - Jenkins installed

I'm trying to set up my server properly so that I can run servlets on it with the help from Jenkins. Within the webapps folder are two war files. One for jenkins and one for the sample from apache....
user avatar
  • 139
0 votes
1 answer
1k 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 ...
user avatar
  • 230
0 votes
3 answers
14k 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 ...
user avatar
  • 1
1 vote
1 answer
3k 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: <...
user avatar
-1 votes
1 answer
596 views

Load balancing multiple PHP sites and JSP sites using Apache Server

I've been trying for the last couple of days to get this small (i though) scenario working. Small drawing of my architecture.       request     &...
user avatar
  • 1
5 votes
2 answers
14k 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 ...
user avatar
  • 2,177
0 votes
1 answer
152 views

JSP Content Issue in Tomcat

There is one application where I work where there are still manual builds used i.e manually moving the servlet classes and jsp files from Dev to QA and finally to Prod. This is the method used in ...
user avatar
3 votes
2 answers
22k views

Caused by: java.net.SocketException: Software caused connection abort: socket write error [closed]

I running JSP on Oracle 11g, Weblogic 10.3.4. I have 2 managed server and a oracle admin server installed. I am encountering an error where intermittently the log file of the 2 managed server and ...
user avatar
0 votes
1 answer
292 views

plesk+ tomcat + mod_jk + jsp gives 404

I trying to install myhello-world.war to plesk tomcat5, I doing "install java webapp", but when i go http://domain.com/mytomcat-helloworld/pages/myhelloworld.js I getting: 404 /mytomcat-helloworld/...
user avatar
  • 117
0 votes
1 answer
178 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 ...
user avatar
2 votes
1 answer
3k views

IIS 7.5 and Tomcat Setup: Error 500.19

I am setting up a 64-bit IIS 7.5 / Tomcat 7.0.26 server and I have received the following errors when I navigate to http://localhost - Error Summary HTTP Error 500.19 - Internal Server Error The ...
user avatar
1 vote
2 answers
3k views

Tomcat session managment - independent session in one host

I have simple jsp-site on tomcat. To work with session I use simple jsp session object. But I need some sessions isolation in my web directories e.q. mysite.com/dir1 mysite.com/dir2 I want to use ...
user avatar
0 votes
2 answers
4k views

Tomcat thread consumes maximum CPU

We have a Tomcat 7.0.21 server running on OpenJDK Server VM (20.0-b11 mixed mode). The webapp runs well for usually several hours or days after startup - typical CPU load is 1-2%. At some point, the ...
user avatar
0 votes
1 answer
794 views

JSP: Trying to configure Apache2 + Tomcat6 using mod_jk

I'm trying to configure Apache2 + Tomcat using the mod_jk on an Ubuntu 10.04. I installed everything and configured, but it always returns the source code of my JSP files. I've read around that the ...
user avatar
0 votes
1 answer
184 views

Are there any JSP File for manage PostgreSQL database?

1. I need jsp file to manage PostgreSQL database?! Anyone know JSP file for manage PostgreSQL database?! 2. How I can connect to remote PostgreSQL Server with Webmin?!
user avatar
  • 17
-1 votes
1 answer
3k 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 ...
user avatar
0 votes
1 answer
7k views

How can I redirect a JSP to use HTTPS

My web app is running, so that access to /admin/login.jsp happens over an unsecure HTTP connection. I do not want to change web.xml file. How can I change access to /admin/login.jsp from HTTP to ...
user avatar
0 votes
1 answer
1k views

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

I'm using Tomcat Server. I would 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 ...
user avatar
1 vote
1 answer
6k views

Tomcat Not Accepting Username/Password for Manager GUI

Tomcat 7 on Arch Linux. Was working before but I screwed it up so this is now a fresh install (removed package, dependencies, cleaned cache, rebooted, reinstalled, restarted). I try to log in to the ...
user avatar
1 vote
3 answers
6k views

Jquery/Javascript not working when accessing webpage through system IP instead of localhost

I don't face this problem while working on localhost only when I access the page using the IP address of my system this happens and it only happens with IE (works on all other browsers). By the way I'...
user avatar
  • 121
0 votes
3 answers
1k 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.
user avatar
2 votes
1 answer
95 views

Will JSP Modification remain after Tomcat restart?

A war file is deployed in Tomcat 6 on Solaris 10. antiResourceLocking is not set to true. A change is to be made to a JSP in the application folder(exploded from the war file). No restart is made. If ...
user avatar
  • 43
0 votes
1 answer
618 views

How to set up a web server to serve jsp files in Fedora 15?

I have installed Fedora 15 on my system. Installed Web server using the command sudo yum groupinstall "Web Server" Have it running successfully at port 80. The files are put in "/var/www/html". It ...
user avatar
1 vote
1 answer
4k views

How do I figure out why a tomcat6 webapps dir symbolic link works on one machine, but not another?

I recently built an Ubuntu virtual machine for MarkLogic development. The machine was then distributed to 4 other developers to provide a consistent dev platform. Now I'm setting up another piece to ...
user avatar
  • 218
1 vote
1 answer
1k views

tomcat on windows + pages can not link to CSS

we have tomcat on a windows server that everyone on the devteam can access. on this machine the stylesheet/.js links work fine. i copied the war down to my local machine and installed apache on my ...
user avatar
  • 11
0 votes
1 answer
313 views

Error with hosting a jsp file in Apache Tomcat 7.0.8

I have little experience with hosting and administering jsp sites in Apache Tomcat 7.0.8. Today I tried to host a site Apache Tomcat 7.0.8 but its giving me error like following: Bad Gateway The ...
user avatar
  • 101
1 vote
1 answer
4k views

Creating a configuration based virtual directory in WEB-INF

Within a web application I want to create a "virtual directory" that lives under the WEB-INF directory. In effect what I am trying to accomplish is the same effect as creating a soft link in the ...
user avatar
  • 121
2 votes
1 answer
1k views

Apache sends 400 instead of 404

I've got an odd problem. Apache is replying with a 400 error code instead of 404 when ever a client requests a non existing jsp page (html request are answered correctly with a 404). The only time ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 518
0 votes
1 answer
244 views

Apache forward JSP pages to Tomcat?

I have an Apache Server, in which my website running. But there are some JSP pages in my website. I have to forward my JSP pages and servlet to Tomcat. How can I make that possible?
user avatar
  • 103
1 vote
1 answer
1k views

Websphere 7: Getting 'Internal Server Error' when accessing JSPs. Servlets ok

I have just installed WS 7 on our stage server. The test server was done some months ago. I have deployed the same applications to stage as on test. One application is causing me problems. I call ...
user avatar
  • 181
0 votes
1 answer
391 views

Is it possible to make apache also work for jsp pages?

I've used wampserver for serving PHP requests. Now I want to use jsp,is it possible for apache? Otherwise I have to install tomcat,is there a wampserver alike tool out there?
user avatar
  • 2,997
3 votes
2 answers
10k 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 ...
user avatar
0 votes
1 answer
493 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 ...
user avatar
1 vote
1 answer
632 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 ...
user avatar
  • 294
2 votes
2 answers
2k views

JSP / Tomcat / Apache setup overview on Fedora Core

For someone with so much Java experience, boy do I feel clueless - thanks in advance for your help in my grocking the present (Feb, 2010) JSP environment. Here's what I am hoping to learn: Do I ...
user avatar
  • 1,128