This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

tags problem in jspx  RSS feed

 
Zaeed McColin
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
how can I use <%@page ........ /> in jspx
Editor told me you can not use this tag in the page
page is a XML page
well now how can we use some tags like <%@page or <%= in a jspx page???
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why on earth would you be trying to write jspx files by hand?

The jspx format is intended for use as an intermediary format within containers and for tools that automate the generation of JSP as XML DOMs that can be serialized.

It is not intended for people to write by hand.
 
Zaeed McColin
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
really?
so why it's available in NetBeans and Eclipse for developing
yes it's seams not developing with developer
but it work like jsp
so where we can use this guy in our webapp?

bty
you can be a cool teacher Mr. Bibeault
I said I'm student and at the first, so we should collaborate for a long time (me and my teacher)
thanks man
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ArAsh Dex wrote:so why it's available in NetBeans and Eclipse for developing

You can also hit yourself with a hammer in the middle of the forehead. But why would you want to?

The syntactic requirements for the jspx format are so stringent that you spend most of your time fighting with the syntax and far less time actually developing the requirements for your application. The resulting markup is also excessively wordy and difficult for people to read. It's great for machines, not so great for us carbon units.

so where we can use this guy in our webapp?

If you were writing your own JSP web server it could be useful, or if you wanted to automatically generate JSPs from code. But these are niche uses that most web developers have no need for. I certainly never have.

you can be a cool teacher Mr. Bibeault

Thank you. I certainly have plenty of experience.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!