Sheldon Plankton

Ranch Hand
+ Follow
since Feb 11, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sheldon Plankton

Hi,
I what to be able to get the "basename" of a String that maybe be a file's name. I know how to do this in a shell script which I'll will post as demostration of what I want to be able to do in Java ...
20 years ago
Hi,
I am using J2EE 1.4 Application Server and I want to be able to access files
in a symbolic link ... you know.
$TOP/domain/domain1/LINK
where link was create like so
cd $TOP/domain/domain1
ln -s /usr/home/somebody/public_html LINK
I am now hoping I could access URL like this now ...
http://localhost:8080/LINK/index.html
But I keep getting 404 errors?
Can anyone help me out?
Thanks
20 years ago
JSP
How can I get my J2EE 1.4 Application Server to allow users to see files in a symbolic link in the docroot directory?
I did this ...
cd SUNWappserver/domain/domain1/docroot
ln -s /usr/home/BB/public_html Barnacle_Boy
but when I try and access http://localhost:8080/BB/index.html I get 404 errors?
20 years ago
Hi Bear,
bash-2.03$ pwd
/usr/local/home/Plank/SUNWappserver/domains/domain1
bash-2.03$ find . -name 'USER002'
./config/USER002
./docroot/USER002
./config/USER002 is an actual directory
./docroot/USER002 is a symbolic link to /usr/local/home/Plank/SUNWappserver/domains/domain1/config/USER002
I beginning to think it is a problem with the symbolic link and that's going to be a problem for me
20 years ago
JSP
Thanks Bear,
I made that change ... redeployed ... restarted my server ... added a symbolic link in my docroot dir to USER002 but still I get 404
The <a href> tags now look like this ...
<a href='/USER002/20040103120005.txt'>20040103120005.txt</a>
What else should I check?
20 years ago
JSP
Hi,
I want to create a web application that will allow user's to download
files from my server.
I have this JSP and Java Bean ...

Here's a example of the HTML source this produces ...

When I access my JSP and click on one of the .txt links I get a 404 error?
The files do exist and permission on them are wide open. I have been making
symbolic links to the USER002 directory all over the place.
SUNWappserver/domains/domain1/applications/j2ee-modules/MyDownLoader
bash-2.03$ ls -l
total 6
lrwxrwxrwx 1 plank chumb 25 Mar 15 14:03 USER002 -> ../../../config/USER002
drwxr-xr-x 3 plank chumb 512 Mar 15 14:01 WEB-INF
-rw-r--r-- 1 plank chumb 409 Mar 15 14:01 index.jsp
bash-2.03$ cat USER002/.htaccess
AddType application/octet-stream .inq

Is there something wrong with my <a href=> tags? Is there a problem using symbolic links? Is there something other than just having a .htaccess file in my USER002 directory?
Please help!
[ March 15, 2004: Message edited by: Sheldon Plankton ]
20 years ago
JSP
Okay I am not getting it ... what I am supposes to do to create packages and use them?

What should I be doing here?
20 years ago
Has anyone writen a program with HTTPClient or even Perl LWP that logs into a web application that uses j_securoty_check and formbased authenication?
20 years ago
answer ... don't use netscape browser I just hope someone does say make it work with netscape
20 years ago
I tested my servlet with IE browser and the Read timed out went away!
20 years ago
I have tried using orially's multipart and now I am using Jarakata's upload class. Both fail to load large files at least with J2EE 1.4 Application server ...
My latest version of a uploading servlet uses org.apache.commons.fileupload and it also fails with ...

I have been told that if I where using Tomcat set disableUploadTimeout to false in the server.xml file. Is there a J2EE 1.4 Application server equiv?
Please help! What causes Read timed out's?
20 years ago
Hi All,
Here's what I got ...

When I point my browser to http://localhost:8080/xyzabcdFileTransfer I get this error ...

I guess I missing something in my web.xml
[ February 26, 2004: Message edited by: Sheldon Plankton ]
20 years ago

Originally posted by Phani Kumar:
See the following link, I think it solves your problem
http://www.tek-tips.com/gviewthread.cfm/lev2/3/lev3/13/pid/877/qid/627123


Thanks! Do you know how they fixed this problem on the Sun One application server?
20 years ago
I have tried using orially's multipart and now I am using Jarakata's upload class. Both fail to load large files ...
My latest version of a uploading servlet uses org.apache.commons.fileupload and it also fails with ...

Please help! What causes Read timed out's?
20 years ago