This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes JSP and the fly likes Using <@% page import in jsp fragment pages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "Using <@% page import in jsp fragment pages" Watch "Using <@% page import in jsp fragment pages" New topic
Author

Using <@% page import in jsp fragment pages

kartik krishnan
Ranch Hand

Joined: Nov 19, 2006
Posts: 63
Hi

I apologize for a newbie question but I have not found a solution to my predicament anywhere. I am trying to load the string representation of image source in the jspf fragment file but the impression tracker does not load in the jsp file. I am hoping for any help that I can get.

The logic is: if impressionTracker starts with http or https if then use the string as image source if not , just write the impression tracker on the jsp page.

Given below is the source of my origin jsp. In this file, I include another jspf fragment file.



I am including the jspf file source code.

In my jspf file, I am trying to import a Java file as follows
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using <@% page import in jsp fragment pages