[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x

JSP

JavaServer Pages (JSP) allow the development of dynamically generated web pages. It uses the Java programming language; JSP pages are translated into servlets at runtime, with each servlet being cached and reused until the JSP is modified. JSP allows Java code to be interleaved with static web markup content, so the resulting page can be compiled and executed on the server to deliver the content.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello,
facing a problem to choose best client side framework for localization with jsp?
I have REST API which i need to consume at client side and display it on jsp will it be safe to use spring mvc for client side?
What is the best practice to integrate client-server ?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE
LVL 4
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

how to export jsp content, (which will have html div and pie charts) to pdf/excel/csv..
any solution?
0
I want to develop charts in my project using jsp.
please suggest any open source which should have options to export to different formates.
0
I am trying to create a dependent dropdown list. Right now in the masterDataQueryScreen.jsp, I am directly calling a method in in my MasterDataDao class called getAllSites. What I would like to do is create a dependent drop down list. So basically, if the division in the jsp has a value of either 33, 36, or 40 call the method getAllJJSites  in the MasterDataDao class to populate the second dropdown else call getAllSites. The getAllJJSites is on line number 642 in the MasterDataDao class. I have also included jquery-1.11.1.js under the js folder under WebContent. I am assuming I will need to use jquery. Please let me know what else is needed. Thank you so much in advance. I have been stuck on this issue for at least a month now and cannot find a great example using a query.
0
i have to represent no of device for each status(new,paired,blocked..etc) in the charts.
i want use  jquery and bootstrap with out using CanvasJS
please provide example of donut charts
0
I would like to see how to create a dependent dropdown list within my existing JSP page.
Basically, if I choose one value in the first dropdown list I would like to populate the second dropdown list with results from one query
else
I would like to populate the second dropdown list with results from another query.
I've heard jquery can do this but I have not found any examples related to query list results.
0
what kind of precautions we have to take while developing web application(JSP) to avoid/handle cross site scripting attacks.
we plan to use spring mvc framework as technology.
0
i want to implement report(charts) with JSP.. Inventory reports...SIM order reports.. should be exported to pdf and excel formate
i need some example charts for my reference.
please provide some references.
0
we have web portal, using Spring MVC.
we need to  Sending rest request to server from popup page(which as parent page)
we want to show messages to user about request status(sent successfully or not).. i need to achieve this with our refreshing page.

how can i achieve this.
0
Hi All,

I am having Issues trying to access a Tomcat JSP page from AWS ELB I can access it from the localhost,
but ELB isn't allowing me to get access out.

my EC2 Instance has security roles
HTTP 80 ::/0
HTTP 80 0.0.0.0/0
TCP 8095 0.0.0.0/0

The ELB has a listener for HTTP 80 HTTP 8095 with secturiy for
http 80 0.0.0.0/
TCP 8095 0.0.0.0/0
0
Concerto Cloud for Software Providers & ISVs
LVL 4
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@page import="java.sql.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%

Connection con = null;
Statement stmt = null;
ResultSet rs = null;


%>


<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script type="text/javascript">
function lobChange(lob,chan){
      var lobvalue=document.getElementById(lob).value;
      alert(lobvalue);
      
}
</script>
</head>
<body>


<%
try{
      Class.forName("com.mysql.jdbc.Driver");
      con = DriverManager.getConnection(
                  "jdbc:mysql://localhost:3306/usoutlookdb2017", "whirlpool",
                  "whirlpool");
      stmt = con.createStatement();
      String sql = "SELECT distinct lob  FROM lob_sls_chan_mdata ";
      rs = stmt.executeQuery(sql);
}
catch(Exception e)
{
      e.printStackTrace();
}
%>
 
<label>LOB</label>
<select id="lob" name="lob" onchange="lobChange(this.id,'chan')">
<option>SELECT LOb</option>
      <%
            while (rs.next()) {
      %>
      <option><%=rs.getString(1)%></option>
      <%
            }
            
      %>
</select>


<br>
<label>CHANNEL</label>
<select id="chan" name="chan"></select>


</body>
</html>
0
I'm very new to unifi, html and css. Please be gentle with me.
I have the current windows version of the Ubiquiti Unifi controller.
I am able to modify voucher.html and voucher.css to produce custom hotspot vouchers.
I want to print, on the voucher, the date and month the voucher was created.
I have added the following line to voucher.html:
<div class="create_time">Create Time: <unifi var="create_time" /></div>
 
The voucher prints "Create Time:" but does not print the date/time.
Any assistance is much appreciated.
0
public ModelAndView EditDetails(Http Request req,Http Response res,SampleDTO sampleDTO)
{
ModelAndView mvc=new ModelAndView();
String n=req.getParameter("name");
List<String>details=//some list values;
mvc.addObject("details",details);
mvc.setviewname("ll.jsp");
return mvc;
}
 

in jsp , can u say how to use spring bind and set to dto and use it in controller
0
Query is

select to_char(to_date(123,'j'),'jsp')from dual;

Please tell me what is JSP and how it works
and why use date function
0
I have my code like below
      response = orch.process(request);

when i mover on to process method and click control and left mouse click it supposed to go to process method implementation but it is not doing in eclipse mars.

it used to work earlier not sure suddenly what happened stops working.

i restarted my laptop still not working.

please advise
0
<display:column url="/editFixedRonuAction.do" paramId="id"
                                                      media="html" paramProperty="ronuAreaCode" headerClass="listMenu"
                                                      titleKey="label.rnumberEdit">
                                                      <bean:message key="button.edit" />
                                                </display:column>

in above code,I want to pass ronuId and ronuAreaCode both variable to action class.

Please suggest solution
0
hidden field while scaning through hp fortiify
0
I am having a SOAP API project in which I send the request in XML while calling the API from SOAP UI to create the account on portal. In return, I get the response in XML.

Now I want to change it to Web UI (Don't want to use SOAP UI). To do that I want to use HTML form which will have input fields like v1:type,company name etc (Currently, I pass the fields in XML request using SOAP UI) and while submitting the form, API should be triggered and parse the XML response to display on Web UI.

Note : I am also having the certificate (jks) for API in SOAP UI. where that certificate will I configure?

Please help me as I am very new in this area.

Below is the request and response.

Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v="abc.com" xmlns:v1="abc.com">
   <soapenv:Header>
      <v:vfExtendedHeader>
         <v1:traceIdentifier>
            <v1:applicationId>VSDM_PROVISIONING</v1:applicationId>
            <v1:serviceId>ARI_sis_${=new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(new Date())}</v1:serviceId>
            <v1:serviceInterfaceVersion>2.0</v1:serviceInterfaceVersion>
            <v1:timestamp>${=new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(new Date())}</v1:timestamp>
            <v1:referenceId>ARI_rid_${=new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'").format(new Date())}</v1:referenceId>
            <v1:correlationId>NULL</v1:correlationId>
      

Open in new window

0
getting HP fortify low issue Hidden filed in the below line in jsp .please help to solve

<input type="hidden" name="ProceedName" value=<%=pageReg%>>
0
Free Tool: IP Lookup
LVL 10
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

hi does anyone know how to implement   marquee element in oracle java adf
0
how to insert multiple checkbox data into database table at the same id using jsp servlet?
0
I'm looking to modify the Default Landing Zone of Open Meetings.  I'm looking for where in the open source code of this program that I can adjust sessions, invitations, meeting rooms, and the default landing zone upon entering the system.  I'm looking for some direction on this, and for any advice on which parts of the code or what source files that this might be coming from.  Please help.  Thank you!

David
0
I had this question after viewing Struts bean:define tag.
0
Hello,
I want to edit my adobe muse website's code on Netbeans and J2EE. I want to convert the HTML code of my site into a JSP I exported the HTML code of my site but don't know what to do next. Please help me
0
Hi,

I am new here. I was working on jsp pages and looking forward to implement a hiding function for a division based on if condition as shown below code:

<c:forEach items="${roleMapList}" var="item">
<c:if test="${item.rolemaproleid == 1 && item.rolemaproleid == 2 && item.rolemaproleid == 3}">
                           
/*  Here I have to implement code (jquery/javascript) to disable a div having an id= "hidingDiv"  */
                           
</c:if>
</c:forEach>

Could you please help me to surve for this day
0

JSP

JavaServer Pages (JSP) allow the development of dynamically generated web pages. It uses the Java programming language; JSP pages are translated into servlets at runtime, with each servlet being cached and reused until the JSP is modified. JSP allows Java code to be interleaved with static web markup content, so the resulting page can be compiled and executed on the server to deliver the content.

Top Experts In
JSP
<
Monthly
>