on 02-24-2004 1:05 PM
Hi all,
I need to show jsp pages in popup windows to seacrch and select.
How can i get the url(which can run jsp file).
Pl give me exact code.
Thanks in advance
Thank you Amit,
From this i am getting the URL of the JSP Page, But when i use that url giving 'You are not authorized to view this page' error is coming.
I have to show in popup window.
Thanks & Regards
Markandeya.T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I want the URL of jsp page located in pagelets folder of same component. If i know the url i can show it in popup window.
From the URLGenerator class it only generete url for a portal component but not the url of any jsp file in that coponent.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You don't need to use the URL generator. just use the following line:
IResource myJSP = componentrequest.getResource(IResource.JSP ,"pagelets/JSP1.jsp")
then, if you want the URL, type
String url = myJSP.getResourceInformation().getURL()
Look in the Javadoc in the PDK for further info.
Amit Levavi
I think you need to be a little more specific about what your asking for and perhaps ask in a little more humble manner. I don´t think you will get much help if you don´t change the wording of your future questions. What is it that your searching for, what is the data source etc.
Bjorn V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.