Encryption with javax.crypto.*

2001-06-20 Thread Leon Palermo
in tomcat? Thanks in advance! Leon Palermo

(EXPERTS ONLY) Bean Creation in Dispatch Servlet

2001-05-25 Thread 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

Re: (EXPERTS ONLY) Bean Creation in Dispatch Servlet

2001-05-25 Thread 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

Re: (EXPERTS ONLY) Bean Creation in Dispatch Servlet

2001-05-25 Thread Leon Palermo
- 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

Re: (EXPERTS ONLY) Bean Creation in Dispatch Servlet

2001-05-25 Thread Leon Palermo
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

Re: (EXPERTS ONLY) Bean Creation in Dispatch Servlet

2001-05-25 Thread Leon Palermo
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

Re: (EXPERTS ONLY) Bean Creation in Dispatch Servlet

2001-05-25 Thread Leon Palermo
, 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

CLASSLOADERS!

2001-05-25 Thread Leon Palermo
? Thanks in advance! Leon Palermo

Re: (EXPERTS ONLY) Bean Creation in Dispatch Servlet

2001-05-25 Thread 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

Re: JSP/ASP Coexistance

2001-05-07 Thread Leon Palermo
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

Re: JSP spec: completely stumped by print(String) and print( Object)

2001-05-02 Thread Leon Palermo
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

JSPs of the same name

2001-04-27 Thread Leon Palermo
with the correct package statement compile into the appropriate folder? Thanks in advance! Leon Palermo

JDBCRealms

2001-04-12 Thread 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

JDBCRealms

2001-04-12 Thread 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

'jsp:include' tag

2001-04-11 Thread 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

Re: put an object in the application

2001-04-09 Thread Leon Palermo
application.setAttribute("aName", anObject) what is the equivalent to session.setAttribute("aName", anObject) but whith an application scope thanks

Loading .properties file

2001-04-04 Thread Leon Palermo
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

Re: Problems finding properties files

2000-11-02 Thread Leon Palermo
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

Re: tomcat with Pws

2000-11-01 Thread Leon Palermo
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

Re: IIS, tomcat and java ...

2000-11-01 Thread Leon Palermo
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

Re: response.sendRedirect stops working in Apache/Tomcat setup

2000-10-30 Thread Leon Palermo
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

Re: one more question on tomcat on NT

2000-10-26 Thread Leon Palermo
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?

Re: java.awt package

2000-10-23 Thread Leon Palermo
.). 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

Re: Auto-expansion of war files?

2000-10-20 Thread Leon Palermo
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