Tagged Questions
0
votes
1answer
33 views
Upload file to j2ee spring, file is null
I'm trying to upload a file to my J2eE spring backend. But if I set file required then it does not recognize, so therefor i conclude that it must be the way I try to send it from the front end.
HTML ...
0
votes
1answer
33 views
How can i do a sequential display of a list of image(awt.Image) with JQuery?
I have a big problem and i need your help.
My application is with JSF and rich faces. I have a list of Image in my model (imageModel):
import java.awt.Image;
List<Image> liste_images = new ...
0
votes
1answer
33 views
Sequential display of a images list with jsf,richfaces
I have a big problem and i need your help.
My application is with JSF and rich faces. I have a list of Image in my model (imageModel):
import java.awt.Image;
List<Image> liste_images = new ...
1
vote
1answer
19 views
How to play audio from a ByteArray? (dosen't have a URL)
I am receiving a ByteArray from a web service and i want to be able to play the audio ByteArray in HTML5 audio tag. I was wondering if it's possible since the audio tag needs an URL
<!DOCTYPE ...
2
votes
2answers
38 views
Getting undefined ID for <div> in JSP using Javascript?
I have written jsp code somewhat like this:
<%
out.println("<div id=\""+rs.getString(2)+"\" align=\"center\" onclick=\"showDialog()\" style=\"float:left;background-color:#b4cde6; height: ...
7
votes
2answers
189 views
How to read QR code using iPad camera on website?
I am using the following code to access the camera but aim is to read QR codes using camera.
Using the following code I can only take the picture and save it then using my backend read the QR code ...
0
votes
1answer
40 views
Get a variable from Javascript to Sql query in JSTL
I developed in Java EE and I want to take a javascript variable (which I obtained from another jsp page mother) I want to use it in a query sql server in the same page pop1.jsp, here is my code:
...
0
votes
2answers
87 views
How to force spring-security to redirect unauthorized users to a specific page?
My application perfectly submits a form to server and shows the response message received from server such as "form is submitted" or "sorry, something went wrong!"
However, I need to allow all users ...
0
votes
0answers
17 views
com.caucho.jsp.JspParseException: illegal start of type <![CDATA[
I am getting the following exception when I run an application on Resin 4.0.22.
com.caucho.jsp.JspParseException: /abc.jsp:7: illegal start of type
<![CDATA[
^
The CDATA ...
0
votes
0answers
20 views
Morena plugin in JAVA
Can a web applet be directly interfaced with a scanner?
I mean is this possible>>
step 1:
user puts in the hardcopy into the scanner
step 2:
i have a morena plugin which detects the scanner and ...
0
votes
1answer
70 views
Pass parameters from javascript liferay
Using IPC I am calling another portlet
My problem is I want to pass the value from hidden field.
But if I assign jsp scriplets
<%! public String projectid= "300015"; %>`
<portlet:param ...
0
votes
1answer
47 views
Uploading and saving images in different resolutions on server
I am developing a website using Java and Spring MVC. There is a form which allows entering some details and attaching images. Both data and images get uploaded to the server when user submits the ...
-1
votes
1answer
37 views
Design for web application [closed]
I am new to web application development, so i am little confuse regarding the design of my application.
I started with few things which i already knew like jsp and Servlet but stuck in middle. After ...
0
votes
1answer
33 views
How can i populate some textfield on selection of an option from the form:select having items as object list?
I have a DTO with attributes id,name and text. I am generating a list of these DTO's and sending them into my JSP through model.addAttribute. In my jsp i am rendering a spring list like this.
...
0
votes
3answers
68 views
Set parameter of font color from javascript
I need to show the text <Reg id:> in red color if reg id is null or empty. This is my current implementation but on alert, color is not changed.
<html>
<head>
<script ...