Solved

Websphere Precompiled Jsp

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

-Xmx and -Xms are the two JVM options often used to tune JVM heap size.   Here are some common mistakes made when using them:   Assume BigApp is a java class file for the below examples. 1.         Missing m, M, g or G at the end …
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

863 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

20 Experts available now in Live!

Get 1:1 Help Now