arnaldo silveira wrote:I understand it's not a good practice, but it takes a lot because I'm doing some studies.
I don't know what you mean by this. If are just learning JSP, it is in your own best interest to learn how to write JSPs using good practices and avoid building bad habits at the outset.
arnaldo silveira wrote:hi,
I can pass a value from a jsp to a class without using servlet?
I need to send that value to a class I do not want to use servlet
Not sure I understand why you are having a problem here...although using scriptlet code in JSP's is inadvisable, you can put any Java code you want to in a scriptlet. You have the whole java library at your disposal between those little <% and %> tags...you aren't limited to using only classes in the servlet/jsp API's or anything. Just instantiate an instance of the class whos method you want to call and pass the string to it...