Meaningless Drivel is fun!*
The moose likes IDEs, Version Control and other tools and the fly likes Need Help:Code running file with IDE but Gives Exception while running from build Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Need Help:Code running file with IDE but Gives Exception while running from build" Watch "Need Help:Code running file with IDE but Gives Exception while running from build" New topic
Author

Need Help:Code running file with IDE but Gives Exception while running from build

Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1268


Getting below exception while running code below...didn't get it...it is working fine wtih IDE but when I try to run from it build it is showing below exception on page load please help me out...

:JAVA CODE :



::Exception::



No Kaustubh No Fun, Know Kaustubh Know Fun..
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3056
    
  33

Looks like you are entering a "" qouted value in the JSP/html


Mohamed Sanaulla | My Blog
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1268

Yup on my JSP i m getting value through a expression like showing below may be this is generating problem ..how to fix it bro?

Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3056
    
  33

You would have to escape the extra strings:

You can try using value='<% %> '
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1268

Giving error :

= symbol expected....?
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3056
    
  33

I meant-
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1268

mohamed sanaullah wrote:You would have to escape the extra strings:

You can try using value='<% %> '


Sorry forget to put it in a ' ' symbol ...Actually from it this problem is solved ..but it creates an another problem from me...

My scenario is:

When ever a user login sucessfully in the system, a unique UID is associated with him .. Now when this user goes for a search ..
it show the cases created by him plus cases by other.. Now my job is to show error when he opens other's cases and cases open sucessfully when he open cases created by him for that I used the below logic on my JSP(I am lil weak with JSP side)...





it says when user UID is equal to the UID of the person who login then is how the view button which opens the case otherwise the button which shows error will be visible...

Please help me out ...
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1268

mohamed sanaullah wrote:I meant-


wooooooooooo hurry

it is working da....

Thanks man ...
Really appritiate your help ...
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3056
    
  33

Great that you got it working.
Kaustubh G Sharma
Ranch Hand

Joined: May 13, 2010
Posts: 1268

finally I am
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need Help:Code running file with IDE but Gives Exception while running from build
 
Similar Threads
jasper report need help
jasper report help
Export multiple files
Bean's value is not setting on submit press
could not load the select box during pageload.