JSP vs. XML/XSLT
Hi all!
I'm in a bit of a dilema. As the least knowledgable member of our small development group (3 people incl. me) I'm caught in the middle of a pretty fierce debate over whether or not to we should implement JSP.
Currently to seperate business logic from presentation we have our servlets pass XML to the browser and then the browser renders the HTML using the appropriate .xsl (sometimes we use server-side transformation).
Now one of the guys wants to use MVC/Struts and JSPs in order to create a much needed UI for an application. The plan is to not put any Java code in the JSP (seperation of logic and presentation - good, business logic in both the JSP and Servlet - bad.) but the other guy is still vehemently against it.
He says that anything JSP can do we can already do with XML/XSLT and to add JSP to our environment would complicate things.
And while I agree with him there, there are some things that when you do them with JSPs make the code more readable and transparent.
If you had to take a side, which one would you choose?
Has anyone else out there already gone through this debate? I'd be interested in knowing the outcome.
Thanks,
John
I have a couple of comments.
1> "XML to the browser and then the browser renders the HTML using the appropriate .xsl"
I all cases you should do the transformations on the server. Lot of browser do not know how to
do a xsl transform. And since you can do it some time why not do it not everytime?
2> "business logic in both the JSP and Servlet"
Business logic should neither be in servlets nor in jsp. I think they should be in business logic beans.
3> "anything JSP can do we can already do with XML/XSLT "
Although anything can be done using xml/xsl or jsp there are a bit of differences where struts-jsp architecture is more perferable.
Imaging a web site which has lots of online forms(with textfiedls, checkboxes, select lists, etc) which are to be validated and if some validation fails the same form is to be shown with the values already submitted prefilled. Doing this with xml/xsl or even simple jsp could be a nightmare.
But if you use struts MVC architecture with jsp and struts taglib this will be very very simple.
Introducing struts-jsp will not complicate things and if the scnario described above is there or could arise in your application then you should seriously think about using struts+jsp. That does not mean you will have to scrap you xml+xsl architecture. You can still generate the xml using your action bean , put the xml in request and forward it to you jsp for rendetion. The jsp page could then use a taglib which has the xsl transformation code to do the xslt transformation.
The above comments are not just my thoughts but i have also implemented/experienced the above during various projects and they have proved to be useful.
Cheers!
Similar Messages
-
HELP: JSP + XML + XSLT = HTML?
Hello, all.
I am trying out Weblogic 6 and I am trying to get the JSP + XML + XSLT =>
HTML chain working.
I am coming from using Orion and SAXON.. and in that situation I had a JSP
that contained XML tags... they were filled in at runtime and then using
Servlet-Chaining was passed along to the SAXON XSLT Processer. SAXON checked
for the inline XSL specified and then used that to transform the document
into HTML.
It worked well, but there were some other features missing/not documented
that we now need.
With Weblogic I am trying to use the XSLT Tag Library that comes with the
distribution, but it seems to be very finicky. I followed the directions and
I got it to do a sort of roundabout transformation. But it doesn't seem to
work quite right.
The best I can get is the following:
I have an 'xslt' directory url-pattern-mapped to xslt.jsp (as instructed)...
but can't figure out how to specify the xsl file on-the-fly... that is, if I
don't hard-code the XSL file in the x:xslt element in the xslt.jsp it
complains about some XML file not having a root element.
Ideal situation:
1. I have a JSP that includes XML elements.
2. It is filled from a database at runtime and specifys (using a PI) what
XSL stylesheet it is to be processed with.
3. Somehow (fingers crossed) the XML is processed and transformed into HTML
by the appropriate XSL file.
I think I am mostly stuck moving between steps 2 and 3.
Can anyone give me some hints? Are there some Weblogic specific
elements/tags that I have to include in the XML file that Weblogic will
catch and re-direct to the XSL Parser?
Please, anyone, if you have some information, I would much appreciate it.
Dylan Parker
PS - I apologize for the cross-post, I hope it doesn't cause too much
traffic.Craig,
I've since discovered how to do it with the WL Taglibrary... and have
moved on =)
It has to do with the EXTREMELY BADLY documented x:xml tag that can
appear within the x:xslt tag body...
So the WL Tag Library allows something like the following.
(Please note, angled brackets are omitted in this post to prevent html
parsing)
[x:xslt stylesheet="sheet.xsl"]
[x:xml]
Here is the XML to run the sheet on.
This should have all relevant XML syntax: the PIs, the doctype,
root elements etc...
[x:xml]
[x:xslt]
And that DOES work. But not very well. WL, a little prematurely
incorporated versions 1.2 of Xerces and Xalan in their product -- and
these versions have some irritating bugs.
Also -- There tag library doesn't copy the source XML across as UTF-8
.. so a lot of the Japanese I have embedded there (from a DB) gets
mangled somewhere in their code...
AND -- If you hammer a little bit on an JSP/XML that uses the WL Tag
Library (eg clicking refresh lots of times in IE)... I get huge
amounts of irritating exceptions appearing in the log files.
NullPointerExceptions
XSL Parsing Exceptions
XML Parsing Exceptions
but completely unpredictably...
In my eyes.. the WL XML/XSL Tag Library using the incorporated and
untouchable Xalan and Xerces (v1.2) is virtually unusable.
What a pain.
BUT! Apache offers a similar OPEN SOURCE XSL Tag Library available
here:
http://jakarta.apache.org/taglibs/doc/xsl-doc/intro.html
And it uses the standard, non-weblogic-incorporated, Xerces and Xalan
(which means you can provide whatever version you want).. and it works
impressively well.
It has almost identical performance as the WL Taglib, and without all
of the bizarre exceptions being thrown.
And it does proper passing of the character encoding type!
If only the taglib did caching though =(
The performance hit over pure JSP is huge. Almost two orders of
magnitude. On my desktop box I can get around 500Requests/Sec if I am
returning HTML direct from a JSP... while if I produce XML that gets
processed by XSL into HTML the Requests/Sec drops to 5!!!!
Caching. Caching. And more Caching. A lot of DiskIO is going on with
the XML/XSL/XHTML chain of events.
I hope this helps!
I'd be curious as to what you find out as well.
Dylan Parker
On 5 Mar 2001 07:20:00 -0800, "Craig Macha"
<[email protected]> wrote:
>
Yep, I feel Dylan's pain.
I am trying to accomplish the same thing. A JSP page generating
dynamic XML content and then utilizing an XSLT stylesheet to transform
all the content into XHTML.
Does anyone have some examples that show exactly how to accomplish
this? Can I do this with WLS and the XML taglib that comes with
it? Or do I have to move on to something like Cocoon to get this
capability?
Any insight would be greatly appreciated.
Thanks,
Craig Macha
"Dylan Parker" <[email protected]> wrote:
Hello, all.
I am trying out Weblogic 6 and I am trying to get the
JSP + XML + XSLT =>
HTML chain working.
I am coming from using Orion and SAXON.. and in that situation
I had a JSP
that contained XML tags... they were filled in at runtime
and then using
Servlet-Chaining was passed along to the SAXON XSLT Processer.
SAXON checked
for the inline XSL specified and then used that to transform
the document
into HTML.
It worked well, but there were some other features missing/not
documented
that we now need.
With Weblogic I am trying to use the XSLT Tag Library
that comes with the
distribution, but it seems to be very finicky. I followed
the directions and
I got it to do a sort of roundabout transformation. But
it doesn't seem to
work quite right.
The best I can get is the following:
I have an 'xslt' directory url-pattern-mapped to xslt.jsp
(as instructed)...
but can't figure out how to specify the xsl file on-the-fly...
that is, if I
don't hard-code the XSL file in the x:xslt element in
the xslt.jsp it
complains about some XML file not having a root element.
Ideal situation:
1. I have a JSP that includes XML elements.
2. It is filled from a database at runtime and specifys
(using a PI) what
XSL stylesheet it is to be processed with.
3. Somehow (fingers crossed) the XML is processed and
transformed into HTML
by the appropriate XSL file.
I think I am mostly stuck moving between steps 2 and 3.
Can anyone give me some hints? Are there some Weblogic
specific
elements/tags that I have to include in the XML file that
Weblogic will
catch and re-direct to the XSL Parser?
Please, anyone, if you have some information, I would
much appreciate it.
Dylan Parker
PS - I apologize for the cross-post, I hope it doesn't
cause too much
traffic. -
Web Based Messageboard (JSP, XML, XSLT) - Just Looking For Advice Please!
I have a general question - I am not looking for any code, just some advice if possible. I am studying on a Masters course and I have been given an assignment to do which I am having difficult getting started. I have worked a lot with Java up until now, however this is the first time I have had to JSP on my course.
My current assignment is that I am required to create a simple web based message board, using JSP and XML, which allows users to post messages to the board, and also to reply to messages. The content of the message board is stored in an XML file, and there is no database involved. The message data needs to be formatted for viewing in a browser using XSL transformations.
I am stuck as to how to go about starting the project, and this is all I am asking for advice in. I have created the basic XML file which has some preliminary data stored within it, and I have created an XSL stylesheet to transform this data, however I am stuck with the JSP. Do I need to create a seperate JSP page for each page of the website? How does this link in with the XSLT?
I would welcome and really appreciate any advice, but I stress that I am not looking for anyone to give me any code or anything like that.
Thanks.You can use XSLT to convert XML to HTML. Then include this HTML in your JSP. Further on you've a plain HTML form with an input field for a message which you submit to a servlet. In the servlet validate/convert/whatever this message and add it to the XML file and then forward/redirect the request back to the JSP.
-
Java Translets XML/XSLT Transformation
Translets "are precompiled XSL documents that are optimized and converted into simple Java classes. When you compile your application Java files, you compile your XSL files into Java class files. During runtime, you can load translets like any regular Java class and perform XSL transformations over and over again.
The syntax checking and parsing of XSL documents are done when the XSL files are compiled. The transformation therefore takes only as long as the compiled code takes to execute, which improves performance multiple folds.
The downside to using XSL is that "it can take a considerable amount of time and reduce performance. The time needed to parse XML and XSL documents is directly proportional to the size of the documents. Each transformation requires the XML and XSL documents to be loaded, syntax checked, and parsed." I recommends using translets for the following reasons.
I had written an application (<a href="http://www.simplygites.com" title="www.simplygites.com">SimplyGites</a>) using standard XSL / XML transformation and experienced some very slow server-side transformation on the very complex screens with large amounts of xml. Timings showed these problem screens took 2-3 seconds to transform, which was totally unacceptable non-functional requirements.
I considered rewriting these screens as JSP or PHP, then I discovered Translets. And wow what a discovery the timings for these pages now compiled as Translets(java classes) are amazing in comparison to the original timings ? I now have them transforming in 500ms (all now under 1 second).
I would recommend anyone using XSL/XML transformation to use Translets, these have now been running tried and tested on the <a href="http://www.simplygites.com" title="www.simplygites.com">SimplyGites</a> for the past 6months.
Technolgies used:
Weblogic 8.1 SP5
Java 1.4.2
Required Jars
xsltc.jar
runtime.jar
BCEL.jar
JLex.jar
java_cup.jar
regexp.jar
xml-dtm.jar
For more information see http://xml.apache.org/xalan-j/xsltc_usage.html
I hope this helps anyone that has XML/XSLT performance issues.
Mark
MB Computer Ltd
www.simplygites.comThanks for your help.
The problem was that my firewall was blocking my server. -
Problems with JSP Documents (XML Mode)
Hi --
Have been following the spec for JSP as XML documents because I want to produce JSPs using XSLT. Two problems which I've yet to find anything but workarounds for:
1. (Most pressing) JSP Documents do not allow this <%= blah %>. This creates problems when I want to dynamically create an attribute value. The spec recommends this: 'value = "%=var%"', but I've tried this in Tomcat 4.1.12 and the expression gets reproduced literally at run-time. I've searched these forums and not found an answer.
2. Transformer wigs out on colons in "jsp:root" or "c:out" because it signifies a namespace with which it is unfamiliar. It doesn't need to recognize the namespace. Right now I'm putting in placeholders (jsp999root, for example) and replacing them after processing. Is there a better way?
These problems are really getting in the way. Any help would be most appreciated.Have been following the spec for JSP as XML documents because I want to
produce JSPs using XSLT. Two problems which I've yet to find anything but
workarounds for:
1. (Most pressing) JSP Documents do not allow this <%= blah %>. This creates
problems when I want to dynamically create an attribute value. The spec
recommends this: 'value = "%=var%"', but I've tried this in Tomcat 4.1.12 and
the expression gets reproduced literally at run-time. I've searched these
forums and not found an answer. I am stuck on this also and desperately searching for an answer. Has anyone found anything yet?
2. Transformer wigs out on colons in "jsp:root" or "c:out" because it
signifies a namespace with which it is unfamiliar. It doesn't need to
recognize the namespace. Right now I'm putting in placeholders (jsp999root,
for example) and replacing them after processing. Is there a better way?You can (and should) put multiple namespace declarations in the xsl:stylesheet tag. that will let it know about jsp:* and pass it through appropriately. Try something like:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:jsp="http://java.sun.com/JSP/Page"> -
JSPs as XML Documents -- Problems
Hi --
Have been following the spec for JSP as XML documents because I want to produce JSPs using XSLT. Two problems which I've yet to find anything but workarounds for:
1. (Most pressing) JSP Documents do not allow this <%= blah %>. This creates problems when I want to dynamically create an attribute value. The spec recommends this: 'value = "%=var%"', but I've tried this in Tomcat 4.1.12 and the expression gets reproduced literally at run-time. I've searched these forums and not found an answer.
2. Transformer wigs out on colons in "jsp:root" or "c:out" because it signifies a namespace with which it is unfamiliar. It doesn't need to recognize the namespace. Right now I'm putting in placeholders (jsp999root, for example) and replacing them after processing. Is there a better way?
These problems are really getting in the way. Any help would be most appreciated.Hi,
It looks from No. 2 that you are using JSLT since you have a fragment of a <c:out tag. I believe the syntax for getting the value out of one of these tags is actually almost identical to that in XSLT:
value="${var}" instead of what you got from the spec,
The spec recommends this: 'value = "%=var%"'The name spaces do have to be declared for JSLT to work, declared in the <jsp:root> tag:
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:c="http://java.sun.com/jstl/core"
version="1.2">
Here's a very simple jsp that uses it:
<?xml version = '1.0' encoding = 'windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:c="http://java.sun.com/jstl/core"
version="1.2">
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252"/>
<title>Hello World</title>
</head>
<body>
<c:set var="nameString" value="John"></c:set>
<h2>The name is: <c:out value="${nameString}"/></h2>
</body>
</html>
</jsp:root>
Of course, you have to have the tlds set up and the JSLT jars available for the compiler.
I haven't yet tried this with transforms, but there are tags in the JSLT for that as well. If you've tried all this already, my apologies.
Edward -
Job Opening: DITA - XML - XSLT at Mentor Graphics
Mentor Graphics has the following open postion:
Title: Technical Publications Infrastructure Engineer (XML - XSLT - DITA)
Position based: Wilsonville, Oregon
Please follow the link to the job description: http://ch.tbe.taleo.net/CH08/ats/careers/requisition.jsp?org=MENTOR&cws=1&rid=1023I would have applied myself, but unfortunatley someone made it so you can see other people's post history.
-
Hi All
I'm want to dip my toe into the world of XML/XSLT development
to help with
job applications. Seems there's a lot of companies asking for
this.
I've been developing ASP applications for a number of years,
but i've never
looked at XML, etc...
Can anyone provide a strating point, examples, etc? I'm also
looking to
learn .NET too (think i have a mountain to climb).
I've been using Access database for my applications but also
need to expand
by using MS SQL on my local machine.
Any ideas wher to start?
Hope someone can point me in the right direction - Thanks in
Adance
Andy> Can anyone provide a strating point, examples, etc? I'm
also looking to
> learn .NET too (think i have a mountain to climb).
And at the top of that mountain is a pile of .net XML
applications. I can't
say that's the motherland of software development, but, yea,
it probably
pays good. ;o)
> Any ideas wher to start?
Well, if you start using asp.net 2.0, a lot of the built-in
controls
leverage XML and XSLT, so you'll begin to get your hand dirty
just going
through the basic ASP.net 2.0 tutorials.
-Darrel -
Char into balise jsp:scriptlet in jsp with xml syntax
hello,
i met a trouble with coding jsp with xml syntax,
i use wsad to develop the jsp, and it's not allowed to put characters < or > into the balise scriptlet
for example i cant do a loop (as i did easily with html syntax <% %> ) :
this his the header of my jsp:
<jsp:directive.page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1" />
<jsp:text>
<![CDATA[ <?xml version="1.0" encoding="ISO-8859-1" ?> ]]>
</jsp:text>
<jsp:text>
<![CDATA[ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> ]]>
</jsp:text>
and the code which dont work:
<jsp:scriptlet>
for (int i=0;i<10;i++){
System.out.println(i);
</jsp:scriptlet>
i get a compilation error, did someone could help me to code dynamic content jsp ?
ps: excuse me for my english.I don't use xml, so I may be way off the wall, but did you try using the CDATA sections again?
<jsp:scriptlet>
<![CDATA[
for (int i=0;i<10;i++){
System.out.println(i);
]]>
</jsp:scriptlet> -
OT:XML/XSLT transformations on iAS6.0 anyone?
Hi,
I know this is Off Topic from JATO, but...
I am trying to come up with a way to process the typical
transformation of xml & xslt to html.
For whatever reason I can't seem to get this to work.
I've tried it by writing my own servlet, but it hangs.
I've tried to install cocoon, but nothing ever works, and all the
installation instructions seem to trail off at the most important time
(like what if the build doesn't create a war file).
Can someone point to a definitive resource that I can follow for
something like this which will work on iAS6.0?
Thanks,
John Hoskins.Yeah, off topic, so I doubt you will get any expert help here. Might try the S1AS 6.x forum.
sorry -
Diff. between JSP format & XML based syntax
i like to know the diff. between 2 types of jsp syntax,
JSP - 1 - ordinary
<% code %>
JSP - 2 - XML based syntax
<jsp:expression> code </jsp:expression>
what is best to use for jsp development.,Haven't u finished fresher course yet?
-
Turning XML/XSLT files into a working Web Template
I've scoured these and other forums for this small piece of information, so I apologize if it's been answered already, but I can't find it.
I understand that the web templates in Lightroom are done in XML/XSLT, with the XML file named galleryMaker.xml and the XSLT file named transformer.xslt. However, I cannot figure out how to get these files to show up as a template in Lightroom.
I am on a Windows XP machine, and all the templates show up in Application Data/Lightroom/Web Templates, but they are all of the type *.lrtemplate. Is there a way to convert the XML/XSLT set of files into an lrtemplate file? Or is there something else I'm supposed to do?Splatt42 wrote:
I have an executable binary program (that runs just fine on it's own) that I needed to turn into a service (call it "foo"). I did so using the .xml file below, and it does indeed start up at boot, runs in the background,When you run your program (/usr/bin/foo), does it daemonize itself (kind of like running /usr/sbin/sshd), or would you have to do it yourself if run from the shell ('/usr/bin/foo &')?
and does everything it should. I've noticed a couple of problems, though. If I execute an init 0, the system hangs and never gets to the OK prompt. If I disable my service, an init 0 completes without any problems. An init 5 works OK, as does a shutdown from the desktop. I'm not sure what could be causing this. I thought maybe because the service was restarted over and over again...?
I gave my service a timeout value of "0", as I found that when I gave it any other value the service stopped running when the timeout expired. A seeming side effect is that my service is never listed as running, as it's start method (itself) hasn't yet completed.The manifest doesn't really want your binary as the start method. It wants to run something that starts the service, and will exit with status 0 if the startup was successful, and non-zero if the startup was unsuccessful. So you might want to write a small wrapper script (like an init.d startup script).
Take a look at the sshd.xml manifest. It doesn't start sshd, it runs '/lib/svc/method/sshd start', which is responsible for starting sshd.
Darren -
On XML, XSLT, FO usage
Hi,
Any links... help...documents... tutorials... samples on usage of XML, XSLT, FO engine, for pdf generation.
Ravishankar SwamyHi,
This Technical Note is very interesting to start point
http://www.oracle.com/technology/pub/notes/technote_vohra_fop.html
Follow good references from AMIS
http://technology.amis.nl/blog/?p=1102
http://technology.amis.nl/blog/?p=1182
Best regards -
I am trying to have JSP pages parse and read an XML file and then return some data in an HTML table. I'm using the JSTL libraries and have a basic understanding of them, but I apparently need help.
My first page just gets the value and passes it to the second page. The second page handles all of the processing. Here is my JSP page:
<%@page contentType="text/html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
<%@include file="index.jsp" %>
<% String clientID = request.getParameter("enteredID"); %>
<c:import url="npiXMLTest5.xml" var="doc" />
<x:parse varDom="dom" doc="${doc}"/>
<x:set var="srcCID" select="string($dom/npiNumbers/client/clientNum)" />
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>NPI XJTL Test</title></head>
<body>
<c:set var="CID" value="<%= clientID %>" />
<h2>NPI XJTL Test Page</h2>
<table border="1">
<tr><th>NPI Number</th><th>Description</th></tr>
<c:choose>
<c:when test="${CID}=${srcCID}">
<x:forEach select="$dom/npiNumbers/client/npiNum" var="$n">
<tr><td><x:out select="$n/npi" /></td><td><x:out select="$n/desc" /></td></tr>
</x:forEach>
</c:when>
<c:otherwise>
There is an error with your coding
</c:otherwise>
</c:choose>
</table></body></html>My XML structure is as follows:
<npiNumbers xsi:schemaLocation="http://localhost/namespace NPI_XSD5.xsd" xmlns="http://localhost/namespace" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<client>
<clientNum/>
<clientName/>
<npiNum>
<npi/>
<desc/>
</npiNum>
</client>
</npiNumbers>I am trying to return the results of the <npiNum> element (which can have multiple values) - <npi> and <desc> - in a table based on the <clientNum> element. I try to evaluate the page variable with the xml element. If it matches, I will return a table. A client can have multiple <npiNum> elements, so the construction of the table is in the x:forEach loop.
I think my problem is getting the variable from JSP to compare against the <clientNum> element in the XML file.
Any ideas?I think your problem is less JSP/JSTL and more querying the XML.
You are trying to "select all <npinum> elements from a client based on clientnum"
I am far from an expert on XPath, but I think the following query is what you are after: "/npinumbers/client[clientNum=????]/npiNum"
To do that with JSTL you would replace ???? with $param:enteredId or $CID (equivalent in your example)
Here is the resulting JSP page.
<%@page contentType="text/html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml" %>
<c:import url="npiXMLTest5.xml" var="doc" />
<x:parse varDom="dom" doc="${doc}"/>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>NPI XJTL Test</title></head>
<body>
<c:set var="CID" value="${param.enteredId}" />
<h2>NPI XJTL Test Page</h2>
<table border="1">
<tr><th>NPI Number</th><th>Description</th></tr>
<x:forEach select="$dom/npiNumbers/client[clientNum=$CID]/npiNum" var="n">
<tr><td><x:out select="npi" /></td><td><x:out select="desc" /></td></tr>
</x:forEach>
</table>
<hr>
<form>
<input type="text" name="enteredId"/>
<input type="submit">
</form>
</body></html>I made up the following test file to use with it. I don't know if it was exactly what your requirements are, but it was a best guess based on your info.
<npiNumbers>
<client>
<clientNum>42</clientNum>
<clientName>Ford Prefect</clientName>
<npiNum>
<npi>123</npi>
<desc>life</desc>
</npiNum>
<npiNum>
<npi>234</npi>
<desc>universe</desc>
</npiNum>
<npiNum>
<npi>456</npi>
<desc>everything</desc>
</npiNum>
</client>
<client>
<clientNum>666</clientNum>
<clientName>Satan</clientName>
<npiNum>
<npi>333</npi>
<desc>Baby Devil</desc>
</npiNum>
</client>
</npiNumbers>Cheers,
evnafets -
Include new feature where user can get JSP as XML model or normal HTML
Hi Creator Team,
I request you guys to include the below specified feature in future updates.
Currently, creator is supporting to generate JSPS in XML formats. No doubt this is good feature.
But some times we may require JSP in which we may not in need of well formed HTML page.
Because all Designeres and developers are may not aware of XML features and nodoubt they will face the problem in coding or designing.
It is not necessary that a developer/designer need to accustom the features currently supported. He/She may expect more easier access in studio creator.
I understand that we can include JSPs into project taht are not well formed. But at the same time it is almost difficult to him/her to design the page (drag/drop process which is main feature of Studio Creator)
I request and suggest to include both options so that it will become easy for developers/designers to use this good productHas this feature been incorporated in the latest SJSC 2 release? I too think that this will be more easier to adapt to as a newbie. Moreover, I haven't found anything on this front anywhere else in the forums or in the technical documentations. Other way around could be to provide decent tutorials on using JSP in XML syntax. I am currently using J2EE tutorial (June 2005 release) to learn this technology.
I would be glad if someone could point out a decent resource on this front.
Thanks in advance,
Dev
Maybe you are looking for
-
System preferences security crash
Hi all, Everytime I try to open system preferences -> security i get a crash. I tried to reproduce the crash on a newly created user account - result crash again I tried to RESET System Preferences (you can reset almost program this way). Just mosey
-
Hello Experts, I have done fiscal year change (AJRW) for fixed asset on 1st april 2015, I have not done the asset year end closing, as we still have many more entries to come for the year 2014-15. When the fiscal year change has been done, there is n
-
Query is slower on the first execution
I noticed that when I run a query command on the shell, the first run is significantly slower. I used the time command to measure the execution time. The execution time for the first run is more than 10 times of the second run. E.g. My query took me
-
Any sample Questions LIST for BEA WebLogic Integration certification Exam..
Hi ALL, I am a certified BEA's WebLogic Integration Certification aspirant. Anyone who has taken this certification before or know what kind questions may be asked in there.. please share. Right now I am looking into BEA e-Docs for WebLogic Integrati
-
[mostly solved] Strigi service not running
Hello, Since I am constantly fluctuating between a rich and a minimalistic desktop environment, I'm trying out KDE once again. The Soprano/Nepomuk/Strigi stuff seems really interesting but I fail at using it. When I go to System Settings -> Advanced