aspose file tools*
The moose likes JSP and the fly likes jsp:include Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "jsp:include " Watch "jsp:include " New topic
Author

jsp:include

FY Hsieh
Ranch Hand

Joined: Aug 07, 2006
Posts: 73


Questions:

1. Does test.jsp and main.jsp share the same javascript "document" ?

2. test.jsp should be able to use any css and javascript imported in main.jsp, correct ?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61751
    
  67

What happens on the server is entirely moot. All that matters, when it comes to JavaScript and CSS, is what gets delivered to the browser. So do a View Source in the browser and see if you can answer your own question.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
FY Hsieh
Ranch Hand

Joined: Aug 07, 2006
Posts: 73
By doing "vew source", I saw all the content from test.jsp pasted in the inclduing page. So I think the answers to my questios are YES. Right? If my thought is wrong please do warn me !

Thanks for the help !
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61751
    
  67

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp:include