Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Not recognizing request. variables

Status
Not open for further replies.

WorkerBeeJ

Programmer
Aug 6, 2002
34
US
I'm very new to coldfusion, so this should be an easy one. I'm importing a template which contains the definition for a method that defines a variable Request.isTestServer(). When I hit the page, I know that template is getting loaded, but I'm getting an error:

Detail: Method isTestServer could not be found. Check you have correct method name, the method name casing matches that of the Java class and you've provided the correct number of arguments.

When I try to get around that and hardcode what I want, I'm erring out on the next Request. variable reference. Anyone know what I'm doing wrong?
 
what does your code look like...

Just a Premature thought. Your variables do not exist on that page.

request is not a persistanct scope. so if you set the variable on one page it will not automatically be there on the next page.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top