compile « J2EE « JSP-Servlet Q&A





1. Why WebSphere 6.1 (JDK 1.5 Compliant) compiles my JSPs as JDK 1.4?    stackoverflow.com

Our web application is JDK 1.5 compliant, and is running succesfuly on WebSphere 6.1 However, some JSPs we have that contain Java code in 1.5 syntax fail to compile by WebSphere. It seems ...

2. JSP compilation fails on Weblogic 10.3 but works on Weblogic 10    stackoverflow.com

I have below piece of code in one my JSP

<%@ page language="java" import = "import com.ecc.SiteAdmin.servlets.*" %>
This file compiles and works fine on Weblogic 10 with Sun JDK 5, but fails ...

3. How "duplicated" Java code is optimized by the JVM JIT compiler?    stackoverflow.com

I'm in charge of maintaining a JSP based application, running on IBM WebSphere 6.1 (IBM J9 JVM). All JSP pages have a static include reference and in this include file there ...

4. Reload/Compile Jsp pages after updating XML file on webserver    stackoverflow.com

I am running a jsp page (with some jar files) on a Tomcat webserver. On the page I am updating a XML file on the server based on the users input. ...

5. jsp in a html frameset not compiled : weblogic    stackoverflow.com

I have this simple code :

<%@ page import="java.io.*"%>
<%@ page import="java.util.Properties"%>
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Vijay's TEst</title>
</head>
<frameset rows="17%,*">
<frame name="header" src="test_headers.jsp" scrolling="no" noresize frameborder="0" />
</frameset>
</html>
But the problem is I get a Error ...

6. How to pre-compile jsp file in RAD 8.0?    stackoverflow.com

We are using RAD 8.0 as IDE and we want to pre-compile jsp while building the project itself. This feature can be found in RAD 7.0 at:

Window > Preferences > Web ...

7. get a error compiling jsp in jbuilder6,but it is right under weblogic. what's wrong    coderanch.com

I create a jsp file just for out print hello. the jsp can work under weblogic. but it will get an error under jbuilder6. I use the tomcat4.0 ships with jbuilder. ------------------------------------------------- ------------------------------------------------- the exception is: type Exception reportmessage Internal Server Errordescription The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.exception javax.servlet.ServletException: Servlet.init() for ...





10. JSP compilation error on WebSphere    coderanch.com

11. Problem with my jsp compilation/Java mail    coderanch.com

I have two jsp file: First one contain form for filling the mail part,called custumers_feedback.jp and the second for executing the first entered information,called mail.jsp First file:custumers_feedback.jsp,Its code is: Untitled Document ...

12. Reload/Compile Jsp pages after updating XML file on webserver    coderanch.com

Hi everyone, I am running a jsp page (with some jar files) on a Tomcat webserver. On the page I am updating a XML file on the server based on the users input. The XML file is successfully updated (as I can see the new lines when opening the file) but I can not access the inserted data through my jsp ...

13. How do I access a file in .war from compiled jsp?    java.net

> To access a file which is in my archive I usually use the method > getResourceAsStream which is part of java.lang.Class > > -----Original Message----- > From: glassfish@javadesktop.org [mailto:glassfish@javadesktop.org] > Sent: Wednesday, February 03, 2010 5:01 PM > To: users@glassfish.dev.java.net > Subject: How do I access a file in .war from compiled jsp? > > First Post. > > Hello ...