TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/17Franco/CulturarteWeb/llms.txt
Use this file to discover all available pages before exploring further.
/Buscador servlet is the public discovery hub of CulturarteWeb. It accepts an optional free-text filter and an optional category filter, delegates to the SOAP back-end for the actual query, groups results by state, and forwards to index.jsp for rendering. Because it is registered as a welcome-file, it is also reachable at the context root (/).
URL pattern
| Pattern | Notes |
|---|---|
/Buscador | Explicit path |
/ | Welcome-file alias (context root) |
GET /Buscador
Request parameters
Free-text search string. Passed directly to
portU.buscarPropuestas(filtro). If omitted or empty, an empty string is used, which typically returns all non-INGRESADA proposals from the SOAP layer.Subcategory name to filter by. When present (and non-empty), the servlet calls
portU.obtenerPropuestaPorSubCategoria(categoria) and the filtro parameter is ignored.Ordering hint. Currently all code paths sort results by
fechaString descending regardless of the value supplied. Accepted by the servlet but has no effect on the order returned to the view.Query routing
Result grouping
After the SOAP call returns a flatList<DtoPropuesta>, the servlet:
- Sorts the list by
fechaStringdescending (most recent first). - Builds a
Map<String, List<DtoPropuesta>>keyed by state name:"Todas"— the complete sorted list (contains all states returned by SOAP, which already excludesINGRESADA).- One entry per distinct
estadoAct.name()found in the list (e.g."ACEPTADA","PUBLICADA","EN_FINANCIACION","FINANCIADA","NO_FINANCIADA").
The SOAP methods
buscarPropuestas and obtenerPropuestaPorSubCategoria do not return proposals with state INGRESADA. The servlet therefore never needs to filter them out on the Java side — the exclusion happens at the service layer.Request attribute set for the view
| Attribute | Type | Description |
|---|---|---|
propuestasPorEstado | Map<String, List<DtoPropuesta>> | Grouped results. index.jsp uses this to render the tabbed/filtered proposal grid. |
index.jsp.