Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java for slide

 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello everyone,

Is java can be used to create slides like javascript like this site :
website

please someone answer me

thanks
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please elaborate your query? Does this have to do with Java? or JSP? or Web Frameworks? or just HTML/Javascript?
 
Nitin Surana
Ranch Hand
Posts: 129
Java Netbeans IDE Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are various image sliders available. Just Google image sliders and you'll find a large no. of options.
Personally, I have tried Nivo Slider, v2SlideShow etc.

Moreover, java is more about back-end rather than front-end.
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like this is more of Javascript, hence moving it to Javascript forum.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search for JavaScript Image gallery.

Eric
 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mohamed Sanaulla wrote:Can you please elaborate your query? Does this have to do with Java? or JSP? or Web Frameworks? or just HTML/Javascript?


Sorry for long to reply, it must do using java and JSP (both)

please answer

thanks
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
gong pex wrote:
Mohamed Sanaulla wrote:Can you please elaborate your query? Does this have to do with Java? or JSP? or Web Frameworks? or just HTML/Javascript?


Sorry for long to reply, it must do using java and JSP (both)

please answer

thanks


Java runs on the server, it is not going to help you out.
JSP generates the HTML.

Eric


 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I need to give an example :

please come to : oracle

this slide, if I put it into HTML for browser using JSP it can be or not? (in this case no need to use JFrame, I only need to display slides on web browser)

please answer

thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64824
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
gong pex wrote:please answer

To be honest, I really have no idea what the question is. Could you be sure to ask it in clear language?
 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To be honest, I really have no idea what the question is. Could you be sure to ask it in clear language?


sorry if my language is not clear, because if not in practice, this rather difficult to asked,

if I create java application on JFrame for example like this :



the output is : frame that written "Hello world", and I ever heard if to display it ("hello world") on browser I need JSP.

My question : if the output is not "hello world", but slides, dropdown and etc, can I display them to browser using JSP?

please be patient to answer my question

Thanks


 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64824
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JFrame has nothing at all to do with JSP. Are you really asking about Applets?
 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:JFrame has nothing at all to do with JSP. Are you really asking about Applets?


Sir, really I only understand JSP and Java, but about Applets and servlets I don't understand,

actually, what's difference of servlets and applets, and is used for what?

because that I know to deploy java to browser, it must using JSP

Can you explain to me please?

thank you
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64824
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read this article to understand what JSP is. It has nothing to do with JFrames and other GUI aspects of Java.

Because JSP is a template to create HTML, what you really want to know is how to create a slideshow with HTML, and that brings us right back to JavaScript.
 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because JSP is a template to create HTML, what you really want to know is how to create a slideshow with HTML, and that brings us right back to JavaScript.


I ask how to create slideshow using Java or JSP because I want to avoid javascript using,

because user can disable javascript on browser

I think if using java I can create slideshow that cannot blocked or disabled by user

That's mean of my question

Thank you sir for reply

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64824
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
gong pex wrote:because user can disable javascript on browser


That's an easy one: people who disable JavaScript can't use your slideshow. Problem solved.

gong pex wrote:I ask how to create slideshow using Java or JSP because I want to avoid javascript using,

Java means an applet. JSP creates HTML. Decide which one you want to use.

You can create an HTML slideshow without JavaScript, but you'll need to repaint the whole page for each photo. Sort of how web pages were written in 1998.
 
gong pex
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can create an HTML slideshow without JavaScript, but you'll need to repaint the whole page for each photo. Sort of how web pages were written in 1998.


repaint page for earch photo?

can you explain to me?

please

Thank you

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic