473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

SetProperty per oggetti Complessi

Salve a tutti,

sto sviluppando un'applicazione web piuttosto complessa in java che utilizza il framework Bluprint della Sun.

In particolare, la mia problematica è legata alla gestione degli oggetti di business nell'interfaccia con l'utilizzo, nelle jsp, dei metodi setProperty e getProperty java.

Gli oggetti che utilizzo sono i seguenti:

‘public class Anagrafica implements java.io.Serializable {

...

private Vector indirizzi;

}

...

public class Indirizzo implements java.io.Serializable {

protected String tipo;

protected String particella;

protected String address;

protected String houseNumber;

protected String zipCode;

...

}

Ciò che voglio realizzare è la visualizzazione nella jsp dell'interfaccia di tanti ‘frame' quanti sono gli oggetti Indirizzo contenuti nel Vector di Anagrafica. Scrivendo, però, ciò che segue:

<jsp:useBean id="..." class="..." scope="session">

<jsp:setProperty name="indirizzo" property="*"/>,

il metodo setProperty non setta le propriet&agrave; complesse dell' oggetto vector indirizzo.



Spero di esser stata chiara.

Attendo un vostro suggerimento...

-------------------------

Annalisa Cosmai


Jul 23 '05 #1
1 2526
On Wed, 08 Jun 2005 15:19:37 GMT, Annalisa ma*****@libero.it wrote:
Salve a tutti,

sto sviluppando un'applicazione web piuttosto complessa in java che utilizza il framework Bluprint della Sun.
In particolare, la mia problematica &egrave; legata alla gestione degli oggetti di business nell'interfaccia con l'utilizzo, nelle jsp, dei metodi setProperty e getProperty java.
Gli oggetti che utilizzo sono i seguenti:


This apparently translates as..
I am developing a rather complex application web in java that it uses
framework the Bluprint of the Sun. In particular, my problematic one è
tied to the management of the objects of business in the interface with I
use it, in the jsp, of the methods setProperty and getProperty java.

To Annalisa:-

"Ha il significato inviare a questo gruppo usando la lingua che capite il
più bene, ma prego usa Google 'traduce'* gli attrezzi per dare una versione
inglese pure - questo senso la maggior parte dei lettori può capire!"

* <http://www.google.com/language_tools?hl=it>

Follow-Ups set to the only one of those groups to which I subscribe.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Pat Kelley | last post by:
I am trying to feed database column data into a bean using JSTL expression language: <jsp:setProperty name="fileWrite" property="fileText" value="1"/> <c:set var="test" value="test"/>...
0
by: erik | last post by:
Hello, I am trying to read a web page from within a tomcat servlet, using my company Proxy server (NTLM). When I try to do this, I get a 407. What means that my servlet did not pass the proxy....
0
by: Michal | last post by:
Hi, i'm trying in C# to turn on/off task pane in powerpoint. I can check the status, but i can not set it. this is example how can i check if task pane is visible string property = "Task...
2
by: DiPo | last post by:
Spero di aver postato nel luogo giusto, avrei bisogno di un aiutito. Come dal titolo mi sto avventurando per la prima volta nella programmazione ad oggetti con il c++, ho usato per poco tempo e con...
2
by: Matuag | last post by:
Hi All, I want to create following command buttons on a Form which users can edit. Save ( Save Changes made) Cancel ( Undo data changes) Exit ( Close form) I am using Macros for each of...
5
by: oyis | last post by:
Hi all, I have a jsp page and i use the <display:table> in it. I want to refresh the table but not all page. I use AJAX for this operation.But I can't refrest the table.How can I post the table...
0
by: rbukkara | last post by:
Hi, I have got the following error while trying to add a user in the LDAP Directory. javax.naming.NameNotFoundException: ; remaining name 'uid=vassila,ou=People,dc=cs,dc=uno,dc=edu' I have...
7
hsn
by: hsn | last post by:
hello everyone. i am trying to use the system.setproperty to set the proxy in my computer. public static void main(String args) { // TODO Auto-generated method stub ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.