Click here to Skip to main content
15,887,214 members
Home / Discussions / Java
   

Java

 
QuestionI'm having some issues with a source code Pin
DarkoJava2-Sep-16 15:55
DarkoJava2-Sep-16 15:55 
QuestionJava sector best? Pin
Member 127154721-Sep-16 6:42
Member 127154721-Sep-16 6:42 
QuestionJava sector best? Pin
Member 127154721-Sep-16 6:42
Member 127154721-Sep-16 6:42 
AnswerRe: Java sector best? Pin
NotPolitcallyCorrect1-Sep-16 7:10
NotPolitcallyCorrect1-Sep-16 7:10 
AnswerRe: Java sector best? Pin
ZurdoDev12-Oct-16 1:08
professionalZurdoDev12-Oct-16 1:08 
QuestionExposing API VS Stored procedure Pin
Java Lead31-Aug-16 4:28
Java Lead31-Aug-16 4:28 
AnswerRe: Exposing API VS Stored procedure Pin
Richard MacCutchan31-Aug-16 4:43
mveRichard MacCutchan31-Aug-16 4:43 
QuestionCan not Access RequestAttribute in JSTL Pin
AmbiguousName26-Aug-16 0:46
AmbiguousName26-Aug-16 0:46 
Hello there. I am trying to get rid of scriptlets. I attach an object from servlet and try to access it in JSTL. But the logs say that JSP can not find the properties of this object. Here is the servlet sample
request.setAttribute("student", student);

Here is the JSTL sample, with different combinations - all producing no result at all (how ever scriptlets do)
// scriptlets work fine - I just want to use JSTL for this
<c:set var="student" value='${requestScope.student}' scope="request" />
<input type='text' value='${student.FirstName}' /> // without single quotes
<input type='text' value='${student.FirstName}' /> // with single quotes

<input type='text' value='<c:out value='${student.FirstName}' />' /> // using <c:out> - with single quotes
<input type='text' value=<c:out value='${student.FirstName}' /> /> // using <c:out> - without single quotes

As you can see, I have tried different combinations but could not get and display value of request attribute using JSTL. What is wrong? Thanks for any input.

This world is going to explode due to international politics, SOON.

AnswerRe: Can not Access RequestAttribute in JSTL Pin
rah_sin30-Aug-16 20:07
professionalrah_sin30-Aug-16 20:07 
Question[SOLVED] 'TYPE' Cannot Be Resolved To a Type in JSP Pin
Django_Untaken24-Aug-16 2:34
Django_Untaken24-Aug-16 2:34 
QuestionDrools : Exception in thread "main" java.lang.RuntimeException: Query 'results' does not exist Pin
coolSol23-Aug-16 18:37
coolSol23-Aug-16 18:37 
AnswerRe: Drools : Exception in thread "main" java.lang.RuntimeException: Query 'results' does not exist Pin
Richard MacCutchan23-Aug-16 21:02
mveRichard MacCutchan23-Aug-16 21:02 
Questionconsole output to a text file Pin
Member 1142765722-Aug-16 3:55
Member 1142765722-Aug-16 3:55 
AnswerRe: console output to a text file Pin
Richard MacCutchan22-Aug-16 4:28
mveRichard MacCutchan22-Aug-16 4:28 
Rant[REPOST] console output to a text file Pin
Richard Deeming22-Aug-16 4:31
mveRichard Deeming22-Aug-16 4:31 
QuestionShould I use Java over Python for developing web application? Pin
Rebecca199521-Aug-16 12:20
Rebecca199521-Aug-16 12:20 
AnswerRe: Should I use Java over Python for developing web application? Pin
Richard MacCutchan21-Aug-16 23:02
mveRichard MacCutchan21-Aug-16 23:02 
AnswerRe: Should I use Java over Python for developing web application? Pin
manjiriV23-Aug-16 1:56
manjiriV23-Aug-16 1:56 
GeneralRe: Should I use Java over Python for developing web application? Pin
Rebecca199523-Aug-16 4:18
Rebecca199523-Aug-16 4:18 
GeneralRe: Should I use Java over Python for developing web application? Pin
Kofi_Tommy26-Aug-16 13:44
Kofi_Tommy26-Aug-16 13:44 
AnswerRe: Should I use Java over Python for developing web application? Pin
jschell1-Sep-16 6:56
jschell1-Sep-16 6:56 
QuestionHow Android derives from Java Pin
Andy_Bell18-Aug-16 6:34
Andy_Bell18-Aug-16 6:34 
AnswerRe: How Android derives from Java Pin
Richard MacCutchan18-Aug-16 22:27
mveRichard MacCutchan18-Aug-16 22:27 
GeneralRe: How Android derives from Java Pin
Andy_Bell18-Aug-16 23:04
Andy_Bell18-Aug-16 23:04 
GeneralRe: How Android derives from Java Pin
Richard MacCutchan18-Aug-16 23:26
mveRichard MacCutchan18-Aug-16 23:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.