SV: Orion and JSP

2002-05-14 Thread magnus . rydin

There is a beginners guide available at
www.orionserver.com/docs/beginners-guide.xml
That helps you get started with the Orion Application Server.

With regards,
Magnus Rydin

 -Ursprungligt meddelande-
 Från: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] För Krishnan, Sri
 Skickat: den 14 maj 2002 00:16
 Till: Orion-Interest
 Ämne: Orion and JSP
 
 
 Hi,
   I am trying to use jsp s with Orion. Can anyone let me know 
 how do I get the JSP compiled and displayed on the web 
 browser ?. I know that OC4J compiles the JSP, just could not 
 figure out how to get the orion do that.
 
 Thanks alot for your help
 Sri
 





Re: Orion and JSP

2002-05-14 Thread Joseph Ottinger

Well, you haven't said what Orion is telling you, but typically the first
thing you do is follow the installation instructions, every step of
them, which includes copying tools.jar to $ORION. That's alkl you have to
do. One wonders why the three steps are as complicated as they are.

-
Joseph B. Ottinger [EMAIL PROTECTED]
http://enigmastation.comIT Consultant

On Mon, 13 May 2002, Krishnan, Sri wrote:

 Hi,
   I am trying to use jsp s with Orion. Can anyone let me know how do I get
 the JSP compiled and displayed on the web browser ?. I know that OC4J
 compiles the JSP, just could not figure out how to get the orion do that.

 Thanks alot for your help
 Sri







Orion and JSP

2002-05-13 Thread Krishnan, Sri

Hi,
  I am trying to use jsp s with Orion. Can anyone let me know how do I get
the JSP compiled and displayed on the web browser ?. I know that OC4J
compiles the JSP, just could not figure out how to get the orion do that.

Thanks alot for your help
Sri





Re: Orion and JSP

2002-05-13 Thread Corey Graham

It's simple if you have Orion running successfully.

1.  In you orion's config directory you need to set up a web-app. 
 Usually you use  default-web-site.xml to do this.  For instance add a 
line like:

web-app application=bank name=/home/user/dev/pages 
root=/online-banking /

This holds your JSPs.

2.  Then you can set up an application in your server.xml where all of 
your java classes go,  (you may not need this just to get JSP's to 
work-I'm not sure):

application name=bank path=/home/user/dev/com /

3.  In the location you set up for your web-app in 
default-web-site.xml you need to put a WEB-INF directory that has a 
file called web.xml.  It doesn't have to be very complicated:

?xml version=1.0?
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 
2.3//EN http://java.sun.com/j2ee/dtds/web-app_2_3.dtd;

web-app
  display-nameOnline Banking Application/display-name
  descriptionOnline Banking Application/description

  welcome-file-list
welcome-fileindex.jsp/welcome-file
  /welcome-file-list
/web-app

4.  Finally, you must have a META-INF directory where you specified 
your application in step 2, and it has to have a file called 
application.xml:

?xml version=1.0?
!DOCTYPE application PUBLIC -//Sun Microsystems, Inc.//DTD J2EE 
Application 1.2//EN
http://java.sun.com/j2ee/dtds/application_1_2.dtd;

application

  display-nameOnline Banking Application/display-name

  module
web
  web-uri/home/user/dev/pages/web-uri
  context-root//context-root
/web
  /module

5.  Then just use your Orion default URL + the Root you specified 
earlier in step 1 in the form 
http://host_name:port_number/online-banking (if you use default 
port 80 then don't put the : and port number):

http://banking_server.com:8080/online-banking

it should load the index.jsp you specified in web.xml as a default 
home page!  Now just add pages, and change the URL to include a new page:

http://banking_server.com:8080/online-banking/CheckingAccount.jsp

It should load that new page.

Good luck,

Corey


Krishnan, Sri wrote:

Hi,
  I am trying to use jsp s with Orion. Can anyone let me know how do I get
the JSP compiled and displayed on the web browser ?. I know that OC4J
compiles the JSP, just could not figure out how to get the orion do that.

Thanks alot for your help
Sri


-- 
Corey J. Graham - Software Developer
Keystroke Technology Solutions
1511 3rd Ave.  Suite 700, Seattle, Wa 98101
(206) 576-4557







RE: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-05-02 Thread Manne Fagerlind

I get a 400 Bad Request on my Orion installation:
Win2k
sun jdk 1.3
Orion 1.4.5
 Has the bug been fixed between orion 1.4.1 and 1.4.5, Karl/Magnus/anyone!?

/Manne

-Original Message-
From: Rex McFarlin [mailto:[EMAIL PROTECTED]]
Sent: 02 May 2001 04:21
To: Orion-Interest
Subject: RE: Orion-based JSP bug -- The Case of the Exhibiting %00


Thanks. We are trying, but are running into other non-related issues (if I
remember correctly, they have to do with internationalization).

--Rex

| -Original Message-
| From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
| Sent: Monday, April 30, 2001 11:18 AM
| To: Orion-Interest
| Subject: Re: Orion-based JSP bug -- The Case of the Exhibiting %00
| 
| 
| This bug was reported and fixed a long time ago, you should upgrade!
| 
| On Mon, 30 Apr 2001, Rex McFarlin wrote:
| 
|  Can anyone help us solve a perplexing JSP bug? We have been 
| unsuccessful.
|   
|  If a %00 is attached to the end of a URL (as in,
|  http://localhost:8008/dcr/index.jsp%00
|  http://localhost:8008/dcr/index.jsp%00  ) to a JSP page 
| that is being
|  served by Orion server, the user receives, not the rendered 
| HTML page that
|  he or she might be expecting, but a textual output of the 
| raw JSP code for
|  that page. 
|   
|  We have found this to be true with the following configuration:
|  Orion 1.4.1
|  Win2K
|  JDK1.3
|   
|  Thank you,
|   
|  Rex McFarlin
|  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
|   
|  
| 
| 




RE: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-05-02 Thread Ray Harrison

The error for which this mail was originally posted has been fixed.
--- Manne Fagerlind [EMAIL PROTECTED] wrote:
 I get a 400 Bad Request on my Orion installation:
 Win2k
 sun jdk 1.3
 Orion 1.4.5
  Has the bug been fixed between orion 1.4.1 and 1.4.5, Karl/Magnus/anyone!?
 
 /Manne
 
 -Original Message-
 From: Rex McFarlin [mailto:[EMAIL PROTECTED]]
 Sent: 02 May 2001 04:21
 To: Orion-Interest
 Subject: RE: Orion-based JSP bug -- The Case of the Exhibiting %00
 
 
 Thanks. We are trying, but are running into other non-related issues (if I
 remember correctly, they have to do with internationalization).
 
 --Rex
 
 | -Original Message-
 | From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
 | Sent: Monday, April 30, 2001 11:18 AM
 | To: Orion-Interest
 | Subject: Re: Orion-based JSP bug -- The Case of the Exhibiting %00
 | 
 | 
 | This bug was reported and fixed a long time ago, you should upgrade!
 | 
 | On Mon, 30 Apr 2001, Rex McFarlin wrote:
 | 
 |  Can anyone help us solve a perplexing JSP bug? We have been 
 | unsuccessful.
 |   
 |  If a %00 is attached to the end of a URL (as in,
 |  http://localhost:8008/dcr/index.jsp%00
 |  http://localhost:8008/dcr/index.jsp%00  ) to a JSP page 
 | that is being
 |  served by Orion server, the user receives, not the rendered 
 | HTML page that
 |  he or she might be expecting, but a textual output of the 
 | raw JSP code for
 |  that page. 
 |   
 |  We have found this to be true with the following configuration:
 |  Orion 1.4.1
 |  Win2K
 |  JDK1.3
 |   
 |  Thank you,
 |   
 |  Rex McFarlin
 |  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 |   
 |  
 | 
 | 
 


__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




RE: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-05-01 Thread John Pletka

I can reproduct this bug on Orion 1.4.0 under win2k, Sun JDK 1.3.0

-Original Message-
From: Rex McFarlin [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 30, 2001 10:28 AM
To: Orion-Interest
Subject: Orion-based JSP bug -- The Case of the Exhibiting %00


Can anyone help us solve a perplexing JSP bug? We have been unsuccessful.
 
If a %00 is attached to the end of a URL (as in,
http://localhost:8008/dcr/index.jsp%00
http://localhost:8008/dcr/index.jsp%00  ) to a JSP page that is being
served by Orion server, the user receives, not the rendered HTML page that
he or she might be expecting, but a textual output of the raw JSP code for
that page. 
 
We have found this to be true with the following configuration:
Orion 1.4.1
Win2K
JDK1.3
 
Thank you,
 
Rex McFarlin
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 





Re: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-05-01 Thread Joseph B. Ottinger

I've replicated this bug in Orion 0.4.8b. I want this fixed NOW, as this is
a critical problem!

On Tue, May 01, 2001 at 12:53:56PM -0500, John Pletka wrote:
 I can reproduct this bug on Orion 1.4.0 under win2k, Sun JDK 1.3.0
 
 -Original Message-
 From: Rex McFarlin [mailto:[EMAIL PROTECTED]]
 Sent: Monday, April 30, 2001 10:28 AM
 To: Orion-Interest
 Subject: Orion-based JSP bug -- The Case of the Exhibiting %00
 
 
 Can anyone help us solve a perplexing JSP bug? We have been unsuccessful.
  
 If a %00 is attached to the end of a URL (as in,
 http://localhost:8008/dcr/index.jsp%00
 http://localhost:8008/dcr/index.jsp%00  ) to a JSP page that is being
 served by Orion server, the user receives, not the rendered HTML page that
 he or she might be expecting, but a textual output of the raw JSP code for
 that page. 
  
 We have found this to be true with the following configuration:
 Orion 1.4.1
 Win2K
 JDK1.3
  
 Thank you,
  
 Rex McFarlin
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  
 

-- 
---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://epesh.com/ IT Consultant




Re: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-05-01 Thread Jeff Hubbach

Joseph,

This IS fixed, and as was already posted to the list, just use a more recent
version of Orion. I run 1.4.5 and can't duplicate this problem.

Jeff.

Joseph B. Ottinger wrote:

 I've replicated this bug in Orion 0.4.8b. I want this fixed NOW, as this is
 a critical problem!

 On Tue, May 01, 2001 at 12:53:56PM -0500, John Pletka wrote:
  I can reproduct this bug on Orion 1.4.0 under win2k, Sun JDK 1.3.0
 
  -Original Message-
  From: Rex McFarlin [mailto:[EMAIL PROTECTED]]
  Sent: Monday, April 30, 2001 10:28 AM
  To: Orion-Interest
  Subject: Orion-based JSP bug -- The Case of the Exhibiting %00
 
 
  Can anyone help us solve a perplexing JSP bug? We have been unsuccessful.
 
  If a %00 is attached to the end of a URL (as in,
  http://localhost:8008/dcr/index.jsp%00
  http://localhost:8008/dcr/index.jsp%00  ) to a JSP page that is being
  served by Orion server, the user receives, not the rendered HTML page that
  he or she might be expecting, but a textual output of the raw JSP code for
  that page.
 
  We have found this to be true with the following configuration:
  Orion 1.4.1
  Win2K
  JDK1.3
 
  Thank you,
 
  Rex McFarlin
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 

 --
 ---
 Joseph B. Ottinger   [EMAIL PROTECTED]
 http://epesh.com/ IT Consultant

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com







RE: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-05-01 Thread Aaron Tavistock

Heh...  I think that Joseph was joking.  A particullar clue off is the fact
that he's one of the orionsupport people.  :)  But of course sarcasm does
carry well in email...

-Original Message-
From: Jeff Hubbach [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 01, 2001 3:26 PM
To: Orion-Interest
Subject: Re: Orion-based JSP bug -- The Case of the Exhibiting %00


Joseph,

This IS fixed, and as was already posted to the list, just use a more recent
version of Orion. I run 1.4.5 and can't duplicate this problem.

Jeff.

Joseph B. Ottinger wrote:

 I've replicated this bug in Orion 0.4.8b. I want this fixed NOW, as this
is
 a critical problem!

 On Tue, May 01, 2001 at 12:53:56PM -0500, John Pletka wrote:
  I can reproduct this bug on Orion 1.4.0 under win2k, Sun JDK 1.3.0
 
  -Original Message-
  From: Rex McFarlin [mailto:[EMAIL PROTECTED]]
  Sent: Monday, April 30, 2001 10:28 AM
  To: Orion-Interest
  Subject: Orion-based JSP bug -- The Case of the Exhibiting %00
 
 
  Can anyone help us solve a perplexing JSP bug? We have been
unsuccessful.
 
  If a %00 is attached to the end of a URL (as in,
  http://localhost:8008/dcr/index.jsp%00
  http://localhost:8008/dcr/index.jsp%00  ) to a JSP page that is being
  served by Orion server, the user receives, not the rendered HTML page
that
  he or she might be expecting, but a textual output of the raw JSP code
for
  that page.
 
  We have found this to be true with the following configuration:
  Orion 1.4.1
  Win2K
  JDK1.3
 
  Thank you,
 
  Rex McFarlin
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 

 --
 ---
 Joseph B. Ottinger   [EMAIL PROTECTED]
 http://epesh.com/ IT Consultant

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com







RE: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-05-01 Thread Jim Mallmann

Joseph,

Don't worry...your sarcasm isn't lost on all of us. :)

Jim

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Hubbach
Sent: Tuesday, May 01, 2001 5:26 PM
To: Orion-Interest
Subject: Re: Orion-based JSP bug -- The Case of the Exhibiting %00


Joseph,

This IS fixed, and as was already posted to the list, just use a more recent
version of Orion. I run 1.4.5 and can't duplicate this problem.

Jeff.

Joseph B. Ottinger wrote:

 I've replicated this bug in Orion 0.4.8b. I want this fixed NOW, as this
is
 a critical problem!

 On Tue, May 01, 2001 at 12:53:56PM -0500, John Pletka wrote:
  I can reproduct this bug on Orion 1.4.0 under win2k, Sun JDK 1.3.0
 
  -Original Message-
  From: Rex McFarlin [mailto:[EMAIL PROTECTED]]
  Sent: Monday, April 30, 2001 10:28 AM
  To: Orion-Interest
  Subject: Orion-based JSP bug -- The Case of the Exhibiting %00
 
 
  Can anyone help us solve a perplexing JSP bug? We have been
unsuccessful.
 
  If a %00 is attached to the end of a URL (as in,
  http://localhost:8008/dcr/index.jsp%00
  http://localhost:8008/dcr/index.jsp%00  ) to a JSP page that is being
  served by Orion server, the user receives, not the rendered HTML page
that
  he or she might be expecting, but a textual output of the raw JSP code
for
  that page.
 
  We have found this to be true with the following configuration:
  Orion 1.4.1
  Win2K
  JDK1.3
 
  Thank you,
 
  Rex McFarlin
  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 

 --
 ---
 Joseph B. Ottinger   [EMAIL PROTECTED]
 http://epesh.com/ IT Consultant

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com







RE: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-05-01 Thread Rex McFarlin

Thanks for the reply.

I wonder if it is related to Windows in some manner.

Clearly, Linux is a superior operating system. *wink*



We are trying to upgrade to a later version of Orion. I posted this issue in
Orion's Bugzilla and got a response back that it was an old bug related to
versions earlier than 1.4.5 (probably). We are having some other issues not
related to this, so don't know if it works, yet.

Rex

| -Original Message-
| From: Jeff Hubbach [mailto:[EMAIL PROTECTED]]
| Sent: Monday, April 30, 2001 1:34 PM
| To: Orion-Interest
| Subject: Re: Orion-based JSP bug -- The Case of the Exhibiting %00
| 
| 
| Rex,
| 
| I just tried to duplicate your situation, both with zeroes (yielded a
| 400 Bad Request) and capital o's (yielded a 404 Not Found). 
| I'm running
| Orion 1.4.5 on Red Hat 6.2 with Sun's JDK 1.3.
| 
| Jeff Hubbach.
| 
| Rex McFarlin wrote:
| 
|  Can anyone help us solve a perplexing JSP bug? We have been
|  unsuccessful.If a %00 is attached to the end of a URL (as in,
|  http://localhost:8008/dcr/index.jsp%00 ) to a JSP page that is being
|  served by Orion server, the user receives, not the rendered 
| HTML page
|  that he or she might be expecting, but a textual output of 
| the raw JSP
|  code for that page. We have found this to be true with the following
|  configuration:Orion 1.4.1Win2KJDK1.3Thank you,Rex
|  [EMAIL PROTECTED]
| 
| --
| Jeff Hubbach
| Internet Developer
| New Media Designs, Inc.
| www.nmd.com
| 
| 
| 
| 




RE: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-05-01 Thread Rex McFarlin

Thanks. We are trying, but are running into other non-related issues (if I
remember correctly, they have to do with internationalization).

--Rex

| -Original Message-
| From: Hani Suleiman [mailto:[EMAIL PROTECTED]]
| Sent: Monday, April 30, 2001 11:18 AM
| To: Orion-Interest
| Subject: Re: Orion-based JSP bug -- The Case of the Exhibiting %00
| 
| 
| This bug was reported and fixed a long time ago, you should upgrade!
| 
| On Mon, 30 Apr 2001, Rex McFarlin wrote:
| 
|  Can anyone help us solve a perplexing JSP bug? We have been 
| unsuccessful.
|   
|  If a %00 is attached to the end of a URL (as in,
|  http://localhost:8008/dcr/index.jsp%00
|  http://localhost:8008/dcr/index.jsp%00  ) to a JSP page 
| that is being
|  served by Orion server, the user receives, not the rendered 
| HTML page that
|  he or she might be expecting, but a textual output of the 
| raw JSP code for
|  that page. 
|   
|  We have found this to be true with the following configuration:
|  Orion 1.4.1
|  Win2K
|  JDK1.3
|   
|  Thank you,
|   
|  Rex McFarlin
|  [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
|   
|  
| 
| 




Orion-based JSP bug -- The Case of the Exhibiting %00

2001-04-30 Thread Rex McFarlin



Can anyone help us 
solve a perplexing JSP bug? We have been unsuccessful.

If a "%00" is 
attached to the end of a URL (as in, http://localhost:8008/dcr/index.jsp%00) 
to a JSP page that is being served by Orion server, the user receives, not the 
rendered HTML page that he or she might be expecting, but a textual output of 
the raw JSP code for that page. 

We have found this 
to be true with the following configuration:
Orion 
1.4.1
Win2K
JDK1.3

Thank 
you,

Rex 
McFarlin
[EMAIL PROTECTED]



Re: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-04-30 Thread Hani Suleiman

This bug was reported and fixed a long time ago, you should upgrade!

On Mon, 30 Apr 2001, Rex McFarlin wrote:

 Can anyone help us solve a perplexing JSP bug? We have been unsuccessful.
  
 If a %00 is attached to the end of a URL (as in,
 http://localhost:8008/dcr/index.jsp%00
 http://localhost:8008/dcr/index.jsp%00  ) to a JSP page that is being
 served by Orion server, the user receives, not the rendered HTML page that
 he or she might be expecting, but a textual output of the raw JSP code for
 that page. 
  
 We have found this to be true with the following configuration:
 Orion 1.4.1
 Win2K
 JDK1.3
  
 Thank you,
  
 Rex McFarlin
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
  
 





RE: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-04-30 Thread Aaron Tavistock



Doesn't happen for me on Orion 1.4.8, Jdk1.3, Redhat 
Linux 7.1

  -Original Message-From: Rex McFarlin 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, April 30, 2001 8:28 
  AMTo: Orion-InterestSubject: Orion-based JSP bug -- The 
  Case of the Exhibiting %00
  Can anyone help 
  us solve a perplexing JSP bug? We have been unsuccessful.
  
  If a "%00" is 
  attached to the end of a URL (as in, http://localhost:8008/dcr/index.jsp%00) 
  to a JSP page that is being served by Orion server, the user receives, not the 
  rendered HTML page that he or she might be expecting, but a textual output of 
  the raw JSP code for that page. 
  
  We have found 
  this to be true with the following configuration:
  Orion 
  1.4.1
  Win2K
  JDK1.3
  
  Thank 
  you,
  
  Rex 
  McFarlin
  [EMAIL PROTECTED]
  


Re: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-04-30 Thread Jeff Hubbach

Rex,

I just tried to duplicate your situation, both with zeroes (yielded a
400 Bad Request) and capital o's (yielded a 404 Not Found). I'm running
Orion 1.4.5 on Red Hat 6.2 with Sun's JDK 1.3.

Jeff Hubbach.

Rex McFarlin wrote:

 Can anyone help us solve a perplexing JSP bug? We have been
 unsuccessful.If a %00 is attached to the end of a URL (as in,
 http://localhost:8008/dcr/index.jsp%00 ) to a JSP page that is being
 served by Orion server, the user receives, not the rendered HTML page
 that he or she might be expecting, but a textual output of the raw JSP
 code for that page. We have found this to be true with the following
 configuration:Orion 1.4.1Win2KJDK1.3Thank you,Rex
 [EMAIL PROTECTED]

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com







RE: Orion-based JSP bug -- The Case of the Exhibiting %00

2001-04-30 Thread Kesav Kumar



Orion1.4.7
jdk1.3
winNT

400 Bad 
Request

Kesav Kumar Software Engineer Voquette, Inc. 650 356 3740 mailto:[EMAIL PROTECTED] 
http://www.voquette.com Voquette...Delivering Sound Information 


  -Original Message-From: Rex McFarlin 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, April 30, 2001 8:28 
  AMTo: Orion-InterestSubject: Orion-based JSP bug -- The 
  Case of the Exhibiting %00
  

  Can anyone 
  help us solve a perplexing JSP bug? We have been 
  unsuccessful.
  
  If a "%00" is 
  attached to the end of a URL (as in, http://localhost:8008/dcr/index.jsp%00) 
  to a JSP page that is being served by Orion server, the user receives, not 
  the rendered HTML page that he or she might be expecting, but a textual 
  output of the raw JSP code for that page. 
  
  We have found 
  this to be true with the following configuration:
  Orion 
  1.4.1
  Win2K
  JDK1.3
  
  Thank 
  you,
  
  Rex 
  McFarlin
  [EMAIL PROTECTED]
  


RE: weird Orion 1.4.4 JSP bug

2000-12-15 Thread Joe Walnes

As well as what Scott pointed out,

This is invalid:

webwork:param name="name" value=webwork:property name="$user"/ /

... as custom tags cannot contain other custom tags within attributes.

Try something like:

webwork:param name="name" value="%= something %" /

(Scriptlets are allowed inside attributes - also, remember quotes).



And...

You may have problems with this:

 !-- webwork:include page="/request.jsp" --

...as JSP will still interpret the tag... the result will just be in HTML 
comments. In order to stop JSP ignoring this tag, try:

 %-- webwork:include page="/request.jsp" --%



-Joe Walnes

At 17:03 15/12/2000 +1100, you wrote:
AFAIK you cannot close a tag with parameters:

/webwork:isnotnull name="$name"

Try without the parameter
-Original Message-
From: Hristo Stoyanov [mailto:[EMAIL PROTECTED]]
Sent: Friday, 15 December 2000 11:51
To: Orion-Interest
Subject: weird Orion 1.4.4 JSP bug


Hi-,
It looks like The Orion 1.4.4 code generator
for jsps has an error. First, here is the JSP itsel
and below is the error message
=JSP page=
%@ taglib uri="webwork" prefix="webwork" %

!-- webwork:include page="/request.jsp" --

webwork:notexists name="$name"
 webwork:isnotnull name="$name"
 webwork:include page="/template/standard/text.jsp"
 
 webwork:param name="label" value="User
name:"/
 webwork:param name="name"
value=webwork:property name="$user"/ /
 /webwork:include

 webwork:include
page="/template/standard/password.jsp" 
 webwork:param name="label"
value="Password:"/
 webwork:param name="name"  value=""/
 webwork:param name="size"  value="10"/
 webwork:param name="maxlength" value="15"/
 /webwork:include
 /webwork:isnotnull name="$name"
/webwork:notexists





Error message==
Error parsing JSP page /webapp/login.jsp

Syntax error in source/login_content.jsp.java:44:
'while' expected.
 }
 ^
/login_content.jsp.java:45: 'catch' without 'try'.
 catch(Exception __jspE2)
 ^
/login_content.jsp.java:57: 'try' without 'catch' or
'finally'.
}
  ^
/login_content.jsp.java:57: '}' expected.
}
  ^
4 errors



__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/





weird Orion 1.4.4 JSP bug

2000-12-14 Thread Hristo Stoyanov

Hi-,
It looks like The Orion 1.4.4 code generator
for jsps has an error. First, here is the JSP itsel
and below is the error message
=JSP page=
%@ taglib uri="webwork" prefix="webwork" %

!-- webwork:include page="/request.jsp" --

webwork:notexists name="$name"
webwork:isnotnull name="$name"
webwork:include page="/template/standard/text.jsp"

 webwork:param name="label"value="User name:"/
 webwork:param name="name" 
value=webwork:property name="$user"/ /
/webwork:include

webwork:include
page="/template/standard/password.jsp" 
 webwork:param name="label"value="Password:"/
 webwork:param name="name" value=""/
 webwork:param name="size" value="10"/
 webwork:param name="maxlength"value="15"/
/webwork:include
/webwork:isnotnull name="$name"
/webwork:notexists





Error message==
Error parsing JSP page /webapp/login.jsp

Syntax error in source/login_content.jsp.java:44:
'while' expected.
}
 ^
/login_content.jsp.java:45: 'catch' without 'try'.
catch(Exception __jspE2)
^
/login_content.jsp.java:57: 'try' without 'catch' or
'finally'.
}
 ^
/login_content.jsp.java:57: '}' expected.
}
 ^
4 errors



__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/




RE: weird Orion 1.4.4 JSP bug

2000-12-14 Thread Scott Farquhar

AFAIK you cannot close a tag with parameters:

/webwork:isnotnull name="$name"

Try without the parameter
-Original Message-
From: Hristo Stoyanov [mailto:[EMAIL PROTECTED]]
Sent: Friday, 15 December 2000 11:51
To: Orion-Interest
Subject: weird Orion 1.4.4 JSP bug


Hi-,
It looks like The Orion 1.4.4 code generator
for jsps has an error. First, here is the JSP itsel
and below is the error message
=JSP page=
%@ taglib uri="webwork" prefix="webwork" %

!-- webwork:include page="/request.jsp" --

webwork:notexists name="$name"
webwork:isnotnull name="$name"
webwork:include page="/template/standard/text.jsp"

 webwork:param name="label"value="User
name:"/
 webwork:param name="name" 
value=webwork:property name="$user"/ /
/webwork:include

webwork:include
page="/template/standard/password.jsp" 
 webwork:param name="label"
value="Password:"/
 webwork:param name="name" value=""/
 webwork:param name="size" value="10"/
 webwork:param name="maxlength"value="15"/
/webwork:include
/webwork:isnotnull name="$name"
/webwork:notexists





Error message==
Error parsing JSP page /webapp/login.jsp

Syntax error in source/login_content.jsp.java:44:
'while' expected.
}
 ^
/login_content.jsp.java:45: 'catch' without 'try'.
catch(Exception __jspE2)
^
/login_content.jsp.java:57: 'try' without 'catch' or
'finally'.
}
 ^
/login_content.jsp.java:57: '}' expected.
}
 ^
4 errors



__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/




Orion 1.2 JSP Samples

2000-08-22 Thread Willy Gielen

I downloaded and installed Orion 1.2.0 on a Suse 6.4 Linux machine with JDK
1.2.2 and have the following problem:
When I start the server, it tells me that it cannot find the WEB-INF/web.xml
file for initializing the default web site.
The directory structure on Linux is case sensitive, and there is a web-inf
directory in the default-web-app tree. When I rename it to WEB-INF, the
server initializes fine, but when I try to run the JSP samples, it cannot
find its classes.

Am I doing something wrong here? The installation of 1.3.XX on another
machine worked fine.

Thanks,
Willy


Quintessence Consulting GmbH, Willy Gielen - [EMAIL PROTECTED]
Wieselweg 10, 30900 Wedemark
Tel. +49 (5130) 5888-21 - Fax: +49 (5130) 5888-58
Homepage: http://www.quintessence.net