Win a copy of Spring Boot in Practice this week in the Spring forum!

vibhu garg

Greenhorn
+ Follow
since Dec 28, 2005
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by vibhu garg

Is it possible in Hibernate to Map one Java to Two different tables in Database?
I don't think you can stop the JVM from randomly generating the next value different from the previous ones........because JVM doesn't store which values it has already generated in a range.......

Though you can control it, & put the random values in a Set..this way you can ensure that values are not duplicated........
16 years ago
This is a pretty first level error in java....
You have defined the variable name,add....etc... in the upper block & variables in once block are not accessible in the outside block.......

When you are trying to access them outside their scope .....compiler is unable to find them & thus the error that can not resolve symbol name, add.......
Error is in the lines

<input type = "text" name = "name" value= "<%= name%>"
<input type = "text" name = "add" value= "<%= add%>"

You can't access name & add variable here........
[ January 05, 2006: Message edited by: vibhu garg ]
16 years ago
JSP
This exception comes when the Response Object has already been inititiated in your JSP.

while using the Include Action directive, response object should be first sent to this Included "ErrorDetails.do" page.
You must be modified the response object before calling this "ErrorDetails.do" page.

& hence the error is that Response is already committed....

[ December 28, 2005: Message edited by: vibhu garg ]
[ December 28, 2005: Message edited by: vibhu garg ]
16 years ago
JSP