codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  help with jsp..urgent  venun2000 at 03:59 on Tuesday, April 03, 2007
 

Hi i am having one question on jsp.I am having 30 jsp pages in my application.I have some common data to the all pages.where i have to write the common data to get all the pages.plz help me ..urgent

  Re: help with jsp..urgent  guess_who_365 at 13:37 on Tuesday, April 03, 2007
 

If there are many pages with the same data in them simply create an include file("/forum/my_include_file.html"). All you need to do in order to be able to do this is place all the html code that is common in one jsp file and then include it in any other jsp file(s) by using the following syntax:

<jsp:include page="/forum/my_include_file.html"/>

Note: You can call the file whatever you want and put it in any location you like, you just need to reference it correctly.








CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums
//








Recent Forum Threads
•  How to send multiple perameters in SOAP request.
•  Java code for Insert picture on the table in spreadsheet
•  Re: Problem with concatenation
•  how to genrates the crystal report by sending a id at runtime
•  help me
•  pls help me with this..
•  Re: Security - Code verify
•  Job @ EarlySail
•  Job @ EarlySail (perl)


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2007