Questions tagged [jspinclude]

The `` element allows you to include either a static or dynamic resource in a JSP page.

The <jsp:include> element allows you to include either a static or dynamic resource in a JSP page. The results of including static and dynamic resources are quite different. If the resource is static, its content is included in the calling JSP page. If the resource is dynamic, it acts on a request and sends back a result that is included in the JSP page. When the include action is finished, the JSP container continues processing the remainder of the JSP page.

181 questions
0
votes
1 answer

include big static html in jsp Pros and Cons

I want to know whether any problem or load on the server when a big static html file is included in JSP. Whether the server takes load in including the file on startup. I know that server converts and compiles the jsp only once on startup. And the…
Sandeep
  • 2,041
  • 21
  • 34
0
votes
1 answer

Spring JSP CSS referencing issues

My team had all ready created a project in spring framework and running successfully. Now i decided to make it run even faster. Existing project: My developers do their best and created dynamically output css pages using jsp. Existing code: …
Sudhakar Krishnan
  • 732
  • 1
  • 8
  • 27
0
votes
1 answer

How to escape the Ajax response sent from a jsp file while using tab-lib

I am having a jsp page. Inside which i import a jspf file. In the jspf file, i have used tab-libs similar to this ')">
Santron Manibharathi
  • 628
  • 5
  • 12
  • 26
0
votes
1 answer

Call API URL from browser rather than include it in jsp page and call from server

In my JSP page i am importing some api url that give some images. my server blocks api url but my browser show those images that coming from api url. My question is there any way to call the url from browser itself instead of calling from server…
user768990
  • 89
  • 1
  • 3
  • 8
0
votes
0 answers

Include JSP page

I have a JSP code that is used in several forms, and i'm trying to include it inside of a JSP page. It works fine with static JSP, but i did not succeed with dynamic JSP. The code i'm trying to include is something like that:
vwfziwl
  • 120
  • 1
  • 8
0
votes
1 answer

Jsp mimic a custom tag with jsp:include?

My applications have previously used jsp 2.0 custom tags extensively. We preferred these over jsp:includes because we didn't have to manually set objects into request scope. However the custom tags have one major limitation for us, which is not…
ant-depalma
  • 2,006
  • 4
  • 26
  • 34
0
votes
1 answer

Including jsp in jsf page

Below is what I have in JSP page example.jsp //report using mysql connection Now I want to include this page in one of my jsf page. How could I do that? I tried with below, however I get error as…
Fahim Parkar
  • 30,974
  • 45
  • 160
  • 276
0
votes
1 answer

Can I call RequestDispatcher in a getter?

I have a framework based on JSP, and I want to move the logic from the JSP in Java, so for that I'm using a POJO with I…
Cosmin Cosmin
  • 1,526
  • 1
  • 16
  • 34
0
votes
1 answer

Is JSPF validation broken in IBM RAD 8?

My IBM RAD 8 is not working when it is supposed to validate a JSP fragment. It reports errors that classes and variables are undefined that are defined in the including file. I don't want to disable validation, I'm asking how to enable it. I name my…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
0
votes
2 answers

include directive

Head First book says about include directive as include code from any other file into the JSP file at translation time, which can't be changed dynamically. However, I included a JSP file in the include directive, which generates a number randomly…
Greenhorn
  • 328
  • 2
  • 6
  • 12
0
votes
1 answer

jsp:include in netbeans

I'm using JSF in NetBeans. All I want to do is to include a page within another page. But whatever I tried, and when I run the main page, I get no error but I can't see my included page in a main page. Why? My main page is:
Duygu
0
votes
1 answer

When developing enterprise web applications, what is the best way to include an element or set of elements that appears in a number of pages?

For eg: If I have a navigation section with a number of links/buttons in it and this needs to be included in several pages (jsps), what is the best way to do this in a maintainable fashion? Would I do this by a jsp include?
Ramya
  • 289
  • 6
  • 17
0
votes
2 answers

How make a column of table to show jsp dynamically according to request?

I have an index.jsp page like, <%@ include file="header.jsp" %>
Register…
Dil Se...
  • 877
  • 4
  • 16
  • 43
-1
votes
1 answer

image display on jsp page

i am using to display the image on jsp but it show a smalll icon. img folder are parallel to jsps folder Directory structure: WebContent jsps .jsp files foo …
singh
  • 309
  • 1
  • 15
  • 27
-1
votes
2 answers

How to call a JSP from a diff website(project)?

Possible Duplicate: How do I include a jsp file from a diff project into my project How to call a JSP from a diff website(project)? I am trying to make a common project which would have a header and footer that all my web projects in my firm is…
user1472384
  • 93
  • 3
  • 8
1 2 3
12
13