471,892 Members | 1,963 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

jsp -- not enough session space


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!

Jun 7 '07 #1
1 1021
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 YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

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.