This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes JSP and the fly likes jsp dynamically upload content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp dynamically upload content" Watch "jsp dynamically upload content" New topic
Author

jsp dynamically upload content

Honour Cooker
Greenhorn

Joined: Aug 16, 2004
Posts: 10
Hello everyone,

I am implementing a web based content management system. Basically I want to
have a jsp blank template page containing some blank text area and image area. When clicking an image area or a text area, there is an image or text list showing up for select. When user chooses one of the content from the list, the jsp template page will automatically show the content in the area clicked.

I am new to jsp and wonder if my idea is possible to implement. If it is ok, what technology do I need to make a start or any suggestions?

Thank you very much!
himanshu patel
Ranch Hand

Joined: Feb 03, 2003
Posts: 205
I am just exploring the possibility with doing in Javascript. I am not confident at this stage. But i would like to have some more info.

1> What interface are you expecting when clicking an image or a text
area? Is it a popup window that will have image or text list? or you
want to display just list box?
2> How many images would be there in list box. Do you considering buffering
(preloading) of those images or want to source it from server when
selecetd?

3> How the image area would look like?
4> What the text content would be?
Ex. if you select "text1" from list, from where the corresponding
content would come? Would the content be bigger in size or just a few
lines.


If you want to become a rich, do not work for others but make others to work for you.
Honour Cooker
Greenhorn

Joined: Aug 16, 2004
Posts: 10
Hi,


1> What interface are you expecting when clicking an image or a text
area? Is it a popup window that will have image or text list? or you
want to display just list box?

I prefer a popup window comes up to show the actural images or different text in different textareas (user can directly see the content) depending on an image area or a text area is clicked.

2> How many images would be there in list box. Do you considering buffering
(preloading) of those images or want to source it from server when
selecetd?

As many as possible, but it might be not realistic to show 100 images in a popup. The client would like to drag the image to the template area??? Any ideas??? I have a mysql database running on ther server. The images and text are saved as blob. The data list is selected via sql statememnt.

3> How the image area would look like?

It is a blank jpeg image with a color background, embedded in the template table. I think there is a onclicke event of that image. When I click the image area, the popup comes up.

4> What the text content would be?
Ex. if you select "text1" from list, from where the corresponding
content would come? Would the content be bigger in size or just a few
lines.v

Text could be a MS doc and is from the database as images. This project is for a newspaper. I want the textarea show all the content of the text. If it is too big. It is ok to just show the description of the text in the list.

I did some research about it. The popup window could be an iframe, but for large images and documents, iframe might have some limitation.

Thank you very much for helping.

Honour
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp dynamically upload content