good use for a very simple taglib ;).
You would have to add this taglib to all the JSPs you want to protect
but this might turn into an advantage as you will be able to choose
which JSPs are protected and which not.
I hope this help,
Dan
---
Daniel Lopez Janar
at the top of every JSP page, and you're done.
>> Thanks for any info.
>Craig McClanahan
------
Just as proof that the spec is not enough, check the containers that are
updated to JS
ess under which you subscribed. That's the one
you have to "unsubscribe".
Good luck,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
"Lam, K
, then you'd better stayed away from them,
unfortunately.
Just my 2ec,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
Jim Bailey wrote:
>
> Stored procedures are likely to be faster (I d
...
I hope this helps,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
Kevin Duffey wrote:
>
> Couldn't agree more with Craig. Unfortanately, the
ainer specific applications. It's not critical because it's
just this part that is container specific, but it's not good anyhow.
Regards,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Baleari
ationalization, Model 2++... I'm not Craig and we are not
Apache ;) but some people might be interested in having a look at the
source code. If you are interested ->
http://www.uib.es/c-calculo/scidlj/leaf/
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Se
mming standard taglibraries as
similar features are included in most of the modern containers (someone
mentioned Orion, I think Resin also...) Until ten , we'd rather use our
own tiny taglibrary which makes our JSPs container independent.
---
Daniel Lopez
want to do. If we needed to process
some files/ access the filesystem, then I'd introduce JSPs in the mix.
I hope this helps,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands Unive
ty, you need to seamlesly
integrate different sources of the information into your HTML layer or
you have a designer that can play XSLT then you can get some advantages
by using XML and you might want to produce it from Java through JSP.
Just my 2ec
Dan
-------
Dan
Hi David,
Again, comments intermixed ;).
David Wall wrote:
> > I am going to start by making a bold statement, then support that
> statement
> > with my observations. After introducing XML + XSLT into your architecture
> > the need for Java Server Pages disappears!
>
> This seems somewhat true
Hi Jonathan,
Comments intermixed ;).
Jonathan Hager wrote:
> I am going to start by making a bold statement, then support that statement
> with my observations. After introducing XML + XSLT into your architecture
> the need for Java Server Pages disappears!
Well, there's no need to JSP in any
Hi Andrew,
I agree with you, but I don't care as much about sticking to the Model-View
perspective as getting something manageable and easy to use. I mean, I'd rather
introduce the ability of configuring the way the data is formatted in the model
(XML) so the view (XSL) is simpler and my designer
Hi Ryan,
Eummm, I already knew how to get the HTML from the XML+XSL with JSP(model 2++)
:). What I was asking was how people is implementing model ++2, which gets at
design time the JSP from the XML and the XSL.
Anybosy that's using this model can enlighten us?
Thanks,
Dan
"Shriver, Ryan" wrote:
loops
and conditions? Do technical people have to refine the generated JSPs?
Or have I misunderstood the whole process?
Thanks
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
erface without installing, even seeing , a Java class
in your computer is a plus; THAT is complete separation of the logic and
the UI.
We are building our first complete application with the new system right
now, so I might get to the ceiling in some weeks :). I'll
from investigation phase into design/development of this approach in a
> big way.
We hope to have the first application ready in 2 weeks. But we are
generating the XML directly from PLSQL which speeds up enormously the
database access coding. Good luck with your approach.
Regards,
Dan
the Architecture, not for the
servlet itself. And actually, the core is not a servlet but a new base
class for my model 2 action classes. Its name is XMLOperation as I have
called my base action classes Operation and JSPOperation :).
Thanks for your input,
Dan
---
sing
dynamic XML sources. We hope to learn also from it when we get to the
point of caching XSLTProcessors but so far we create them each time.
Regards,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Island
uts on each state and the
appropriate answer in each case. After getting 20-30 error pages,
they'll stop fooling around with the application and they'll learn how
to use it appropriately ;).
Just my 2ec (less than 2 cents right now :))
Dan
-------
Daniel Lo
first
sentence.
Just my 2c,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
David Wall wrote:
> In the Java camp, I think that people will soon learn what they can really
veloping our first application using these approach and that's
what we've learnt so far. I know it can be an overkill for some apps.
but it might be very adequate for others. Anybody that's using it has
gathered more info? Comments anyone? Anybody can think of another, more
appropir
y regarding
security and model 2, but eastern holidays(10 days) and "model 3"
development have kept me very busy.
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
--
f JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.
#x27;s too much noise and not that
much time in my agenda :).
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
Tom Eugelink wrote:
>
> > But hardcoding w
Steve,
Last release of Resin1.1 allows you to use jar files in the classpath of
your web-apps.
Regards,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
the
road ;) ).
> >I would love to see an example of your architecture, but i realize that the
> >last thing someone wants to do after a long day of work is write examples
> >for the rest of us :)
>
> Actually..I don't mind. ;)
In my case, I was kind of reluctant to do
s, for me, like a
myth as it sounds like trying to mantain/fix planes while they are
flying ;).
So yes, I was talking about changing the configuration.
Dan
PD: Oh, I just checked t
d if we had EVERY possible person on boths sides of > our
> B2B hitting our site for the entire year all at one time, we could still
> handle them! So, at least for us, maintaining the code is more important
> than the performance gain. I would always opt for this..comput
Hi Andrew,
Andrew S Tomlinson escribió:
> There are server-side XSLT engines (LotusXSL at alphaworks, XALAN at apache,
> XT ) available that you can incorporate into a servlet.
> This servlet could take your XML output (from a JSP) and apply the
> transformations encoded in a designated XSL file
I'm not trying to be picky, but what does this have to do with JSP?
Dan
John Gbur escribió:
> Hi, all,
>
> I am having problems using the updateable cursor feature of JDBC 2.0.
> My code snippet looks like:
> Connection conn = java.sql.DriverManager.getConnection("jdbc:
> oracle:thin:@dev:8000:
Hi Tom,
I snipp the part where we agree and I'll intermix my answers to your questions so
this post doesn't get too big:
Tom Eugelink escribió:
> Ahhh. Interesting discussion! Let me add some opinion also.
>
> > -Ursprüngliche Nachricht-
> > Von: Daniel Lo
Hi Carl,
Is your servlet in this case the server or the client? If it is the client, as your
mail seems to indicate,
then setting the policy file on your Java App, the SERVER, is not going to help
your servlet, which is the CLIENT.
Try to set the policy file of your servlet container so it allows
Eumm,
I might be wrong but... is it possible that this just works if the client browser
is capable of doing the transformation of the XML into HTML using XSL? AFAIK, this
just works with Explorer 5 and if what you want to do is perform this
transformation in the server, you have to do something d
Hi,
I'll add some comments of my own.
Kevin Duffey escribió:
> Hi,
>
> I'll try responding. ;)
>
> >* Would multiple forms/pages require a different validation bean for each
> >page? (This assumes that you want to validate the user's input on a per
> >page basis, rather than, or in addition to,
Hi,
If you just want to parse an XML file and get a DOM object, you use almost any XML
parser. In my case, what I did is that I wrote a small adapter class that has a
list of possible xml parsers, detects the xml parser that I have installed in the
classpath and uses the first one in the list tha
gards,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
D'Esposito John wrote:
>
> I have a simple jsp that was invoked via a "forward" in a Re
e URL
http://archives.java.sun.com/cgi-bin/wa?SUBED1=jsp-interest&A=1
I hope this helps,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
PD: A little warning, be patient
> > objects. I apologize..I mean classes in this case. Its screwy here because
> > our main code has some sessions with logic, some servlets with logic, some
> > other stuff with logic..its a nasty code base we have. But in trying to work
> > with others to clean it up and m
have already been
done for you (editors, viewers, parsers...) so you can save some work.
Regards,
Dan
PD: Resources
Java Project X from Sun http://java.sun.com/xml/
Xerces from Apache http://xml.apache.org/xerces-j/
-------
Daniel Lopez Janariz ([EMAIL PROTECTED]
Hi Mike,
Mike LaBudde wrote:
>
> I, too, am closely following the Model 2 discussions. I greatly appreciate
> everybody's input. Thank you!
>
> At 3/28/2000 08:59 AM +0200, Daniel Lopez wrote:
>
>
> > In my case, I added some more
> >complexity in here be
useful for us as there´s no such a thing as
the perfect design and rationalizing it to explain it to others, and
compare it to other viable solutions are very good ways of "revisiting"
Hi Mike,
The answer to your question regarding "Who is responsible for knowing what?" hasn't
got
just one answer. One option, as you mention, is using hidden fields in the source
page.
In our case, we configure this in an XML file which is processed at initialization
time by
the controller servle
And I'll add my own :). I won't add them intermixed with the other postings so you
don't
have to "search" the new additions.
.- First, I agree with the reasons why you are migrating to Model 2. It seems all the
"model 2 club" are members because of that ;).
About the rest, I pretty much agree wi
Hi Craig,
"Craig R. McClanahan" wrote:
> Daniel Lopez wrote:
>
> > Hi Craig,
> >
> > Comments intermixed,
> >
> >
> >
> > > > It might be that I haven't really understood how security is specified in
>JSDK2.2 but
> >
Hi Janco,
Janco Tanis wrote:
> Hi Daniel,
>
> Daniel Lopez wrote:
>
> >
> > It might be that I haven't really understood how security is specified in JSDK2.2
>but
> > how would you solve the case of having two diferent users(with different
>privileges)
Hi,
IMHO, I think you should revise your analisys. The notion that files
that end up with "jsp" have to be Java Server Pages, with "asp" ->
Active Server Pages is like saying that if a file is .txt, it means is a
text file and if it doesn't ent with .txt, it's not. So it's completely
wrong. And t
od effort,
because having to recode the security interface every time you want to
change/test a different container could be a real pain. It would be
ironic to have a completely portable, platform neutral, container
independent WAR application where you can read in tiny font "except the
Hi Kevin,
Kevin Duffey escribió:
>
> Hi,
>
> I am curious, using JSP and all..is it better to FORWARD to another page, or
> use the response.sendRedirect(). I notice a strange side effect in using the
> forward in that the URL of the browser no longer reflects the page returned
> when using forwa
r less, at will by the container...
We take care of that using the controller servlet approach, if it is not
inited,
then you don't have your application running so no problem :), as all
the calls
go through it, you can make sure in one central location that all the
required
global resources h
t all? Wouldn't a servlet do the same job? Unless you
use beans automatic form fields recognition that comes with JSP pages
but not with servlets, of course ;).
I hope this helps,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Cen
r, so we are back again to mixing security and business logic. Am I
missing something?
And, if I'm not mistaken, you'll have to redeploy the security part of your application
every time you change from one container to another. And that's something you didn't
have to do before.
Comm
Hi Craig,
"Craig R. McClanahan" wrote:
>
> Daniel Lopez wrote:
>
> > I understand, I'm not saying it cannot be done with isUserInRole(). But in my
>architecture I don't
> > need to use isUserInRole() inside my business logic because the &quo
Hi Craig,
> You can use request.isUserInRole() in your controller servlet as well (actually, it
>would be
> implemented inside an action class perform() method in the model we've been
>discussing) to let
> your business logic decide whether or not to execute something, or to vary the way a
>pa
Hi Craig,
> You can use request.isUserInRole() in your controller servlet as well (actually, it
>would be
> implemented inside an action class perform() method in the model we've been
>discussing) to let
> your business logic decide whether or not to execute something, or to vary the way a
>pa
uardo meant, but I hope it helps anyway :)
Regards,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
Rich Holladay wrote:
>
> Eduardo,
>
> In today'
L page would be different.
Comments?
I hope this helps,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
"Eric M. Andersen" wrote:
>
> Craig,
> What would you
when you are in the same JVM, but...
Regards,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
Perry Hoekstra wrote:
>
> Yes, in the general "
understand for people, so debugging can turn into a nightmare. I can't
help it, I like simplicity ;).
> > What I normally do is use a single servlet per web application, and then map it to
> > a filename extension (I like ".go&
t's another story.
I hope this helps,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
Damian Fauth wrote:
>
> "Craig R. McClanahan" wrot
Hi again,
I've trimmed the post a little so it doesn't get too long. My comments
are intermixed.
"Danny.Coward" wrote:
...
>
> > I understand how this would work. My point here is that DIFFERENT
> > implementations will map abstract roles and sets of users to...
> > DIFFERENTLY. That means that
ng
postings ;). Talking about an implementation... Our own ;). Our first
applications are running fine(production) since 2 weeks ago using a
framework that implements all that I talked about. If you are interested
I'll gladly explain to you what I've done and I'll let you have a look
at I talked about. If you are interested
I'll gladly explain to you what I've done and I'll let you have a look
at the running application because it's very easy to add a user that can
just look-but-not-touch. Oh, this framework also adds application wide
event handling using the
at? One of the points where I agree with Jason Hunter is that JSP can
be easily misused and get you in trouble, this is, IMHO, one of these
occasions.
Regards,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands
e is made in the security
constraints.
Regards,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
=
database table.
I hope this helps,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
> Ian Graham wrote:
>
> Hi Everyone,
>
> I have looked through
velopment effor+client requirements) way of
handling it.
Just my 2c,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
Jeremy Young wrote:
>
> Thanks Cr
in the database is consistent.
Just my 2c,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
Hans Bergsten wrote:
>
> "Wang, Dapeng" wrote:
/www.mycompany.com/directory1/ and
another at http://www.mycompany.com/directory2/ and as the links to
stylesheets and images are relative, we can even use the same JSPs.
I hope this helps,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Se
n
its init and destroy methods. If your controller servlet is
loaded/unloaded repeteadly you'll get into performance problems but you
should be able to configure your servlet engine for this not to
happen(or follow Craig's approach).
I hope this helps, good luck with it.
Dan
hat
perform each one a simple operation than one, or more classes, that
implement everything. I find this arrangement easier to understand,
debug, and easier to work with, when you develop in group. But that's a
matter of taste.
Just my 2c,
Dan
-------
Dan
I can verify that it works.
I hope this helps,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
> John McDonald wrote:
>
> I searched the archives on
I've found the weak point to be, as RMI gets me some
strange errors under digital unix every now and then. Apart of that, the
four layer separation that we designed for the project works like a
charm(UI=JSP,OperationalLogic=classes,Business Logic=EJB,DataModel=DB).
I also apologize for thi
How about that?
http://jsp.java.sun.com/docs/books/tutorial/i18n/index.html
Regards,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
Java Server Pages
ives.java.sun.com/archives/ if you have any problem with one
of the the lists at java.sun.com, like this one.
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
me, the class
then becomes non serializable. I hope somebody can benefit from this
experience as well.
Regards,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
-------
D
Build 153 + Patch) (JSP 1.0)
Any hints?
Thanks in advance
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
==
ase) as different servlet instances might get in
trouble when accessing this resource concurrently.
I hope this helps,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
last update and its patch two days
ago and the problem still remains so I'm not sure if it's just a JRun's
problem. I created my own workaround and now it's not a problem for me
so I might try to check it with other JSP engines when I have more time.
I hope this helps,
Dan
ere.
Just my 2c,
Dan
PD: OAS 4.0.7 behaviour is much more stable in NT but I'm not sure
wether that's good news or not as I don't like the idea of choosing my
OS because of the server I'm using. That goes completely against the
idea of platform independence we've learnt to
ssion(false) to see if a session is new? Is this a bug?
Thanks for any answer,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
-------
Daniel Lopez wrote:
>
&g
Forward the request <--- SESSION IS NOT INVALIDATED
.
Could this be a bug in my environment?
Apache 1.3.9
JRun 2.3 Build 152
Win NT
Thanks in advance,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Cente
> Thanks in advance,
> --
> [EMAIL PROTECTED]
>
> ===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.
to [EMAIL PROTECTED] with body: "signoff
> > JSP-INTEREST".
> > FAQs on JSP can be found at:
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esp
Hi,
Comments over comments ;), I've cut some pieces of the mail so it
doesn't grow too much.
"Craig R. McClanahan" wrote:
>
> I've interspersed a few comments and notes in the discussion below.
>
> Daniel Lopez wrote:
>
> > Hi,
> >
>
security model could be good but I got no
answer so...
Last, I'd like to apologize for this long email to those that don't find
it interesting enough ;)
I'd really appreciate comments on the topic.
Dan
---
Daniel Lopez Jana
ordering you want. Of course
you'll be making a new request to the JSP page each time you want to
change the order, but that indeed is server side programming and thus it
can be coded with JSP without rising client side requirements.
-------
Daniel Lopez
How about that?
http://java.sun.com/products/jsp/tags/tags.html
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
DAVE TOWNSEND wrote:
>
>
7;t found time to
have a look at the last public JSP spec so some things might have
already been included there.
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
--
so is there any specific advantage about using Jsp in
this case that I'm not aware of?
Hope this helps,
Dan
PD: I don't know if it makes any difference, I don't think so, but I'm
using getBinaryStream() instead of getBytes().
---
Daniel
ers. I've read that
RequestDispatcher's behavious might depend on the servlet engine
implementation so that might be the problem.
Any help would be really appreciated,
Thanks in advance,
Dan
---
Daniel Lopez Janariz (
igital Unix). I haven't used PWS or JRun's built-in
web server so I can't help you much in this regard.
Hope this helps, somehow,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Cent
wed to, I had planned to release the first
beta before the end of the summer, along with the documentation and the
code samples.
I'm sorry I can't give you more information now, but if anybody is
interested I'll keep you informed.
Regards,
Dan
--
sions of JRun
didn't care about that but actual versions do, don't ask me why ;). That
has always been my problem when I get this message so...
Hope this helps,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer
uild 152 of JRun as their
servers are still down so...
Thanks in advance.
Dan
PD: Testing environment: W95 + Apache 1.3.6 0 + Jrun Build 151 + JSDK
2.1
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Ba
ver with sockets, CORBA, RMI, ObjectSpace Voyager or whatever you
like, but that's another story, and quite long indeed ;).
I hope this helps,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balear
any possible GUI to be
out of the servlet)?. That's the approach I'm using and I'm quite happy
with it, so is there any advantage in using JSP in this case that I'm
not aware of?
Regards,
Dan
-------
Daniel Lopez Janariz ([EMAIL PROTECTED
knowing that the java.idontcare.WhoKnows class has three
different constructors with a specific syntax. You can solve the second
question in 10 seconds with the javadoc generated documentation but
there's no clear manual for the first ones.
---
Da
How about that?
http://www.esperanto.org.nz/jsp/jspfaq.html#q40
Hope this helps,
Dan
---
Daniel Lopez Janariz ([EMAIL PROTECTED])
Web Services
Computer Center
Balearic Islands University
---
naresh a wrote:
>
&
rt vs imports" topic make it in one of the FAQ's?
It's such a stupid thing that it keeps people stuck for a while. Nobody
usually thinks that the Spec and the engine are incompatible in such a
basic way. It happened to me ;).
---
Daniel Lop
1 - 100 of 104 matches
Mail list logo