File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes one jsp problem in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "one jsp problem in struts" Watch "one jsp problem in struts" New topic
Author

one jsp problem in struts

dennis deng
Ranch Hand

Joined: Nov 07, 2001
Posts: 42
hi, guys, i found a very strange things in struts. Following is JSP code seg.
<card id="Nec_seg<%=filenumber_bean.intValue()+1%>"title="END"> // this is ok
<card id="Nec_seg<jsp:expression>filenumber_bean.intValue()+1</jsp:expression>"title="END">//this is wrong!!!
BTW , filenumber_bean is a Integer object in request scope.
Did struts not support XML view JSP expression?
Thanks alot.


Sun Certificated JAVA Programmer(SCJP)<br />Sun Certificated JAVA Developer(SCJD)<br />Sun Certified Web Component Developer(SCWCD)
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4419
    
    5

I doubt that Struts is the culprit here. Have you checked if <jsp:expression> works in a jsp that doesn't use struts tags?


Junilu - [How to Ask Questions] [How to Answer Questions]
dennis deng
Ranch Hand

Joined: Nov 07, 2001
Posts: 42
Thanks Junilu.. I will check it.
Does someone else know some hints on this problem?
Ted Husted
Author
Ranch Hand

Joined: Dec 02, 2002
Posts: 37
It's not clear what this has to do with Struts. The framework bundles a set of JSP tags that people find useful, but the tags are generally well behaved.
-Ted.


<a href="http://husted.com/struts/book.html" target="_blank" rel="nofollow">Struts in Action</a>
dennis deng
Ranch Hand

Joined: Nov 07, 2001
Posts: 42
Thanks Ted.. Does someone else know some hints on this problem?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: one jsp problem in struts
 
Similar Threads
q on JSP std actions
XML syntax for jsp
<jsp:expression>
Struts2_Ajax tags not working
How convert into struts html select clause