quale funzione mi restituisce in jsp il nome della pagina dove mi trovo?
quale funzione mi restituisce in jsp il nome della pagina dove mi trovo?
<%out.println(request.getServletPath());%>
?
I don't wanna have to shout it out / I don't want my hair to fall out
I don't wanna be filled with doubt / I don't wanna be a good boy scout
I don't wanna have to learn to count / I don't wanna have the biggest amount
I don't wanna grow up
C:\Programmi\Apache Software Foundation\Tomcat 5.0\work\Catalina\localhost\REF\org\apache\jsp\Ses sioni\SchedaSessione_jsp.java:49: cannot resolve symbol
symbol : variable request
location: class org.apache.jsp.Sessioni.SchedaSessione_jsp.SchedaS essionePageHandler
System.out.println(request.getServletPath());
^
1 error
????
Ma stai compilando una jsp ??? :master:
I don't wanna have to shout it out / I don't want my hair to fall out
I don't wanna be filled with doubt / I don't wanna be a good boy scout
I don't wanna have to learn to count / I don't wanna have the biggest amount
I don't wanna grow up
ho inserito quel codice in un generatore di codice, codecharge, serve a separare jsp da html e poi ti permette di personalizzare il codice.
lui usa delle classi sue
www.codecharge.com
magari mi maschera le funzioni normali di jsp o qualcosa del genere