Thanks Taha.

I was using SeleniumTestCase. After investigation, I found the Tomcat6Runner doesn't support jsp. it doesn't include the wrapper for jsp servlet nor the mapping for *.jsp. I created a new runner based on it and now it's working.

于 2013/2/20 0:36, Taha Siddiqi 写道:
Hi

You should be able to use SeleniumTestCase for testing jsp. If it is not 
working I would look into the jetty configuration for jsp e.g. 
http://wiki.eclipse.org/Jetty/Howto/Configure_JSP

For configuring JNDI in jetty, you have to use the jetty.xml under the 
/WEB-INF/web directory.

http://wiki.eclipse.org/Jetty/Howto/Configure_JNDI_Datasource

regards
Taha


On Feb 19, 2013, at 9:43 PM, Rural Hunter wrote:

Hi,

Does the |SeleniumTestCase support to test jsp? I just created a testng suite 
and when I tried to test a jsp, the test class just got the jsp source not the 
generated/compiled html file. I used tomcat6 as the test servlet container 
because we use tomcat in both dev/prod environment and jetty doesn't read the 
JNDI info in META-INFO/context.xml.
|

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to