Problems with logic:redirect..Pls Help
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Prem_Anand
Posted On:   Tuesday, September 7, 2004 03:08 AM

Hi Friends I have to display a file(pdf,text,etc) to the user as he clicks on the link. When the user clicks the link, I trigger an action where I build the url dynamically based on the id of the file and the parameters passed and set a custom "fileUrl" property and assign the url to that property and forward to a jsp page. In the jsp page, I have tried to assign the "fileUrl" to the href attribute of the logic:redirect. But it's not working. I have tried different possibilities like and nothing works :-( <%=request.getParameter("fileUrl")%>" /> <%=request.getParameter(&quo   More>>

Hi Friends


I have to display a file(pdf,text,etc) to the user as he

clicks on the link. When the user clicks the link, I
trigger an action where I build the url dynamically
based on the id of the file and the parameters passed
and set a custom "fileUrl" property and assign the url to that property and forward to a jsp page.



In the jsp page, I have tried to assign the "fileUrl" to
the href attribute of the logic:redirect. But it's not
working.


I have tried different possibilities like and nothing works :-(


<%=request.getParameter("fileUrl")%>" />


<%=request.getParameter("fileUrl")%>" />


" />




Note: I store absolute path in the "fileUrl".




Any idea to overcome the problem will be appreciated.

Thanx

Prem

   <<Less
About | Sitemap | Contact