accessing the .java file from .jsp file in Eclipse -


in eclipse ide how can access java class .jsp accessing servlet jsp file ? in other word, should replace question marks "????????"

<form name="myform" action="???????????????" method="post"> </form> 

when run engine.java file "mypackage" package tomcat application servers shows address in address bar.

http://localhost:8080/rouyesh/servlet/mypackage.engine 

anybody can please?

you'll need use whatever path relative current url is, or absolute path, files. might prudent @ point investigate web framework, however, before destroy product insanity :p.


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -