This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Using <@% page import in jsp fragment pages" Watch "Using <@% page import in jsp fragment pages" New topic

Using <@% page import in jsp fragment pages

kartik krishnan
Ranch Hand

Joined: Nov 19, 2006
Posts: 63

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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Using <@% page import in jsp fragment pages
It's not a secret anymore!