Solved

Websphere Precompiled Jsp

Posted on 2003-11-06
4
956 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Switching from Oracle Weblogic to JBoss 2 222
Weblogic Logs 4 187
Https with tomcat. A myth. 5 123
how to use external config file with Spring MVC 4 183
-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 …
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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