Adobe Community
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results forÂ
ShowÂ
 onlyÂ
|
Search instead forÂ
Did you mean:Â
Global community
Language:
Deutsch
English
Español
Français
Português
日本語コミュニティ
Dedicated community for Japanese speakers
í•œêµ ì»¤ë®¤ë‹ˆí‹°
Dedicated community for Korean speakers
Sign In
Exit
Home
ColdFusion
Discussions
coldfusion and jsp
Home
ColdFusion
Discussions
coldfusion and jsp
0
Upvote
coldfusion and jsp
Johny_Boyo
New Here
,
/t5/coldfusion-discussions/coldfusion-and-jsp/td-p/996559
Aug 16, 2008
Aug 16, 2008
Copy link to clipboard
Copied
hi,
Does anyone know how to include a jsp file in a coldfusion page cos when i do the getpagecontext the jsp file is not generating the jsp file class and gives me noclassdef error.can anyone help me.
thanks,
Johnson
TOPICS
Getting started
Views
457
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
2 Replies
2
Jump to latest reply
BKBK
Community Expert
,
/t5/coldfusion-discussions/coldfusion-and-jsp/m-p/996560#M90668
Aug 18, 2008
Aug 18, 2008
Copy link to clipboard
Copied
follow this
getPageContext()
example
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
BKBK
Community Expert
,
/t5/coldfusion-discussions/coldfusion-and-jsp/m-p/996561#M90669
Aug 18, 2008
Aug 18, 2008
Copy link to clipboard
Copied
LATEST
To be sure we're on the same wavelength. I ran these 2 files from the same directory
TimeNow.jsp
==========
<%
java.util.Date date = new java.util.Date();
%>
Hello World, the time is now <%= date %>
getTheTime.cfm
============
<cfset theTime = getPageContext().include("TimeNow.jsp")>
Votes
0
Upvote
Translate
Translate
Report
Report
Follow
Report
More
Reply
Reply
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Post Reply
Preview
Exit Preview
never-displayed
You must be signed in to add attachments
never-displayed
Â
Resources
Documentation
ColdFusion User Guide