Questions tagged [jspx]

Jspx is a free open source pure Java web Rapid Application Development framework

Jspx extends Java EE servlets to provide an Object-oriented programming model for HTML declarative code.

Jspx aims at providing easy to use, developer-friendly APIs. Based on the idea that web development is mostly about customizing the HTML that is presented based on user-input, jspx offers an object-oriented view layer interface to HTML.

Jspx provides a means of implementing a stateful user interface over a stateless protocol (HTTP). JSF provides similar functionality, but requires that developers learn an entire new set of tags.

Read more

216 questions
52
votes
8 answers

Should I be doing JSPX instead of JSP?

Using JDeveloper, I started developing a set of web pages for a project at work. Since I didn't know much about JDev at the time, I ran over to Oracle to follow some tutorials. The JDev tutorials recommended doing JSPX instead of JSP, but didn't…
user290
20
votes
11 answers

Conditionally set an attribute on an element with JSP Documents (JSPX)

In HTML forms, buttons can be disabled by defining the "disabled" attribute on them, with any value: If a button is to be enabled, the attribute should not exist as there is no defined value…
iainmcgin
  • 2,691
  • 1
  • 18
  • 24
15
votes
2 answers

How to produce valid HTML with JSPX? (not XHTML)

When trying to create a HTML page with JSPX you will face the following difficulties: JSPX minimizes tags we don't want it to, for example
becomes
which is interpreted differently by browsers JSPX tags…
ooBartez
  • 391
  • 1
  • 3
  • 9
13
votes
2 answers

Escape HTML entities in JSP / JSPX: no solution for problem that should not even exist?

We use jspx as template engine. We have dozen of screens with hundreds of el expressions like ${user.firstName} or "${mail.subject}" And all this HTML code is not escaped by default. If there would be something with < or " in field -- screen will…
Ilya.K
  • 567
  • 6
  • 7
9
votes
1 answer

How to get value of bean property when property name itself is a dynamic variable

I'm trying to write a custom JSPX tag that reads the value of a given bean property from each object in a given list, with the name of that property passed to the tag as a JSP attribute. The tag would look something like this:
Andrew Swan
  • 13,427
  • 22
  • 69
  • 98
9
votes
1 answer

The entity "copy" was referenced, but not declared in jspx

I want to use copyright symbol in jspx, but it is not allowing me to use © . It is throwing me an error. The entity "copy" was referenced, but not declared. I googled it out and found that i need to modify escapeMode . But I do not know where I…
pankaj
  • 1,643
  • 4
  • 22
  • 35
8
votes
1 answer

Including JS files (JQuery) in JSPX files

I'm creating a dynamic web project in Eclipse (almost from scratch) and I created a JSPX file where I put ...