This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes several Scripts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "several Scripts" Watch "several Scripts" New topic
Author

several Scripts

Isaac Ferguson
Ranch Hand

Joined: Jun 22, 2012
Posts: 331
Hi,

I am putting several scripts in my jsp but only the first one is displayed. Is possible put several scripts in the same page?

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Scripts aren't "displayed", so I don't know what you mean by this. Yes, you can include as many scripts on a page as you like.

Do you have the JavaScript console open so you can see any errors? If not, that's the next step.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Are they the same exact script?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: several Scripts
 
Similar Threads
Sample AWK Scripts
Mac maintenance
How to run .class file from Unix shell script
NASA in the right track, at last!!
backup