in tomcat?
Thanks in advance!
Leon Palermo
bject,
it is not an instance of 'com.blah.blah.MyBean'; but the object's class name is
'com.blah.blah.MyBean'. Does anyone have an idea what is going on?
How canthe object's class name be 'com.blah.blah.MyBean' but not be able
to cast to 'com.blah.blah.MyBean'?
Thanks in advance!
Leon Palermo
abean);
in JSP :
com.blah.blah.MyBean abean =
request.getAttribute("thename");
regards
mahesh
-----Original Message-From: Leon Palermo
[mailto:[EMAIL PROTECTED]]Sent: Friday, May 25, 2001 2:02
PMTo: [EMAIL PROTECTED]Subject:
(EXPERTS ONLY) Bean Creation
-
From:
Bhat, Mahesh
To: [EMAIL PROTECTED]
Sent: Friday, May 25, 2001 9:20 AM
Subject: RE: (EXPERTS ONLY) Bean Creation
in Dispatch Servlet
Can you send
the example code ?
-Original Message-From: Leon Palermo
[mailto:[EMAIL PROTECTED]]Sent: Friday, Ma
ock around it for a
ClassNotFoundException.
Leon
- Original Message -
From:
Leon Palermo
To: [EMAIL PROTECTED]
Sent: Friday, May 25, 2001 9:48 AM
Subject: Re: (EXPERTS ONLY) Bean Creation
in Dispatch Servlet
Here is a very scaled down version of the
dispatch servlet. Switc
ST EXCEPTION!"); }%
----- Original Message -
From:
Leon Palermo
To: [EMAIL PROTECTED]
Sent: Friday, May 25, 2001 9:53 AM
Subject: Re: (EXPERTS ONLY) Bean Creation
in Dispatch Servlet
Mahesh,
One more thing, in the servlet the
line...
thebean =
(com.blah.blah
, I transfer the focus of this problem
away from the jsp realm to the Java language realm. Does anyone have any
idea why the compilation of imported classes would cause a ClassCastException as
previously described?
Thanks again!
Leon
- Original Message -
From:
Leon Palermo
? Thanks in advance!
Leon Palermo
Clearly then you would not be the expert I was looking for :)
Leon
Hello All,
Let me preface this email by saying that I only put 'EXPERTS ONLY'
so you hot shot programmers would actually read this email. If you
are reading this, it worked!
[ ... ]
What if we stopped reading
Yes. A single PWS or IIS web server can support both ASP and JSP
similtaniously.
Leon
I DID RTFM, but saw nothing that answered the following basic/newbie
question:
On both IIS/ASP and PWS/ASP environments, can subject sets of pages both
be
handled? (I.e., would foo.asp and foo.jsp each
The compiled JSP uses 'out.write(blah blah)' for pure String output and it
uses 'out.print(myobject.getString())' for expressions that return Strings.
Hi,
I'm stumped. I have a need to understand why when I compile
against JspWriter.print(String), I'm getting a compliant
about ambiguous
with the
correct package statement compile into the appropriate folder? Thanks in
advance!
Leon Palermo
Hello,
I have set up my database tables and the appropriate RequestInterceptor in
my server.xml file. Can someone show me an example of what should be in the
web.xml file (including roles) to utilize the JDBCRealm? Thanks in advance!
Leon Palermo
Hello,
I have set up my database tables and the appropriate RequestInterceptor in
my server.xml file. Can someone show me an example of what should be in the
web.xml file (including roles) to utilize the JDBCRealm? Thanks in advance!
Leon Palermo
:498)
at java.lang.Thread.run(Thread.java:484)
Here is the code in the jsp:
jsp:include page="/includes/afile.jsp" /
Anyone know what the dealis?
Thanks in advance!
Leon Palermo
application.setAttribute("aName", anObject)
what is the equivalent to session.setAttribute("aName", anObject) but
whith
an application scope
thanks
Hello,
I am loading a .properties file from a jsp. Where should the properties
file reside so that I dont need to use application.getRealPath("/")? The
file is found when I put it in tomcat/bin, but shouldn't it be found by
putting it in the /web-inf folder specific to my application
You also can put any .properties files your apps
use in TOMCAT_HOME/bin and they should find them.
-Leon
- Original Message -
From:
Ivan
To: [EMAIL PROTECTED]
Sent: Wednesday, November 01, 2000 12:41
PM
Subject: RV: Problems finding properties
files
Saleem,
I had problems with the PWS/Tomcat configuration as well. I could not get
tomcat 3.1 to run with it. Then I got they isapi_redirect.dll from the
Tomcat 3.2.6 release and was able to run Tomcat with PWS. You also need to
be sure to add the appropriate lines to the
class which calls the .dll:
%@ page session="false"%
html
body
%DllTest.test(out);%
/body
/html
The results should be:
Test String
array element0=first
array element1=second
...
I hope all of this helps. And don't worry about the English; I am sure I
don't speak your language well
Instead of redirecting, try forwarding like
this:
getServletConfig().getServletContext().getRequestDispatcher("/jsp/forwardto.jsp").forward(request,
response);
Leon
- Original Message -
From:
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, October 30, 2000
Startup.bat opens tomcat in a new window and then has no control over the
starting window. Instead of running startup.bat you could run 'tomcat run'
from the DOS prompt and tomcat would run in the same DOS window.
why the command prompt window will not close after i started tomcat?
.).
Leon
Hey Leon,
what would you like to do with the java.awt package on
the server side?!?!?!
Drasko
--- Leon Palermo [EMAIL PROTECTED] wrote:
Hey everyone,
I have some server-side imaging classes that don't
seem to find the java.awt
package through tomcat. I even manually added
problems.
Leon Palermo
Zedak Corporation
Valhalla, NY
All,
I've configured a context to be run in a separate application directory
(i.e. not webapps) however I've noticed something odd, the WAR file
doesn't get auto-expanded. e.g.
in server.xml:
context path=/admin
docBase
24 matches
Mail list logo