The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unix permissions for a newbie hades1013 UNIX for Dummies Questions & Answers 2 08-09-2006 07:45 AM
Unix chmod permissions whiterabbit UNIX for Dummies Questions & Answers 2 04-25-2006 03:02 PM
Unix permissions mobershaw SUN Solaris 0 01-24-2006 02:06 PM
UNIX File Permissions jerardfjay UNIX for Advanced & Expert Users 3 03-15-2005 08:25 AM
How to change permissions in UNIX? a8111978 Filesystems, Disks and Memory 2 06-24-2002 11:40 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-10-2004
Registered User
 

Join Date: Mar 2004
Location: Singapore
Posts: 1
Unix permissions

I am currently running jsp pages on unix server. At the top of my page is the import statement: <%@ page import="survey.*"%>. This imports the survey folder which i have placed in the same directory as my jsp page- jsp-servlet.
However, when i try to run the page, its gives me an error saying that Package survey not found in import. I have tried chmod 644 and chmod 755 and setfacl -r -m u:http:r-- survey. They execute fine but I still get a servlet exception.Do I have to set the permission otherwise?

Would be grateful for any help...Thanx in advance!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-10-2004
flim flam flamma jamma
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
i would try the following.

This is for a development env only!

1) set the perms to 777
2) run program
3) if program does not work properly it is an error in your jsp pages not permissions.
4) ensure your path is set properly to use your packages.
4) goto step 2 untill it runs properly
5) play with the permissions to find out the most stringent you can use untill you get undesired results.
Reply With Quote
  #3 (permalink)  
Old 03-11-2004
kduffin's Avatar
UN1X
 

Join Date: Nov 2003
Location: Virginia
Posts: 441
What do the directory permissions look like?

Cheers,

Keith
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:56 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0