Solved

Websphere Precompiled Jsp

Posted on 2003-11-06
4
955 Views
Last Modified: 2013-12-10
I've precompiled Jsp, packaged in my WAR file. How to configure
websphere 5.0 to load my class (precompiled jsp) when there is a request
for jsp files.  

It's actually trying to generate the class file in some temp folder, its not
taking my class file.

I would like to know, how to give the servlet-mapping in web.xml, because
the precompiled files are in org.apache.jsp package by default & my jsp
file names are not unique... (or)  is there any other way i can do it...



Thanks in Advance
Arru_in
0
Comment
Question by:arru_in
4 Comments
 
LVL 2

Accepted Solution

by:
dyanet earned 200 total points
ID: 9736262
Pre-compiled jsps have to follow the exact structure inside the temp folder, and need to be compiled against the exact same JDK, servlet API and jsp compiler api - and - have a date equal to or newer than the actual JSP pages.  Then, they can be deployed into the temp folder.  So, in short, it cannot be done in the way you are mentioning.

You may be having classpath problems and your pages are not compiling, or you may want to deploying them as servlets.
0
 
LVL 1

Assisted Solution

by:fschutte
fschutte earned 200 total points
ID: 10090769
Simple alternative for your pre-compilation is to have a client call all possible jsp files once. This at least assures that you use correct ibm jdk etc.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question