469,331 Members | 1,879 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,331 developers. It's quick & easy.

jsp -- not enough session space

Hiya..

I have a jsp page to upload some files..

The session is used to store a Map ( session.setAttribute("filemap", filemap ) ). This map contains all the files to be uploaded. I have a file-input type, onChange the file here is added to the map. The map is stored in the session and when the page is reloaded, all files in the map can be displayed. Then the user clicks upload, and all the files are uploaded somewhere by some other code.

This works perfectly on my local machine/local host -- on the server however, i've encountered this problem...
When I browse for a file to upload and select it (with the file-input) and the page reloads - files of small file-size will work fine. The page will re-load, the item will be added to the map and displayed on the page. When I select a file with a larger file-size (even 200KB), the page shows a 'page not found' error when it reloads. I'm guessing the session on the server cant hold much space!

Does anyone know how I can get around this? Any help is appreciated!

Thanks
Jun 7 '07 #1
1 996
acoder
16,027 Expert Mod 8TB
There's no Javascript involved here is there?
Jun 8 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Keith Tellinghuisen | last post: by
1 post views Thread by mudge | last post: by
1 post views Thread by opt_inf_env | last post: by
3 posts views Thread by AARON PECORARO | last post: by
8 posts views Thread by ari | last post: by
13 posts views Thread by | last post: by
5 posts views Thread by desh | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Purva khokhar | last post: by
1 post views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.