Problem JSP Bean data sharing with some Servlets
From: Jose Munoz (jmunoz61_at_hotmail.com)
Date: 11/26/03
- Next message: Herman Timmermans: "Re: Problem JSP Bean data sharing with some Servlets"
- Previous message: Andy Howells: "Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/mq/server/MQSESSION"
- Next in thread: Herman Timmermans: "Re: Problem JSP Bean data sharing with some Servlets"
- Reply: Herman Timmermans: "Re: Problem JSP Bean data sharing with some Servlets"
- Reply: hiwa: "Re: Problem JSP Bean data sharing with some Servlets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 Nov 2003 04:08:13 -0800
Hi all,
I want to share some data for all my applications (servlets and jsps).
For this i am using a JSP to set the variables with scope=application.
When i get this data from some JSP all is o.k, i can see the data that
i saved, but when i get access with my servlets, i can't see data
saved prev.
My request is simple: save data with a JSP and read this data with
servlets.? please if you send me a small sample to do this. or tell me
where is my mistake:
In the JSP (A):
<jsp:useBean id="facturacionLogonBean" class="FacturacionLogonBean"
scope="application" />
In the Servlet (B):
FacturacionLogonBean myfacturacionLogonBean = new
FacturacionLogonBean();
String aafsistema = myfacturacionLogonBean.getFsistema();
the statement System.out.println("+++my data" + aafsistema); don't
display my data
Thanks
JMUNOZ
- Next message: Herman Timmermans: "Re: Problem JSP Bean data sharing with some Servlets"
- Previous message: Andy Howells: "Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/mq/server/MQSESSION"
- Next in thread: Herman Timmermans: "Re: Problem JSP Bean data sharing with some Servlets"
- Reply: Herman Timmermans: "Re: Problem JSP Bean data sharing with some Servlets"
- Reply: hiwa: "Re: Problem JSP Bean data sharing with some Servlets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|