aspose file tools
The moose likes Beginning Java and the fly likes Error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Error " Watch "Error " New topic
Author

Error

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 672
out.println("<a href=# "+
"onklick='window.open(\"c:/UploadedPics/"+pic+"\",\"Rahwanji\", "+
"\"resizable=0,scrollbars=0,status=0,width=340,height=214\");'>"+
"<img src=\"c:/UploadedPics/"+pic+"\" width=152 height=114>");

This code compiles and working well with servlets but Java Script Error appears that I seen first time "Access is Denied"

Thanks & best regards
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

You can't access the file system with JavaScript. Why are you trying to access the client's C drive?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32651
    
    4
I presume "onklick" is a misprint? Please use ctrl-C ctrl-V for copying code.
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 672
Originally posted by Campbell Ritchie:
I presume "onklick" is a misprint? Please use ctrl-C ctrl-V for copying code.


When I was posting, there was instructions of the control panel that change c to k. this is onClick
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Error
 
Similar Threads
logic:iterate not working
Expression Language not supported in compile time attribute items
&gt;html:text &lt; default value
Tricky NullPointerException Problem
jsp:include and c:import combination/nesting