Re: Class could not be accessed

2007-06-03 Thread Georg Sauer-Limbach
Hi Louise, the key setting is the path to the crystalreportsviewer115 directory: It is set in CRConfig.xml in WEB-INF/classes. But you have probably done this right in the first place. Can you copy the exact error message about not finding any classes? Is it a Tomcat error screen? However, you n

Class could not be accessed

2007-06-03 Thread Louise Evans
Hi, We are running Tomcat 4.1.31. We are busy evaluating Crystal Reports XI R2, and as part of that evaluation I am trying to run some *.jsp's. When running the .jsp everything seems fine to be begin with, but when I try and click any button on the toolbar of the application viewed w

Re: tomcat temp directory

2007-06-03 Thread Martin Gainty
Hi Chris- did you set CATALINA_TMPDIR to your TOMCAT temp folder? M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the

Re: tomcat temp directory

2007-06-03 Thread David Smith
Tomcat doesn't have any config for the temp dir that I know of...it's more of a jvm thing. I believe Sun's jvm is supposed to delete the file when it's associated file handle is gc'd. Can you provide your OS, jdk and a chunk of sample code if how you are using the temp dir? Also assuming the

Re: jsp includes not compiling

2007-06-03 Thread David Smith
The visibility of scriptlet objects is not well defined in the jsp spec -- at least as far as I can tell. Someone will immediately correct me if I'm wrong :-). It'd probably be best to place code for retrieving the object closer to where it's used, preferably in the same scriptlet block. If

tomcat temp directory

2007-06-03 Thread Chris Pat
Hello How do I configure and access a temporary directory in Tomcat5x? Oddly I am presently writing files I want to use immediately into java.io.tempdir and it works if I access the webapp from localhost. However fails when accessed from a domain. Within the Action/servlet how to I write/re

Re: jsp includes not compiling

2007-06-03 Thread Martin Gainty
inside your jsp:include try supplying your variables thru value="<%= expression %>" http://java.sun.com/products/jsp/syntax/1.2/syntaxref1214.html + HTHM--This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email

Re: jsp includes not compiling

2007-06-03 Thread Mike Peremsky
Hmm, I went back to look. That is the syntax I use with weblogic. If I remove the <% %> from the inc file Tomcat loads the files properly. But then I cannot use logic in the inc file (e.g. if (obj != null) { } Mike Peremsky <[EMAIL PROTECTED]> wrote: Oops. I missed that. Thx Da

Re: jsp includes not compiling

2007-06-03 Thread Mike Peremsky
Oops. I missed that. Thx David Smith <[EMAIL PROTECTED]> wrote: You are already in a pair when you do GlobalConst.SO_LOGIN_OBJ %>. Why? Seems to me this would be a better expression: LoginObject loginobj = (LoginObject)session.getAttribute( GlobalConst.SO_LOGIN_OBJ ) %> --David Mike Peremsk

Re: jsp includes not compiling

2007-06-03 Thread David Smith
You are already in a <% ... %> pair when you do <%= GlobalConst.SO_LOGIN_OBJ %>. Why? Seems to me this would be a better expression: <% LoginObject loginobj = (LoginObject)session.getAttribute( GlobalConst.SO_LOGIN_OBJ ) %> --David Mike Peremsky wrote: I have used jsp includes with weblo

jsp includes not compiling

2007-06-03 Thread Mike Peremsky
I have used jsp includes with weblogic with no problems, I am using the same format of the code with Tomcat but am having issues. I include the jsp as follows: <%@ include file="/include/JspVariables.inc" %> The code in the inc file is: <%@ page import="com.drafthappy.Glob

Re: context path confusion [RequestDispatcher, servlet-mapping, MVC]

2007-06-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Skijor, Skijor wrote: > > BootStrap > / > Note that by mapping '/' to your own servlet, you are overriding the "default" servlet that usually serves requests for things like static resources. > This seems like a tomcat bug to me since I have s

context path confusion [RequestDispatcher, servlet-mapping, MVC]

2007-06-03 Thread Skijor
There may be a work-around for this but I what I really want to know is why it doesn't work. I am following the MVC design pattern in building a simple test web application using Tomcat 6.0.10 on Mac OS Tiger. MVC pattern suggests every webapp request be handled by a servlet. Static content rend