Re: Urgent JSP Help Needed!

2003-07-31 Thread Dharmendra Sharan
Hi Michael,

  Your function/method signatures do not have the access specifiers, try using 
"public" and/or as the case may be.

  for eg.

  String search(HttpServletRequest req) {

  ought to be something like :-

  public String search(HttpServletRequest req) {

  Hope this helps,

  Regards,

  Dharmendra

ps: have a nice day!
-Original Message-
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED] Behalf Of Michael Rogan
Sent: Tuesday, July 29, 2003 4:27 PM
To: [EMAIL PROTECTED]
Subject: Re: Urgent JSP Help Needed!


The listing is below.  Thanks to anyone that can help!

> > Show us the exact listing of the first 2-3 compile errors.  The
> > properties file is not necessary.

62. String search(HttpServletRequest req) {
<>

*** Syntax: ; expected instead of this token



62. String search(HttpServletRequest req) {
<>

*** Syntax: ; expected instead of this token



128. String subst( HttpServletRequest req, final String original, final String path)
<>

*** Syntax: ; expected instead of this token



128. String subst( HttpServletRequest req, final String original, final String path)
<>

*** Syntax: ; expected instead of this token

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Servlet examples dont work

2003-07-31 Thread Martin Gainty
After installing TOMCAT 
Servlet examples do not work

Any advice??

Thanks,

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Servlet examples dont work

2003-07-31 Thread Yee, Richard K,,DMDCWEST
Martin,
Examine the log files. Provide more information in your email.

Regards,

Richard Yee



-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 31, 2003 9:26 PM
To: [EMAIL PROTECTED]
Subject: Servlet examples dont work


After installing TOMCAT
Servlet examples do not work

Any advice??

Thanks,

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set
JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


Re: Servlet examples dont work

2003-07-31 Thread Martin Gainty
Reinstalled
All better

-M

Man1: When I grow up I want a Govt Job
Man2: Why a govt job?
Man1: I dont speak Arabic
- Original Message -
From: "Yee, Richard K,,DMDCWEST" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 31, 2003 6:28 PM
Subject: Re: Servlet examples dont work


> Martin,
> Examine the log files. Provide more information in your email.
>
> Regards,
>
> Richard Yee
>
>
>
> -Original Message-
> From: Martin Gainty [mailto:[EMAIL PROTECTED]
> Sent: Thursday, July 31, 2003 9:26 PM
> To: [EMAIL PROTECTED]
> Subject: Servlet examples dont work
>
>
> After installing TOMCAT
> Servlet examples do not work
>
> Any advice??
>
> Thanks,
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
>  http://java.sun.com/products/jsp
> http://archives.java.sun.com/jsp-interest.html
>  http://forums.java.sun.com
>  http://www.jspinsider.com
>
>
===
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
>
> Some relevant archives, FAQs and Forums on JSPs can be found at:
>
>  http://java.sun.com/products/jsp
>  http://archives.java.sun.com/jsp-interest.html
>  http://forums.java.sun.com
>  http://www.jspinsider.com
>

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com


rendering element of a Map stored in applicationScope

2003-07-31 Thread Budi Rostiarso
Hi guys, need help understanding this following issue:
i want to render value of a Map element with the Map object stored in
applicationScope. From various reading, i discover a way to do it with
something like ${object[key]} (for later usage, lets call this syntax
"A").

Now, for objects stored in page scope, i've tried syntax A above, and
the result came up valid. But if the object is stored in
applicationScope, the taglib wouldn't render the value, seems to me that
it can't find the object. It can only render correctly after i change
the syntax using ${applicationScope["objectName"][key]} ( i'll call it
"B").\
This is quite confusing for me :)

In line 4, (Please check out my code snippet below), if i use "B", valid
result. But using syntax "A", nothing happen, empty result.
But once the object is copied to pageScope, (right after line 6 using
struts, or line 10 using jstl) with a new name, the object can be render
by using syntax "A" (in line 7 or 11).

Ok, i hope you all understand my problem definition above :)

So, my question is, for Map objects in applicationScope, why does syntax
"A" doesn't work, and only syntax "B" gives correct result, while for
Map objects in pageScope we can do it either way?

Second question, is there any jstl forum/mailing list out there?


here goes the jsp snippet:


---
1: 

2: 
3: 

4: 
5: 


6: 
7: 


8: 
9: 


10: 
11: 



and the html result:

1: {= , M=Medium, S=Strong, W=Weak}
2: 
3: {= , M=Medium, S=Strong, W=Weak}
4: Strong
5: 
6: {= , M=Medium, S=Strong, W=Weak}
7: Strong
8: 
9: 
10: {= , M=Medium, S=Strong, W=Weak}
11: Strong



Thanks in advance


.bdR.

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".

Some relevant archives, FAQs and Forums on JSPs can be found at:

 http://java.sun.com/products/jsp
 http://archives.java.sun.com/jsp-interest.html
 http://forums.java.sun.com
 http://www.jspinsider.com