Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JSP Interest »

Re: Urgent JSP Help Needed!

Dharmendra Sharan

2003-07-31


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:JSP-INTEREST@(protected)
Sent: Tuesday, July 29, 2003 4:27 PM
To: JSP-INTEREST@(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 listserv@(protected)".
For digest: mailto listserv@(protected)".

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 listserv@(protected)".
For digest: mailto listserv@(protected)".

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


©2008 junlu.com - Jax Systems, LLC, U.S.A.