473,418 Members | 2,338 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

Urgent: MultiPartRequest does work with Internet!

cv
Hello All,

I have used MultipartRequest like the following to upload images.

MultipartRequest multi = new MultipartRequest(request,
"../webapps/coreprogram/dealerlogos", 1024 * 1024);

It works fine.
But When a user accesses through Internet, this does not work.

Any help is appreciated
Thanks a lot in advance,
cv
Jul 17 '05 #1
3 4048
ha***@yahoo.com (cv) wrote in message news:<ce**************************@posting.google. com>...

Have you ensured that the permissions on the directory give access to
the user that the web server runs under? Also, does that user have
the correct permissions to write to that directory?

Kim
Hello All,

I have used MultipartRequest like the following to upload images.

MultipartRequest multi = new MultipartRequest(request,
"../webapps/coreprogram/dealerlogos", 1024 * 1024);

It works fine.
But When a user accesses through Internet, this does not work.

Any help is appreciated
Thanks a lot in advance,
cv

Jul 17 '05 #2
cv
Ki*******@emainc.com (Kim Berry) wrote in message news:<6c**************************@posting.google. com>...
ha***@yahoo.com (cv) wrote in message news:<ce**************************@posting.google. com>...

Have you ensured that the permissions on the directory give access to
the user that the web server runs under? Also, does that user have
the correct permissions to write to that directory?

Kim

Hi,

Yes, the permissions are ok.
Will it be some problemw ith the port?
I am using apache and tomcat. From my local, I use 8080 port.
When accessed via internet, it is 80.

Any thoughts??
Thanks in advance
cv
Jul 17 '05 #3
I don't think it would be a port problem. Have you tailed the error
logs? What errors are you getting from this?

Kim
Will it be some problemw ith the port?
I am using apache and tomcat. From my local, I use 8080 port.
When accessed via internet, it is 80.

Any thoughts??
Thanks in advance
cv

Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John C. Wallace | last post by:
I have written a Java application that will upload files and fields to a MultipartRequest servlet. However, I now need to do the same in C++. Although very similar, I do not know how to go about...
2
by: Eyal | last post by:
Hey, I would appriciate if anyone can help on this one: I have a java object/inteface having a method with a boolean parameter. As I'm trying to call this method from a javascript it fails on...
12
by: Vibhajha | last post by:
Hi friends, My sister is in great problem , she has this exam of C++ and she is stuck up with some questions, if friends like this group provides some help to her, she will be very grateful....
1
by: Jenny | last post by:
Need urgent help for an unsolved problem. In our ASP web application, we creat a Back button and if user click on this button, it execute history.go(-1) to go back to the previous page. All our...
1
by: John | last post by:
Hi all, I did post this about 10 hours ago thinking I would have received an answer now but it is quite urgent. How do I add a COM object to a web form? I notice there's a primary interop...
1
by: BizWorld | last post by:
I am using .NET 2.0 new classed for FTP download purpose. I have requirement to connect with 3 different FTP and download all files list and see if file exist at my end. if not then i need to...
0
by: akaley | last post by:
Hi All, Iam using MultiPartRequest class(cos.jar) for Reading the file comtent from Client Machine. My coding is working without any problem in My local system.But in testing server it causes...
1
by: akaley | last post by:
Hi All, My system file upload functionality..iam storing file content in DataBase by using Blob data type. But my problem is MultipartRequest is automaticlly store the file in tomcat/bin...
3
oll3i
by: oll3i | last post by:
i try to upload a file using MultipartRequest i want to get the name of the file uploaded with html form and display it on jsp page (just for now to see if it works) in server.log i see Error...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.