Installation Exits : Login Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-15-2012 07:58 AM
In Login Installation Exits script ,We need the current URL value in a variable to scan a specific string.
As this Installation Exits is server side scripinng ,So some of the javascript function work only in Client script.Can anybody please advise how can we acheive it in Server side scripting(Installation Exits)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2012 06:14 AM
During the processing of an installation exit, there is a global variable called "request".
It is a java class: org.apache.catalina.connector.RequestFacade
Therefore, you should have the methods that are available to the class.
For example:
request.getRequestURL();
request.getQueryString();
request.getRequestURI();
request.getParameter(paramName);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2012 07:24 AM
Thanks a lot John,
It worked for me. As I was struggling for quite long.Thanks once again.