Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2007

Tip: Looking for answers? Try searching our database.

Identifier Expected Error in JSP page

Thread view: 
jiali2121@yahoo.com - 29 Jun 2007 03:08 GMT
Hello,

I have a war file that when I deploy on one server works, however on
another server I am getting an Identifier Expected error on this
function
public List<String> func()

The error is saying that it is expecting a variable instead of
<String.  Is this an issue with Java 1.5 not being configured on that
machine?

Thanks for any help you can provide.  I am using GoDaddy as a provider
and it works on their shared host but when I got a virtual dedicated
host and deployed the war file this is what I'm getting.  I also got
their service plan which prevents me from lookin at the server...  I
can't ssh in.

Thank you for any help you can provide.

-Jia
Roedy Green - 29 Jun 2007 03:46 GMT
>I have a war file that when I deploy on one server works, however on
>another server I am getting an Identifier Expected error on this
>function
>public List<String> func()

See http://mindprod.com/applets/wassup.html
and http://mindprod.com/jgloss/properties.html
to learn about system properties, in particular java.version.

Then you can dump out what version you are running in a tiny test app.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.