• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

jsp dynamically upload content

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
Ranch Hand
Posts: 205
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
I child proofed my house but they still get in. Distract them with this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic