Solved

Websphere Precompiled Jsp

Posted on 2003-11-06
4
949 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
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…
This video discusses moving either the default database or any database to a new volume.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now