•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 374,023 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,784 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 1263 | Replies: 4
![]() |
•
•
Join Date: Mar 2007
Posts: 83
Reputation:
Rep Power: 0
Solved Threads: 2
What are you referring to? typically the problem with include files is that the response buffer either contains data already or has been sent... you can't change what is buffered or sent but you can add to it... if the buffer is not sent then you can clear it, which erases it and allows you to start over... I always do a response.resetBuffer() prior to forwarding pages, for example, so that I am sure I can forward without trouble... it is also a goot idea to do a check to see if the buffer is comitted prior to clearing it... you can't clear if it is sent... of course... so doing so will throw an error...
Peace,
Peace,
•
•
Join Date: Mar 2007
Posts: 83
Reputation:
Rep Power: 0
Solved Threads: 2
see my first post above... unfortunately for JSP the return characters at the end of each line are sent to the response buffer, so by the time you get to you include directive, you already have content in the response buffer... this can cause trouble... unless I am misunderstanding your problem... in which case I want to help, but you can't be stingy with the details...
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
Similar Threads
- access include file from subdomain (ASP)
- include file needed (C++)
- "Cannot Open Include File" MS Visual C++ error (C++)
- question about an include file (PHP)
- How to set up include file for navbar (HTML and CSS)
- Include a file from another website (ASP)
Other Threads in the JSP Forum
- Previous Thread: ArrayList is best ,why
- Next Thread: Help in JSP Doubt


Linear Mode