For example, I wish to expose in my javascript files, enums from Java.
I also generate my JNLP files dynamically.
Thanks,
Gabriel.
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12265
1
posted
0
Literal interpretation of:
processed as JSP
would imply having the JSP processor use the rules of JSP syntax to create a java file which gets compiled to a servlet.
You appear to be wanting to use data text files as input to the creation of a JSP, not the same thing. Such things are typically handled by custom helper classes - JavaBeans for example.
Bill
Gabriel Haggiag
Greenhorn
Joined: Jul 07, 2003
Posts: 9
posted
0
Hi,
would imply having the JSP processor use the rules of JSP syntax to create a java file which gets compiled to a servlet.
This is correct.
You appear to be wanting to use data text files as input to the creation of a JSP, not the same thing. Such things are typically handled by custom helper classes - JavaBeans for example.
This is not correct :)
So back to the question, in other words, using your terminology,
I want to use the JSP processor to process files that are written in JSP syntax, but have a different file extension.
Actually I am migrating from Tomcat to Glassfish, and it works fine under Tomcat, and it is successfully deployed on many sites around the world.
I know that many people are familiar with the full power JSP engine. That's OK.
But believe me, it's more powerful then you can imagine.
OK, so now I'm confused. If you're already doing it, what's your question?
Gabriel Haggiag
Greenhorn
Joined: Jul 07, 2003
Posts: 9
posted
0
It doesn't work on glassfish
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12265
1
posted
0
In Tomcat, the mapping in the default web.xml:
handles this. What does Glassfish use for mapping?
Bill
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12265
1
posted
1
Jaknow - if the original post had said: "I have this working in Tomcat but cant get it working in Glassfish" it would have saved a LOT OF TIME to get to the right place.