aspose file tools*
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
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using java.lang.System properties in JSP