Re: Problem in accessing jsp:useBean

2010-11-17 Thread Karl San Gabriel
*Your code: <%@ page import = "beans.*, java.sql.*"%> * I think the value for class should be "beans.PasswordEncryptService". Class should be "package.class". That's what I remember. or http://java.sun.com/products/jsp/tags/syntaxref.fm14.html On Thu, Nov 18, 2010 at 1:29 PM, Rekha Ravi Pai

Re: Tomcat Re-direct

2010-10-18 Thread Karl San Gabriel
and put a javascript code in wt.jsp to redirect to https://idm.my.org/idm. On 10/18/10, Karl San Gabriel wrote: > How about changing \webapps\ROOT\WEB-INF\web.xml? > === > > Welcome to Tomcat > > > > > >

Re: Tomcat Re-direct

2010-10-18 Thread Karl San Gabriel
How about changing \webapps\ROOT\WEB-INF\web.xml? === Welcome to Tomcat org.apache.jsp.index_jsp /wt/wt.jsp org.apache.jsp.index_jsp /index.jsp Regards, Karl On 10/18/10, Richard d

Re: Re: session.isNew() not thread safe?

2009-03-02 Thread Karl San Gabriel
Hi Jakob, Session object is not thread-safe. It's better put the session object in a synchronized block. Regards, Karl San Gabriel Tim Funk wrote: Sort of (if I read the code correctly) isNew is set to false after the response is finished. So if you have 2 concurrent requests ru

Re: encodeRedirectURL URL rewrite not working

2009-01-21 Thread Karl San Gabriel
Hi Greg, HttpServletResponse.sendRedirect(String) basically just "commands" the web browser proceed to another URL. It's like opening another browser window, typing the other URL in the Address bar, then hitting the Enter button. The session object created in the second web application is a n

Re: Writing a proxy transformation servlet.

2009-01-19 Thread Karl San Gabriel
sandy8531 wrote: Hi, I need to set up a proxy-server-with-transformation that frontends the clients and transforms the incoming request (HTTP post) and forwards it to the actual application server, and then get a response back and transforms it back into data format that the client understands a