T Tberg

Ranch Hand
+ Follow
since Aug 19, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by T Tberg

try using for loops, first without the spaces like this:

*
***
*****

14 years ago
no not yet... I will look in to that;)
14 years ago
I need to connect to a webservice using axis. What I now have is this:



but the problem is that must be in the soap. so the customer and the module and the version must be a child of callinfo. The "cal:" is a namespace like this: "http://site/naam/CallInfo".
how can I make sure that the customer and the module and the version are childs of callinfo?
14 years ago
oh yes, thank you for your help:P
14 years ago
I'm using tomcat realms with a mysql database. When I want to end my session I use this:
in my .jsp page.

But when I click the previous page button in my browser I can see the whole page again without the pictures or the .css file of the page I visited again.
When I click a button in that page it asks for my password again. What can I do so you really can't see anything of the page before?
14 years ago
ok thanks, got it working ;)
14 years ago
I want to copy an object called t1. I do that like this:


What I don't understand is the output: Why, when I set the test value of t1 to another value, the value of t2 also changes to that value?
14 years ago
Ok thanks, I solved it:D
14 years ago
JSF
You mean that when someone enters my "select page" other beans will be made with only the key in them?
14 years ago
JSF
? Is this possible?
14 years ago
JSF
I'm trying to update my database using jsf. When someone selects something on my page the info is displayed of that something. On that page the user then can change some of the values with a h:inputfield. Then I want to update those changes to the database. My problem is: when the user select the something a bean is created with every info from the database including the primary key. Then I display some of the items but not the primary key of course, because I don't want the user to change it. When the user clicks save a new bean is created (because I want all of my beans to be request scoped) with all the new items but the primary key is never set! Does anyone know how I can set the primary key in my bean without the need of putting a h:inputfield on my jsf page? I'm using jsf 1.2 if it makes any difference...

thanks in advance.

edit: When I am using the bean as a session scoped one, the first time someone tries to update the values it doesn't work but the 2nd time it does.
14 years ago
JSF
I'm trying to have multiple security-constraints in my web.xml file like this:

When I'm only using the limited constraint it works fine, but when I'm using both the limited constraint can suddenly access other pages as well.

can anybody help me with this?
14 years ago
i'm trying to get a button in a cell of a table like this.


however, I want the button to be the whole length of the cell. I tried this: but that didn't work.
Anyone know how I can get the button to a whole cell?
14 years ago
JSF
I hava a form which get the url and name from a previous page like this:


but now I want to use them in a java class called DBUpdate. How can I do this?
14 years ago
JSF