JSP (JavaServer Pages) JSP is a Java view technology running on a server which allows you to write template text in client side languages like html, css, javascript and so on. JSP supports the so-called taglibs which are backed by pieces of Java code with which you can control the page flow and/or ...

learn more… | top users | synonyms

0
votes
2answers
27 views

redirect System.out to page

I am running a Java application through my JSP page. is it possible to redirect everything that the Java app prints into System.out into my page? Edit: I have a package pkg which contains a main ...
2
votes
0answers
10 views

jsp errorPage not working properly with spring dispatcher

I am using spring in my jsp project, I have following mapping for all html requests, <servlet> <servlet-name>spring</servlet-name> ...
1
vote
0answers
9 views

dynamic content table in jsp page

I have a problem with a jsp page (I'm a novice). In a jsp page, I wrote a table that is read from a database. I write here the code of the page: <%@page import="java.sql.SQLException"%> ...
1
vote
1answer
17 views

Cookie read and write issue- jQuery to JSP

using jQuery cookie plugin I create cookie: $.cookie('uom', '1-23-235(K)'); When I read it from JSP, it Return me only the following 1-23-235 and if I remove parentheses while creating cookies, ...
1
vote
1answer
19 views

jFreechart not display in linux machine

Jsp <img alt="" src='<%=url+"/chartDemo/servlet/ChartDemoServlet"%>'> I have upper code inside jsp to use jfreechart. I have deployed this application inside tomcat of window machine ...
0
votes
1answer
14 views

Cannot show images or background in jsp

I am a beginner in JSP and I want to build a template. what I want exactly is to display images and background. I built the following HTML code in Notepad and it worked perfectly. However, it is not ...
0
votes
1answer
17 views

Get value from a parameter in URL in JSP

My URL is : /something/page.jsp?viewall=1&CategoryID=1 I want to get CategoryID parameter value as follow. <% //String cat = "All"; String cat = ...
0
votes
4answers
34 views

Create session in java using jquery

I want create session using client side jQuery API in Java. is it possible to create session in jQuery in J2EE i.e JSP and Servlet?
2
votes
2answers
41 views

Read file by keeping line track in java

I have servlet to read log file my jsp call servlet at some interval.I want to add functionality in my servlet so that it read file from line next to last line from previous read. I have following ...
1
vote
0answers
26 views

HyperLink to the first column in Datatables?

Below is the code for the radio button,I would like to make the first Column as hyperlink instead of radio button and pass it on to the next jsp page. and also have any idea of working on datatables ...
0
votes
2answers
36 views

can't run jsp with css from tomcat

i have problem running my project from Tomcat. i used IDE before and never faced this problem till now. i have my jsp with a link to css, that looks like this: <%@page ...
0
votes
2answers
35 views

weird org.hibernate.LazyInitializationException: could not initialize proxy - no Session

Hi guys i'm having a weird problem in here, i'm using JPA, Hibernate and Spring MVC well in the controller class all the methods work great when i test them in the web browser EXCEPT the : public ...
0
votes
0answers
11 views

Data lost when rendering multiple tables using display tag

I am facing this strange issue when I am rendering multiple (10-12) (related data, with same columns) tables with approximately (10-100) records per table in a single jsp file. When I try to export ...
0
votes
1answer
16 views

Using jQuery validation plugin with a form written in struts

I want to implement the jQuery validation plugin for use in a web application written in java and struts. I just want to use it to validate form inputs to see if they conform to certain rules before ...
2
votes
1answer
33 views

Struts2 - retrieve session object using another session object as key

I'm new to struts2 and I'm trying to retrieve a session object using a dynamic session key. My app flow is like this: User will hit the action from their browser ...

1 2 3 4 5 694
15 30 50 per page