File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp dynamically upload content

 
Honour Cooker
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 205
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Honour Cooker
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic