aspose file tools*
The moose likes JSP and the fly likes Error in jsp when making jstl change Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Error in jsp when making jstl change" Watch "Error in jsp when making jstl change" New topic
Author

Error in jsp when making jstl change

dhaval tamboli
Greenhorn

Joined: Aug 02, 2010
Posts: 25
Hi,

It seems very stupid and annoying error I am getting.
I have one jsp page which already uses jstl.

now if i add any new jstl variable or new condition. whole layout of jsp page gets mess.
I'm using jstl1.0.

I'm not sure what might be the problem and what may cause it. e.g. adding messes my jsp page.
did anybody face this kind of problem?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61774
    
  67

Just the addition of that tag will have no effect on the HTML and therefore the layout of the page. However, is there code later in the page that does something differently based upon the setting of that scoped variable?

Also, have you compared the rendered HTML in each case to see what has changed? That could give you a clue to the cause of the issue.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61774
    
  67

JSTL 1.0? Why? If you are not using an ancient version of a servlet container (such as Tomcat 4), you should be using the compatible version of JSTL.
dhaval tamboli
Greenhorn

Joined: Aug 02, 2010
Posts: 25
How would I know, which is compatible version of jstl? i'm using JRun4 as server
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61774
    
  67

What version of the servlet and JSP specifications is supported? If you don't know, then you need to find out before doing anything else.
dhaval tamboli
Greenhorn

Joined: Aug 02, 2010
Posts: 25
yeah, i need to keep jstl1.0
servlet:2.3 and jsp:1.2
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61774
    
  67

Why are you using such an antiquated container?

In any case, what're the answers to my other questions?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in jsp when making jstl change