PDA

View Full Version : [Java] Aiuto JSTL! Agire sugli array e JavaBean


UnknownSoldier
07-12-2008, 19:33
Salve a tutti. Ho un problema con JSTL, recupero i risultati di una query nella variable "empProjects" e dovrei salvare questi valori in un bean, precisamente nella proprietà "Projects" che ovviamente possiede i metodi getter/setter che lavorano su un array di String.

<sql:query var = "empProjects">
SELECT Project FROM EmployeeProjects
WHERE UserName = ?
<sql:param value = "${validUser.userName}"/>
</sql:query>

Il problema è che non riesco ad eseguire questa operazione, ho provato in vari modi ma non funziona...

Hardware Upgrade Forum Database Error
Database Error Database error
The Hardware Upgrade Forum database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.hwupgrade.it home page, then try to open another page.
  • Click the Back button to try another link.
The www.hwupgrade.it forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.