Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Why following is not working

tom tom

2007-03-19

Replies:

Hi,

Can some body let me know why following is not working

<s:a href="<s:url action="myInfor.studentProfile"/>">
             <span id="blue">
              Personal Details
            </span>
</s:a>

can't we have <s:a href like this. but this works with
<a href="<s:url action="myInfor.studentProfile"/>">
             <span id="blue">
              Personal Details
            </span>
        </a>


I know that I can use above, but also want to know why
<s:a is not working.

What am I missing



Log it says the following

at
     
org.apache.struts2.portlet.dispatcher.Jsr168Dispatcher.serviceAction (Jsr168Dispatcher.java:427)
       ... 25 more Caused by:
org.apache.jasper.JasperException:
       /jsp/myDetails/myProfileInitial.jsp(29,51)
equal symbol
       expected at        
org.apache.jasper.compiler.DefaultErrorHandler.jspError (DefaultErrorHandler.java:39)
       at
     
org.apache.jasper.compiler.ErrorDispatcher.dispatch (ErrorDispatcher.java:405)
       at
     
org.apache.jasper.compiler.ErrorDispatcher.jspError (ErrorDispatcher.java:86)






____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.