• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Accessing the session attribute from applet

 
V
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to access the session attribute value from applet...???
 
Joe Ess
Bartender
Posts: 9337
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"V", we don't ask much of our participants, just that they be nice and that their displayed names consist of a first and last name and not be obviously fake. Please adjust your displayed name to meet the JavaRanch Naming Policy. You can do that here.
As for your question, applets are client-side technology. Sessions are a server-side concept. Applets have no direct way to access server-side information, but you can use java.net.URL and java.net.URLConnection to contact the server and have it return the information you need.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic