Search Results

Showing results 1 to 11 of 11
Search took 0.01 seconds.
Search: Posts Made By: javaAddict ; Forum: JSP and child forums
Forum: JSP 3 Days Ago
Replies: 3
Views: 174
Posted By javaAddict
Then after the user logs in put in the session the username and the user role (ADMIN or USER)

Then at every page get the info from the session and if someone has gone to an ADMIN page when in the...
Forum: JSP 30 Days Ago
Replies: 9
Views: 670
Posted By javaAddict
It is like I said. You lack the very basics and you should be ready to accept criticism:

Java is executed at the server. Then the page is generated and then send to the client pure html.
...
Forum: JSP 31 Days Ago
Replies: 5
Views: 343
Posted By javaAddict
Here is how:
1) Post to correct forum
2) Be more descriptive on your problem
3) Show some effort

If you are talking about a web application

4) Learn about request, session
5) Learn about...
Forum: JSP 32 Days Ago
Replies: 1
Views: 442
Posted By javaAddict
Why don't you use the post method?
Forum: JSP 34 Days Ago
Replies: 8
Views: 59,265
Posted By javaAddict
And what is the point of this post? This is a 4 year old thread which has been revived 1 year ago, with no useful information. Can someone please close this?
Forum: JSP Oct 13th, 2009
Replies: 1
Views: 506
Posted By javaAddict
Have you tried using another attribute than "disabled".
The input "text" has an attribute "readonly". Search what other attributes the checkbox has.
Forum: JSP Aug 31st, 2009
Replies: 1
Views: 362
Posted By javaAddict
The selElts you define in javascript is not the java array. They are not the same. What you have written doesn't work. You can not call javascript method to give values to java variables.


If you...
Forum: JSP Aug 24th, 2009
Replies: 2
Views: 398
Posted By javaAddict
You need to import the class:


<%@ page import="package.DBManager"%>
Forum: JSP Jun 21st, 2009
Replies: 4
Views: 712
Posted By javaAddict
I don't know if this the case, but you MUST first call:
rs.next()
to get the row from the ResultSet.
Meaning that when you do:
String Instructor = rst.getString("Instructor");
you probably get...
Forum: JSP Apr 29th, 2009
Replies: 9
Views: 1,868
Posted By javaAddict
First of all what type of argument does ps.setDate() have and what type are the to_date, from_date at your database?

Also if you need to convert a String to a Date try this:


String sDate =...
Forum: JSP Nov 27th, 2008
Replies: 6
Views: 9,990
Posted By javaAddict
Ok I have managed to solve this one too:

I was using this:

<s:iterator value="listOfObjects">
<s:property="code">
................
<s:radio name="selectedCode" list="listOfObjects" />...
Showing results 1 to 11 of 11

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC