Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using <@% page import in jsp fragment pages  RSS feed

Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!