Sponsored Content
Top Forums Web Development Problem with image display stored outside webserver in Unix? Post 302366674 by nsurendiran on Friday 30th of October 2009 05:31:50 AM
Old 10-30-2009
Problem with image display stored outside webserver in Unix?

Hi All,

I have an image stored in my solaris server path /usr/Apps/TEMP directory.
I have created this image at runtime.
I have my web application dployed in my webserver path /usr/Apps/tomcat/jakarta-tomcat-5.5.7/webapps/DispReports

From a jsp file available under my DispReports folder, I need to access the image stored in /usr/Apps/TEMP directory.

But when I give the path in src attribute like below, I am not getting the image.
Code:
<img src="/usr/Apps/TEMP/Report1.png" border="0" usemap="#chart"></img>

I then understand that, when I give the path like this, its trying to search for the folder inside the DispReports/jsp/ folder. Its not coming out of the webserver path.

Kindly help me in this regards.

Thanks
suren
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Where is my unix id stored in the system?

Hi, I logged in to a Sun unix box. I would like to know where my unix id is stored. So I did a "more /etc/passwd | grep <my unix id> but it did not show up. Where can I find my unix id and what is the command to see it? Thanks in advanced, XZOR (4 Replies)
Discussion started by: XZOR
4 Replies

2. UNIX for Advanced & Expert Users

Unix Stored Procdure

I have 2 stored procedures to be executed. if the sysdate is between 12 am and 6 am i want to run procedure 1 else procedure 2 How do i do it with variables for time in the script. The DB is oracle Thanks (7 Replies)
Discussion started by: kris01752
7 Replies

3. UNIX for Advanced & Expert Users

Executing Stored Proc from unix prompt.

Hi All, I want to run/execute a stored procedure (sybase) from unix command prompt not by login in isql utility which is provided my Sybase guys. Is there way ..? Thanks in advance for your help !!! Regards, Arvind S. (0 Replies)
Discussion started by: arvindcgi
0 Replies

4. Shell Programming and Scripting

Bourne Shell: Clean Display of stored procedure's output

Environment: Sun UNIX Language: Bourne Shell I have the following script and it works fine. Unfortunately, from user's perspective, it looks very messy because the user is able to see the output of the process caused by the print command. Is there a better way to overcome it? Here's the... (10 Replies)
Discussion started by: totziens
10 Replies

5. UNIX for Dummies Questions & Answers

Want to delete a directory on a Unix-Webserver

Hi folks, I want to delete a folder on my webserver via ftp, but the server said "Operation not permitted". So I want to delete the folder via ssh - not successfull. This is what I have done and what the server said: --------------------------- rmdir views rmdir: views: Directory not... (12 Replies)
Discussion started by: Lkwjoe
12 Replies

6. UNIX for Dummies Questions & Answers

Calling stored procedure from unix

Hi, My stored procedure returns a value. How to retrieve the value and display in unix. Stored procedure CREATE OR REPLACE PROCEDURE gohan(num INT) IS BEGIN DBMS_OUTPUT.PUT_LINE('My lucky number is ' || num); END; Unix Scripting i used sqlplus -s... (7 Replies)
Discussion started by: gohan3376
7 Replies

7. Programming

How to display a notification with image? - Libnotify

Hi all, this is the code: #include <libnotify/notify.h> #include <stdio.h> #include <unistd.h> int main() { NotifyNotification *n; notify_init("Basics"); n = notify_notification_new ("Summary", "\nThis is the message that we want to... (0 Replies)
Discussion started by: hakermania
0 Replies

8. Shell Programming and Scripting

using sed command to display contents where line numbers are stored in variables

if i want to display the contents of a file between say line number 3 and 10 then i use the following command sed -n '3,10p' filename if this 3 was contained in x and 10 was contained in y then how wud this command modified? sed -n '$x,$yp' filename does not work..please advise (2 Replies)
Discussion started by: arindamlive
2 Replies

9. Shell Programming and Scripting

Unix path stored as a column in table

The db2 table stores the unix path as below PARM VALUE RootPath $SRootDir Target $SRootDir/target $SRootDir is set in the env variable as /home/test/root In the shell script i read the table value and store it in a variable pth=db2 -x "select VALUE from... (2 Replies)
Discussion started by: 2jnags
2 Replies
Tk_NameOfImage(3TK)					       Tk Library Procedures					       Tk_NameOfImage(3TK)

__________________________________________________________________________________________________________________________________________________

NAME
Tk_NameOfImage - Return name of image. SYNOPSIS
#include <tk.h> CONST char * Tk_NameOfImage(typePtr) ARGUMENTS
Tk_ImageMaster *masterPtr (in) Token for image, which was passed to image manager's createProc when the image was created. _________________________________________________________________ DESCRIPTION
This procedure is invoked by image managers to find out the name of an image. Given the token for the image, it returns the string name for the image. KEYWORDS
image manager, image name ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTk | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tk is available on http://opensolaris.org. Tk 4.0 Tk_NameOfImage(3TK)
All times are GMT -4. The time now is 04:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy