OK, sounds familiar.

This fix is assuming that the JSP page works correctly.

When Websphere compiles the JSP page into a Servlet, the actual code for the
JSP page will be located in
c:\websphere\appserver\servlets\pagecompile\_%HTMLDirectory%_%JSPpage%

Where HTMLDirectory is the same as your HTML Page Structure and the
%JSPpage& reflects your JSP page with a _xjsp.java or _xjsp.class extension.
You can open the .java file and look at the Servlet that Websphere creates
from your JSP page.  This can be helpful in trying to debug.

You will notice as well, the c:\websphere\appserver\servlets\pagecompile\etc
directory.  Under this directory there is a structure that reflects the HTML
page structure.  Delete all references to your JSP page from both of these
directories.  This will force Websphere to recompile the JSP.  You will have
to turn the Websphere Servlet service off to delete these files and
directories.  If you still get the problem, your JSP page has an error.

Another angle is to call the JSP's from outside the Frame page.  Websphere
can get kind of overloaded by having to compile more than one JSP at a time.
Feel free to write back if you have any other questions.

Matthew S. Butler
Butler Computer Solutions, Inc.
225-312-0355
[EMAIL PROTECTED]


-----Original Message-----
From: Crump, Phillip [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 02, 1999 12:08 PM
To: 'Matt Butler'
Subject: RE: Frames and JSP


Thanks for your help..
We are using Websphere 2.0.3, On an NT box..

Thanks Again..

-----Original Message-----
From: Matt Butler [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 02, 1999 10:26 AM
To: 'Crump, Phillip'
Subject: RE: Frames and JSP


Hey Phillip,

Never got an answer, but I found out the answer myself.  First off, I need
to know what platform, Servlet Engine, http server etc. that you are using.
I usually only got this response from Visual Age Java Test Environment.
Send me that info back and we will move forward.

Matt

-----Original Message-----
From: Crump, Phillip [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 02, 1999 9:57 AM
To: 'Matt Butler'
Subject: RE: Frames and JSP


Matt.. Did you ever get a response to this question??, I'm in the same
boat..
Thanks

-----Original Message-----
From: Matt Butler [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 10, 1999 4:40 PM
To: [EMAIL PROTECTED]
Subject: Frames and JSP



Hey All!

Here's the situation.  Five frame window.  Header frame, Tab Frame, Left
side JavaScript tree view frame, right sight top/bottom detail frames.  HTML
file code:

<html>

<head>
<title></title>
</head>

<frameset framespacing="0" border="false" frameborder="0" rows="33,*">
  <frame name="banner" scrolling="no" noresize target="contents"
  src="../Tabs/tab_txpr_exl.htm">
  <frameset framespacing="1" border="true" frameborder="1" cols="220,*">
    <frame name="contents" target="main" src="../JSP/Tree/TxprExl.jsp"
scrolling="auto">
    <frameset framespacing="0" border="false" frameborder="0" rows="77,*">
      <frame name="registration" scrolling="auto"
src="../JSP/Registration/Registration.jsp">
      <frame name="main" scrolling="auto" src="../JSP/Account/Account.jsp">
    </frameset>
  </frameset>
  <noframes>
  <body>
  <p>This page uses frames, but your browser doesn't support them.</p>
  </body>
  </noframes>
</frameset>
</html>

The JavaScript treeview calles the Servlet and the it uses callPage to call
the correct JSP page to the bottem detail frame.

Code for call from Servlet:

((com.sun.server.http.HttpServiceResponse)
res).callPage("/Artist/Jsp/Account/Account.jsp", req);

The Account.JSP file is also the first file that is loaded in the HTML
definition of the Frame.  When I try and call this JSP page again, I get
this error in the browser.

Error getting compiled page.
Internal Error:  Cant load page compiled class {0}: {1}.

Any Ideas?

Thanks,

Matthew S. Butler
Butler Computer Solutions, Inc.
225-312-355
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to