Linux RedHat 7.1
Sun JDK 1.3.1
JBoss 2.4.3 + Tomcat 3.2.3
or
JBoss 2.4.1 + Jetty-3.1.RC9-1
---
Can somebody tell me what is wrong here:
Steps:
1) login.jsp --- FORM POST (uid,pwd) --->
2) PersonHandlingServlet --- EJB Call JAAS login() --->
3) login.jsp?action=process
I don't use Servlet Container's FORM-based login features, but do it manually at the moment.
Everything goes well until we do response.sendRedirect("/login.jsp") at step 2.
Servlet container can't show the login.jsp anymore.
The problems seem to originate from the fact that
whatever System.getProperty(...) returns null.
As I tested ...
at step 1)
>>> System.getProperty('java.io.tmpdir') = /tmp
at step 3)
>>> System.getProperty('java.io.tmpdir') = null
Why this?, in between we make EJB calls...
This is an Servlet application that works without
the EJB layer and the EJB layer works with a
Java standalone program just fine...
Miika