I guess the subject says it all. How can I access an environment variable in JSP? For example, I'm looking to find out what the current program running is called (i.e. myTestPage.jsp is what I would like returned or even the full URL path as displayed in the browser). Thanks so much.
When you say "environment" variable what exactly do you mean? Are you talking about Operating System Environment variables? Those are not accessible since your Java App is running the context of the JVM.
You can pass an OS environment variable to a java program is through a command line argument to the program
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com