on 06-01-2016 2:47 PM
Hi,
how to access MII Custom attributes in .jsp page.
Regards,
Srisailam Yadav
Hello Srisailam,
Use below mentioned points to access custom attributes in .jsp page.
1) You may need to use .irpt file to set required custom attributes
2) either you use a form with FORM ACTION "Submit" on irpt or <href src=""> tag to set JSP file which is to be called like below ( i did with FORM)
<form method="POST" enctype="multipart/form-data" action="uploadFile.jsp?pkey={PKEY}&pname={PNAME}" accept-charset="iso-8859-1" onsubmit="return validate();">
</form>
or can use in IRPT
<a><href src="uploadFile.jsp?pkey={PKEY}&pname={PNAME}" > </a> (like this, so that we can call src)
3) once you submit or click, attributes values will be passed to JSP Page
4) At JSP page , you need to write the below code to get the value
String | project_key=request.getParameter("pkey"); |
String projectName=request.getParameter("pname");
where pkey and pname is the URL Param defined .
This way it should work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.