Re: [java ee programming] how to access the scope variable from outside the application.

2010-03-22 Thread jitesh dundas
Maybe passing the values as a querystring parameter might help..Again, could
you store the information in some config file and then use this info..

Have you tried adding params in web.xml..try that and see if this helps..

jitesh dundas


On 3/18/10, thanooj bharateeyudu thanooj...@gmail.com wrote:

 hello all.
  Let us assume that, i have 2 applications running
 in a single tomcat server
 i am using JSP to develop the applications
 if i have set a scope attribute in one application ... and i need to access
 that scope attribute in the another application.
  how can we access that scope attribute from another application.
  please let me know the alternatives if any.
thanking u ...




 --
 Yours  thanooj bharateeyudu

 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscribegooglegroups.com or reply to 
this email with the words REMOVE ME as the subject.


Re: [java ee programming] how to access the scope variable from outside the application.

2010-03-22 Thread bambang teleinfocom
Hi,

a.There are type of scopes : page ( only in jsp ), session, request,
application ( servletcontext )

Which one you are talking about ?

b. You can use pageContext ( in jsp ) to get all four scopes

c. one jsp will ( internally ) create one servlet so in your case you can
imagine

sharing infos between 2 servlets !

d.In your case, you have to set attribute either using application or
session,

e. remember, session and application are not Thread safe so you need to

think about this.

thx

On Thu, Mar 18, 2010 at 6:41 PM, thanooj bharateeyudu
thanooj...@gmail.comwrote:

 hello all.
  Let us assume that, i have 2 applications running
 in a single tomcat server
 i am using JSP to develop the applications
 if i have set a scope attribute in one application ... and i need to access
 that scope attribute in the another application.
  how can we access that scope attribute from another application.
  please let me know the alternatives if any.
thanking u ...



 --
 Yours  thanooj bharateeyudu

 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscribegooglegroups.com or reply to 
this email with the words REMOVE ME as the subject.


Re: [java ee programming] how to access the scope variable from outside the application.

2010-03-18 Thread Mr. Akhilesh Srivastava
Hello My Group friend,

 Now I have very needed for job in my profile, I am looking for job
in Bombay but nothing to achieve, I am very depress from 3 months, if any
member can help me so that I will make my carrier, Please help me.
Best Regards :

Akhilesh Srivastava
+91-8097125549




On 18 March 2010 16:11, thanooj bharateeyudu thanooj...@gmail.com wrote:

 hello all.
  Let us assume that, i have 2 applications running
 in a single tomcat server
 i am using JSP to develop the applications
 if i have set a scope attribute in one application ... and i need to access
 that scope attribute in the another application.
  how can we access that scope attribute from another application.
  please let me know the alternatives if any.
thanking u ...



 --
 Yours  thanooj bharateeyudu

 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Re: [java ee programming] how to access the scope variable from outside the application.

2010-03-18 Thread Senthil Chidambaram
May be you don't have to use any server side cookies approach. You are
sharing between two applications any way. Just setting client side cookie
approach would work.

thx
Senthil

On Thu, Mar 18, 2010 at 3:41 AM, thanooj bharateeyudu
thanooj...@gmail.comwrote:

 hello all.
  Let us assume that, i have 2 applications running
 in a single tomcat server
 i am using JSP to develop the applications
 if i have set a scope attribute in one application ... and i need to access
 that scope attribute in the another application.
  how can we access that scope attribute from another application.
  please let me know the alternatives if any.
thanking u ...



 --
 Yours  thanooj bharateeyudu

 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en