my dog learned polymorphism*
The moose likes JSP and the fly likes Using java.lang.System properties in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Using java.lang.System properties in JSP" Watch "Using java.lang.System properties in JSP" New topic
Author

Using java.lang.System properties in JSP

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Hi ,

Can i use system.getProperty() inside servlets/JSP??


If you want something you never had do something which you had never done
Anurag Blore
Ranch Hand

Joined: Jan 15, 2003
Posts: 74
you can use java.lang.System class anywhere wherever you can write Java code. In jsp you should use scriptlets to wrote java codes but its not reccomendd to use java code inside jsp. In servlet you can use.
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Surely you can use it in servlets. Technically you can also use it in JSP, but there it is not for.

What's the problem you having then?
 
jQuery in Action, 2nd edition
 
subject: Using java.lang.System properties in JSP
 
Similar Threads
WA #1.....word association
Struts: No getter method for property name problem
creating a pop up calendar within a form
what is defalut value of Custom tag body-content
pop up page