Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [jsp]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
8 votes
2 answers

Code examples for SmartTarget in JSP?

The docs contain a detailed TCDL reference for SmartTarget tags, however I am not rendering my pages at publish time, and want to use the JSP tag libs directly in my page view code. Does anyone have ...
Will Price's user avatar
  • 16.4k
8 votes
1 answer

JSP Page Error: NoClassDefFoundError: com.tridion.web.Admin

So on publishing a .jsp page I kept running into the error 'NoClassDefFoundError: com.tridion.web.Admin', while other pages which used the same templates, but contained different component ...
Josh Hebb's user avatar
  • 2,920
6 votes
1 answer

Why does the Component Presentation Assembler not execute JSP code?

We're busy upgrading to Web 8.5, and I'm having some problems with JSP Dynamic Component Presentations. These are correctly deployed to disk, and the ComponentPresentationFactory is able to locate my ...
Dominic Cronin's user avatar
5 votes
1 answer

JSP Statements Not Interpreted in a DCP

I've a DCP that renders a JSP statement <% out.println("Hello"); %>. I'm trying to execute the JSP statement by using the CD API on a static JSP page. I've tried all possible scenarios - making ...
Sabarish Senthilnathan's user avatar
4 votes
2 answers

How to start Content Delivery (JSP) delayed/programatically

I am looking for a way to start the tridion related stuff in the content delivery programatically or delayed instead of starting immediately when the app server starts the webapp. I am not sure ...
Roy Teeuwen's user avatar
4 votes
1 answer

Tridion 2013 JSP multiple value metadata only displaying single value

I inherited a Tridion 2013 page that has a metadata field set to "Embedded Schema", with "allow multiple values" checked. I am trying to access these values on a JSP page from the pageModel. The ...
sunamc1's user avatar
  • 179
4 votes
1 answer

Are RSTL tags thread safe, getting different o/p while accessing same page in multiple threads?

We have used the RSTL tags in our project as explained below with the latest code available on the web: I am noticing a strange error that ...
Yash's user avatar
  • 916
3 votes
1 answer

How do I use the CIL to resolve Component Links with child HTML elements?

I'm in the process of upgrading a Tridion 2013 SP1 HR1 based site to SDL Web 8.5. The current delivery environment is based on .jsp files. I'm attempting to use the CIL libraries but I'm having ...
Nate Niemi's user avatar
2 votes
3 answers

Java code in DCP not exectued

Both the ComponentPresentationAssembler classes from the com.tridion.dynamiccontent package, or the deprecated com.tridion.web.jsp package return the content of the dynmamic component presentation as-...
user avatar
2 votes
1 answer

Resolving tcdl tags in jsp pages

I have tcdl tags written out in my jsp pages (publication target is set to REL, and it is not an option to change it to jsp). What do I need to include in my jsp pages to make these tags resolve? ...
user3760419's user avatar
  • 1,079
2 votes
1 answer

How to use JAVA contants in JSP for DXA 1.5

File 1 : package com.sdl.webapp.main.common; public class Constants { public static final String LARGE = "Large"; } File 2 : demo.jsp <jsp:useBean id="entity" type="com.sdl....
Sandeep Deshmukh's user avatar
2 votes
1 answer

Resolving tcdl tags for DCP and JSP Page - REL tags in combination with JSP tags are not working

In the upgraded SDL Web 8.5 system. One of the DCP template output has component link tag. which is not getting resolved in the web app. <a tridion:href="@@Component.ID@@"> @@Component.Fields....
Velmurugan's user avatar
  • 8,215
2 votes
1 answer

Process Smart Target tags

Can you please provide some pointers on how to process the Smart target tags in a JSF application using the Tag Libraries and TLD files of Smart Target. We are using XHTML pages instead of JSP. ...
Mark Thomas's user avatar
2 votes
1 answer

JSP resolve using DXA application in Tridion 9.5

We have created a Page Template with an extension jsp and added Page view name in the template Page metadata. Component Presentations based on this Component Template will be Published as a Dynamic ...
Maxie 's user avatar
  • 23
1 vote
2 answers

How to control placement of a JSP ComponentPresentation after execution by ComponentPresentationAssembler.getContent()?

The Content Delivery API documentation states that the getContent() method of the com.tridion.dynamiccontent.ComponentPresentationAssembler class returns an empty string after executing a JSP ...
Nickoli Roussakov's user avatar
1 vote
1 answer

Issues while querying Number type metadata fileds through JSP content broker query API

I have a legacy implementation where we have some components got number type metadata filed. Downstream applications uses JSP content broker query API and queries for components with number filters. ...
Nageswara Sarma Aravelli's user avatar
1 vote
1 answer

Need help on display as jsp extension in web page using tridion web 8 and dd4t (version2)

I am trying to display the page as .jsp instead of .html in the url but I run into issues. Any ideas or help would be great appreciate. Everything is working fine with .html In the tridion, i save ...
Jon S's user avatar
  • 111
1 vote
0 answers

StaticContentInterceptor | Static resource xpm.js not found

While running(start) the server in Eclipse, I see below Error being logged in console. While it is able to locate one of the xpm.js, it is unable to locate the 2nd xpm.js as highlighted in RED below. ...
Arvind thiag's user avatar
0 votes
2 answers

DD4T 2 Java java.lang.ClassCastException

I have a page class defined as below (I've removed all custom fields). public class TwoColPage extends PageImpl { //TODO: metadata fields } In my JSP I have <jsp:useBean id="pageModel" type="...
Chris Morgan's user avatar
  • 7,327
0 votes
1 answer

Getting a published page's version at runtime from the broker database (Tridion 2011 Java)

I'm in the process of implementing a modular JS/CSS system on our site and I'd like to introduce a cache buster ?v=1 query to the end of the file url's. Due to the fact we use a runtime DCP to write ...
Kris Trygg's user avatar