• Post Reply Bookmark Topic Watch Topic
  • New Topic

Web pages to select variables?

 
Alan Jackson
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This might be the wrong place to post this (its been almost 10 years since Ive done any coding).

Im looking to have a web page that displays an image or video. I want to have a URL include the image name or ID. When my web page is reached, it takes the variable from the link that was clicked and then loads that video.

Can anyone point me in the right direction?
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean something like:

http://www.alan.jackson.com/player?videoId=12345&parm2=somevalue ...

Basic app server processing of the parameters (after ? and subsequent &) will suffice.

WP
 
Alan Jackson
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thats what Im looking for.

Can you point me in the right direction of what I'd need to do server side to implement this?
 
William P O'Sullivan
Ranch Hand
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well it is a bit of work.

Are you hosting these images and/or videos yourself ?
If so, on a file system or stored in a database?
Is there any back-end processing you need, such as registration, login etc?

if you simply go with http://yourwebsite/videos/video.avi or http://yourwebsite/images/image.jpg then a simple http server will suffice (apache)

if you need anything more complicated than that, then Tomcat or some j2ee server will suffice.

Of course you need to have it hosted, develop the back-end servlets and front-ends.

WP
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!